public abstract class ServicePolicy extends ScopedPolicy
ServicePolicyEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
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
|
ONELEVEL_SCOPE, POLICY_ATTR_SCOPE, SUBTREE_SCOPEPOLICY_ATTR_CAPTION, POLICY_ATTR_DESCRIPTION, POLICY_ATTR_ENABLED, POLICY_ATTR_ISDRAFT, POLICY_ATTR_KEY_WORDS, POLICY_ATTR_NAME, POLICY_ATTR_PRIORITYATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Modifier and Type | Method and Description |
|---|---|
void |
addTarget(IPolicyTarget target)
Adds a new IPolicyTarget object.
|
java.util.Collection<IPolicyTarget> |
getTargets()
Returns the value of the targets attribute.
|
java.util.Collection<IPolicyTarget> |
getTargetsByReference()
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.
|
getScope, setScopegetCaption, getDescription, getKeywords, getName, getParentDN, isEnabled, setCaption, setDescription, setEnabled, setKeywords, setNameaddAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static final java.lang.String POLICY_ATTR_POLICY_TARGET
public static final java.lang.String POLICY_ATTR_REQ_POLICY_TARGET
public static final java.lang.String POLICY_ATTR_OBJECT_PROFILE_NAME
public void addTarget(IPolicyTarget target)
target - a IPolicyTarget object.public boolean removeTarget(int index)
int - indexpublic boolean removeTarget(IPolicyTarget target)
target - the IPolicyTarget to be removed.public void setTargets(java.util.Collection<IPolicyTarget> newTargets)
newTargets - the new value of the targets attribute.public java.util.Collection<IPolicyTarget> getTargets()
public java.util.Collection<IPolicyTarget> getTargetsByReference()