public class ProvisioningPolicy extends DirectoryObject implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ONELEVEL_SCOPE
Policy single scope of the same level target as policy container
|
static java.lang.String |
POLICY_ATTR_CAPTION
String constant for label attribute name
|
static java.lang.String |
POLICY_ATTR_DESCRIPTION
String constant for description attribute name
|
static java.lang.String |
POLICY_ATTR_ENABLED
String constant for enabled attribute name
|
static java.lang.String |
POLICY_ATTR_KEY_WORDS
String constant for keywords attribute name
|
static java.lang.String |
POLICY_ATTR_NAME
String constant for name attribute name
|
static java.lang.String |
POLICY_ATTR_REQ_POLICY_TARGET
String constant for the required target attribute name
|
static java.lang.String |
POLICY_ATTR_SCOPE
String constant for the scope attribute name
|
static java.lang.String |
PROVISIONING_POLICY_ATTR_ENTITLEMENTS
String constant for the entitlement attribute name.
|
static java.lang.String |
PROVISIONING_POLICY_ATTR_MEMBERSHIP
String constant for the membership attribute name.
|
static java.lang.String |
PROVISIONING_POLICY_ATTR_PRIORITY
String constant for the priority attribute name.
|
static int |
SUBTREE_SCOPE
Policy subtree scope of the same level or subtree target as policy container
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
ProvisioningPolicy()
The default constructor.
|
ProvisioningPolicy(java.lang.String name,
java.lang.String caption,
java.lang.String description,
java.lang.String keywords,
boolean enabled,
int scope,
int priority,
java.util.Collection memberships,
java.util.Collection entitlements)
The constructor with full set of parameters necessary for a
construction of a complete provisioning policy
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption()
Returns the value of the caption attribute in the policy.
|
java.lang.String |
getDescription()
Returns the value of the description attribute in the policy.
|
java.util.Collection |
getEntitlements()
Returns the value of the entitlements.
|
java.lang.String |
getKeywords()
Returns the value of the keywords attribute in the policy.
|
java.util.Collection |
getMemberships()
Returns the value of the memberships.
|
java.lang.String |
getName()
Returns the value of the name attribute of the policy.
|
int |
getPriority()
Returns the value of the priority attribute in the policy.
|
int |
getScope()
Returns the value of the scope attribute in the policy.
|
boolean |
isDraft()
Determines whether the policy is a "draft" policy.
|
boolean |
isEnabled()
Returns the value of the enabled attribute in the policy.
|
void |
setCaption(java.lang.String caption)
Sets the value of the caption attribute in the policy.
|
void |
setDescription(java.lang.String description)
Sets the value of the description attribute in the policy.
|
void |
setEnabled(boolean enabled)
Sets the value of the enabled attribute in the policy.
|
void |
setEntitlements(java.util.Collection entitlements)
Sets the value of the entitlements.
|
void |
setKeywords(java.lang.String keywords)
Sets the value of the keywords attribute in the policy.
|
void |
setMemberships(java.util.Collection memberships)
Sets the value of the memberships.
|
void |
setName(java.lang.String name)
Sets the value of the name attribute of the policy.
|
void |
setPriority(int priority)
Sets the value of the priority attribute in the policy
|
void |
setScope(int scope)
Sets the value of the scope attribute in the policy.
|
addAttribute, 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_NAME
public static final java.lang.String POLICY_ATTR_KEY_WORDS
public static final java.lang.String POLICY_ATTR_CAPTION
public static final java.lang.String POLICY_ATTR_DESCRIPTION
public static final java.lang.String POLICY_ATTR_ENABLED
public static final int ONELEVEL_SCOPE
public static final int SUBTREE_SCOPE
public static final java.lang.String POLICY_ATTR_SCOPE
public static final java.lang.String PROVISIONING_POLICY_ATTR_ENTITLEMENTS
public static final java.lang.String PROVISIONING_POLICY_ATTR_PRIORITY
public static final java.lang.String PROVISIONING_POLICY_ATTR_MEMBERSHIP
public static final java.lang.String POLICY_ATTR_REQ_POLICY_TARGET
public ProvisioningPolicy()
public ProvisioningPolicy(java.lang.String name,
java.lang.String caption,
java.lang.String description,
java.lang.String keywords,
boolean enabled,
int scope,
int priority,
java.util.Collection memberships,
java.util.Collection entitlements)
name - The policy namecaption - The policy captiondescription - The policy descriptionkeywords - The policy keywordsenabled - The policy statusscope - The policy scopepriority - The policy prioritymemberships - A list of Membership objectsentitlements - A list of Entitlement objectspublic java.util.Collection getEntitlements()
public void setEntitlements(java.util.Collection entitlements)
entitlements - The new value of the entitlements .public java.util.Collection getMemberships()
public void setMemberships(java.util.Collection memberships)
memberships - the new value of the memberships .public java.lang.String getName()
getName in class DirectoryObjectpublic void setName(java.lang.String name)
name - The new value of the name attribute.public java.lang.String getKeywords()
public void setKeywords(java.lang.String keywords)
keywords - The new value of the keywords attributepublic java.lang.String getCaption()
public void setCaption(java.lang.String caption)
caption - The new value of the caption attributepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new value of the description attributepublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - The new boolean value of the enabled attribute.public boolean isDraft()
public int getScope()
public void setScope(int scope)
scope - The new value of the scope attributepublic int getPriority()
public void setPriority(int priority)
priority - The new value of the priority attribute