public interface ServicesAPI
Modifier and Type | Method and Description |
---|---|
void |
copy(java.lang.String serviceId, java.lang.String srcPortalName, java.lang.String tgtPortalName, boolean copyAll)
Copies a services from one portal to another, optionally including all of the service's contents.
|
java.util.List<oracle.webcenter.framework.service.Service> |
getConfiguredServices()
Gets the list of configured services.
|
java.util.List<java.lang.String> |
getLazilyProvisionedServices()
The list of services, identified by service id, which support lazy provisioning.
|
boolean |
isMailService(java.lang.String serviceId)
Returns true if serviceId corresponds to the mail service.
|
boolean |
isProvisioned(java.lang.String serviceId, java.lang.String portalName)
Returns the status of a Service's provisionment within a Portal.
|
void |
provision(java.lang.String serviceId, java.lang.String portalName)
Provisions a service for a specific Portal.
|
void |
provisionMailService(java.lang.String target)
Provisions the mail service on a separate thread.
|
void |
unprovision(java.lang.String serviceId, java.lang.String portalName)
Unprovisions a service for a specific Portal.
|
java.util.List<oracle.webcenter.framework.service.Service> getConfiguredServices()
boolean isProvisioned(java.lang.String serviceId, java.lang.String portalName)
serviceId
- The service Id to be checked.portalName
- The name of the Portal whose services are to be checkedvoid provision(java.lang.String serviceId, java.lang.String portalName)
serviceId
- The id of the service to provision.portalName
- The name of the Portal to have a service provisioned to it.void unprovision(java.lang.String serviceId, java.lang.String portalName)
serviceId
- The id of the service to unprovision.portalName
- The name of the Portal to have a service provisioned to it.void copy(java.lang.String serviceId, java.lang.String srcPortalName, java.lang.String tgtPortalName, boolean copyAll)
serviceId
- the service to be copied.srcPortalName
- the source portal (scope) to be copied from.tgtPortalName
- the target portal (scope) to be copied to.copyAll
- true if the service should be requested to copy all of its contents, else the service is requested to copy its structure.java.util.List<java.lang.String> getLazilyProvisionedServices()
boolean isMailService(java.lang.String serviceId)
serviceId
- a service id.void provisionMailService(java.lang.String target)
target
- the target portal to provision the mail service for.