public class HostedServiceEntity extends ServiceEntity
ORGANIZATION, PARENT| Constructor and Description |
|---|
HostedServiceEntity(DirectoryObject service)
Constructs a HostedServiceEntity with a DirectoryObject.
|
HostedServiceEntity(HostedService service)
Constructs a HostedServiceEntity with a value object.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceEntity |
getConcreteService()
Returns the concrete service of the hosted service, this
entity will proxy (i.e., NTDomain, Solaris, etc.).
|
ServiceProfile |
getHostedServiceProfile()
Returns the profile that identifies the type of concrete service this
entity will proxy (i.e., NTDomain, Solaris, etc.).
|
create, create, getAccessInfo, getAccountTable, getConcreteServiceProfile, getHostedServices, getOrganization, getOwner, getOwnerObject, getOwners, getPrerequisites, hasHostedService, removeHostedServices, setOwner, setOwner, setPrerequisites, updateequals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, updatepublic HostedServiceEntity(HostedService service)
service - HostedServiceEntity object holding the attributes of the
hosted service. Note: the object must have the name of
the profile identifying the type of concrete service this
entity will proxy (i.e., NTDomain, Solaris, etc.).public HostedServiceEntity(DirectoryObject service)
service - DirectoryObject holding the attributes of the
hosted service. Note: the object must have the name of
the profile identifying the type of concrete service this
entity will proxy (i.e., NTDomain, Solaris, etc.).public ServiceProfile getHostedServiceProfile() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
related profile. This may be due to a data integrity problem.public ServiceEntity getConcreteService() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
concrete service. This may be due to a data integrity problem.