com.ibm.itim.dataservices.model.domain
Class HostedServiceEntity

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryObjectEntity
      extended by com.ibm.itim.dataservices.model.domain.ServiceEntity
          extended by com.ibm.itim.dataservices.model.domain.HostedServiceEntity
All Implemented Interfaces:
com.ibm.itim.util.Sortable, java.io.Serializable

public class HostedServiceEntity
extends ServiceEntity

Class that represents a hosted service in the data model. A hosted service proxies another service in the data model (referred to as the concrete service). The need for proxying arises when attempting to provision in an service provider environment. The service provider will create one instance of the concrete service that provides the provisioning platform with its management interface to the remote resource for provisioning and data reconciliation. Then, for each customer that shares that resource, a hosted service can be instantiated that provides that customer's view of the resource for their own provisioning requests.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
ORGANIZATION, PARENT
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
HostedServiceEntity(DirectoryObject service)
          Constructs a HostedServiceEntity with a DirectoryObject.
HostedServiceEntity(HostedService service)
          Constructs a HostedServiceEntity with a value object.
 
Method Summary
 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.).
 
Methods inherited from class com.ibm.itim.dataservices.model.domain.ServiceEntity
create, create, getAccountTable, getConcreteServiceProfile, getHostedServices, getOrganization, getOwner, getOwnerObject, getOwners, getPrerequisites, hasHostedService, removeHostedServices, setOwner, setOwner, setPrerequisites, update
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostedServiceEntity

public HostedServiceEntity(HostedService service)
Constructs a HostedServiceEntity with a value object.

Parameters:
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.).

HostedServiceEntity

public HostedServiceEntity(DirectoryObject service)
Constructs a HostedServiceEntity with a DirectoryObject.

Parameters:
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.).
Method Detail

getHostedServiceProfile

public ServiceProfile getHostedServiceProfile()
                                       throws ModelCommunicationException,
                                              ObjectNotFoundException
Returns the profile that identifies the type of concrete service this entity will proxy (i.e., NTDomain, Solaris, etc.).

Returns:
ServiceProfile of the concrete service.
Throws:
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.

getConcreteService

public ServiceEntity getConcreteService()
                                 throws ModelCommunicationException,
                                        ObjectNotFoundException
Returns the concrete service of the hosted service, this entity will proxy (i.e., NTDomain, Solaris, etc.).

Returns:
ServiceEntity entity of the concrete service.
Throws:
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.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.