com.ibm.itim.dataservices.model.policy
Class ServicePolicy

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.policy.DirectoryPolicy
              extended by com.ibm.itim.dataservices.model.policy.ScopedPolicy
                  extended by com.ibm.itim.dataservices.model.policy.ServicePolicy
All Implemented Interfaces:
Policy, ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable
Direct Known Subclasses:
RecertificationPolicy

public abstract class ServicePolicy
extends ScopedPolicy

This class is a specialization of the ScopedPolicy class that provides the base value object of all ServicePolicyEntities.

See Also:
ServicePolicyEntity, Serialized Form

Field Summary
static java.lang.String POLICY_ATTR_OBJECT_PROFILE_NAME
          String constant for the object profile name
static java.lang.String POLICY_ATTR_POLICY_TARGET
          String constant for the target attribute name.
static java.lang.String POLICY_ATTR_REQ_POLICY_TARGET
          String constant for the target attribute name
 
Fields inherited from class com.ibm.itim.dataservices.model.policy.ScopedPolicy
ONELEVEL_SCOPE, POLICY_ATTR_SCOPE, SUBTREE_SCOPE
 
Fields inherited from class com.ibm.itim.dataservices.model.policy.DirectoryPolicy
POLICY_ATTR_CAPTION, POLICY_ATTR_DESCRIPTION, POLICY_ATTR_ENABLED, POLICY_ATTR_ISDRAFT, POLICY_ATTR_KEY_WORDS, POLICY_ATTR_NAME, POLICY_ATTR_PRIORITY
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Method Summary
 void addTarget(IPolicyTarget target)
          Adds a new IPolicyTarget object.
 java.util.Collection<IPolicyTarget> getTargets()
          Returns the value of the targets attribute.
 boolean removeTarget(int index)
          Removes a IPolicyTarget object indicated by the index.
 boolean removeTarget(IPolicyTarget target)
          Removes the given IPolicyTarget object.
 void setTargets(java.util.Collection<IPolicyTarget> newTargets)
          Sets the value of the targets attribute.
 
Methods inherited from class com.ibm.itim.dataservices.model.policy.ScopedPolicy
getScope, setScope
 
Methods inherited from class com.ibm.itim.dataservices.model.policy.DirectoryPolicy
getCaption, getDescription, getKeywords, getName, getParentDN, isEnabled, setCaption, setDescription, setEnabled, setKeywords, setName
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLICY_ATTR_POLICY_TARGET

public static final java.lang.String POLICY_ATTR_POLICY_TARGET
String constant for the target attribute name.

See Also:
Constant Field Values

POLICY_ATTR_REQ_POLICY_TARGET

public static final java.lang.String POLICY_ATTR_REQ_POLICY_TARGET
String constant for the target attribute name

See Also:
Constant Field Values

POLICY_ATTR_OBJECT_PROFILE_NAME

public static final java.lang.String POLICY_ATTR_OBJECT_PROFILE_NAME
String constant for the object profile name

See Also:
Constant Field Values
Method Detail

addTarget

public void addTarget(IPolicyTarget target)
Adds a new IPolicyTarget object.

Parameters:
target - a IPolicyTarget object.

removeTarget

public boolean removeTarget(int index)
Removes a IPolicyTarget object indicated by the index.

Parameters:
int - index

removeTarget

public boolean removeTarget(IPolicyTarget target)
Removes the given IPolicyTarget object.

Parameters:
target - the IPolicyTarget to be removed.

setTargets

public void setTargets(java.util.Collection<IPolicyTarget> newTargets)
Sets the value of the targets attribute.

Parameters:
newTargets - the new value of the targets attribute.

getTargets

public java.util.Collection<IPolicyTarget> getTargets()
Returns the value of the targets attribute.

Returns:
the current value (a collection of IPolicyTarget objects) of the targets attribute.


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.