com.ibm.itim.dataservices.model.domain
Class HostedService
java.lang.Object
|
+--com.ibm.itim.dataservices.model.DirectoryEntry
|
+--com.ibm.itim.dataservices.model.DirectoryObject
|
+--com.ibm.itim.dataservices.model.domain.Service
|
+--com.ibm.itim.dataservices.model.domain.HostedService
- All Implemented Interfaces:
- com.ibm.itim.util.xml.objectstream.Importable, ProtectedObject, java.io.Serializable
- public class HostedService
- extends Service
Value Object class that holds the attribute information of a hosted service in
the data model.
- See Also:
HostedServiceEntity
, Serialized Form
Fields inherited from class com.ibm.itim.dataservices.model.domain.Service |
CORRECT_NONCOMPLIANT, MARK_NONCOMPLIANT, SERVICE_ATTR_CHECK_POLICY, SERVICE_ATTR_CONSTRAINT_VIOLATION_ACTION, SERVICE_ATTR_DISALLOWED_ACTION, SERVICE_ATTR_NAME, SERVICE_ATTR_NONCOMPLIANCE_ACTION, SERVICE_ATTR_PASSWORD, SERVICE_DSML_PROFILE_NAME, SERVICE_DSML2_PROFILE_NAME, SERVICE_ENROLE_PROFILE_NAME, SUSPEND_NONCOMPLIANT |
Constructor Summary |
HostedService(java.lang.String concretServiceProfileName,
AttributeValues attributes)
Constructs object with profile and attribute information. |
Methods inherited from class com.ibm.itim.dataservices.model.domain.Service |
getConstraintViolationAction, getDisallowedAction, getNonComplianceAction, getPrerequisiteDNs, getServiceProfileName, isCheckingPolicy, isEnrole, setCheckingPolicy, setConstraintViolationAction, setDisallowedAction, setNonComplianceAction |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getProfileName, getRawAttributes, getTenantDN, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERVICE_HOSTED_PROFILE_NAME
public static final java.lang.String SERVICE_HOSTED_PROFILE_NAME
HostedService
public HostedService(java.lang.String concretServiceProfileName,
AttributeValues attributes)
- Constructs object with profile and attribute information. The profile
provided here is the profile identifying the type of service this
object proxies. More specifically, this profile is the profile of the
concrete service this hosted service represents. Warning:
the purpose of this constructor is to provide clients with the ability
to create value objects for creation in the data store. Do not use this
constructor to create value objects that represent existing entities.
See the HostedServiceSearch object for achieving that.
- Parameters:
concreteServiceProfileName
- Name of the profile used by the
concrete service to identify its type (i.e., NTDomain, Solaris).attributes
- AttributeValues holding the attributes of the hosted
service.
createEntity
public ServiceEntity createEntity()
- Create a ServiceEntity object for this Service.
Used to ensure that the correct type of Entity
(ServiceEntity or HostedServiceEntity) is created.
- Returns:
- ServiceEntity object
createEntity
public ServiceEntity createEntity(ObjectProfile profile)
- Create a ServiceEntity object for this Service.
Used to ensure that the correct type of Entity
(ServiceEntity or HostedServiceEntity) is created.
- Parameters:
profile
- Profile identifying the type of this service
(e.g., NT, Exchange).- Returns:
- ServiceEntity object
getHostDN
public DistinguishedName getHostDN()
- Returns the distinguished name of the concrete service that this object
proxies.
- Returns:
- DistinguishedName of the concrete service.
getHostProfileName
public java.lang.String getHostProfileName()
- Returns the name of the profile identifying the type of concrete service
this object proxies.
- Returns:
- String name of the concrete service's profile.