public class PageServiceScopeAPI
extends java.lang.Object
Constructor and Description |
---|
PageServiceScopeAPI() |
Modifier and Type | Method and Description |
---|---|
void |
copy(oracle.webcenter.framework.service.Scope source,
oracle.webcenter.framework.service.Scope target,
CopyOptions options)
Copy all the information stored for a Service in the source Scope to the
target Scope this includes all metadata and data with necessary updates
made to reflect the target Scope.
|
boolean |
isConfigured() |
boolean |
isProvisioned(oracle.webcenter.framework.service.Scope scope)
Get whether the Service has been provisioned for the supplied Scope.
|
boolean |
isReadOnly(oracle.webcenter.framework.service.Scope scope)
Get whether the Service is read only for the the supplied Scope.
|
void |
provision(oracle.webcenter.framework.service.Scope scope,
java.lang.String scopeDisplayName)
Make the Service available in the supplied Scope by seeding any metadata
and data.
|
void |
rename(oracle.webcenter.framework.service.Scope source,
oracle.webcenter.framework.service.Scope target)
Change the name of a Scope used by the Service.
|
void |
setReadOnly(oracle.webcenter.framework.service.Scope scope,
boolean readOnly)
Set whether the Service is read only within the supplied Scope.
|
void |
unprovision(oracle.webcenter.framework.service.Scope scope)
Makes a Service unavailable in the supplied Scope by removing all data
and metadata.
|
void |
updateSecurityHierarchy(oracle.webcenter.framework.service.Scope scope,
java.util.Collection<oracle.webcenter.framework.service.Scope> children) |
public void provision(oracle.webcenter.framework.service.Scope scope, java.lang.String scopeDisplayName) throws CommandException
scope
- Scope to provision the Service forscopeDisplayName
- the display used for the ScopeCommandException
public void unprovision(oracle.webcenter.framework.service.Scope scope) throws CommandException
scope
- Scope to unprovision the Service forCommandException
public boolean isProvisioned(oracle.webcenter.framework.service.Scope scope) throws CommandException
scope
- the Scope to check if the Service is provisioned fortrue
if the Service is provisioned;
false
otherwiseCommandException
public void copy(oracle.webcenter.framework.service.Scope source, oracle.webcenter.framework.service.Scope target, CopyOptions options) throws CommandException
source
- the source Scopetarget
- the target ScopeCommandException
public void rename(oracle.webcenter.framework.service.Scope source, oracle.webcenter.framework.service.Scope target) throws CommandException
source
- the source Scopetarget
- the target ScopeCommandException
public void setReadOnly(oracle.webcenter.framework.service.Scope scope, boolean readOnly) throws CommandException
scope
- Scope to set read only state of Service forreadOnly
- true
to make the Service read only for the
Scope; false
otherwiseCommandException
public boolean isReadOnly(oracle.webcenter.framework.service.Scope scope) throws CommandException
scope
- Scope to get read only state of Service fortrue
to make the Service read only for the Scope;
false
otherwiseCommandException
public boolean isConfigured()
public void updateSecurityHierarchy(oracle.webcenter.framework.service.Scope scope, java.util.Collection<oracle.webcenter.framework.service.Scope> children) throws CommandException
CommandException