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

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.DirectoryObjectEntity
        |
        +--com.ibm.itim.dataservices.model.domain.ServiceEntity
              |
              +--com.ibm.itim.dataservices.model.domain.HostedServiceEntity
All Implemented Interfaces:
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
 
Constructor Summary
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, getOrganization, getOwner, getPrerequisites, hasHostedService, removeHostedServices, setOwner, setPrerequisites
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getParent, getParentDN, getProfile, getRelationship, getSupportedRelationships, hashCode, isSupportedRelationship, remove, remove, setLifecycle, toString, update, 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.).
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 Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.