public class COSTemplate extends PersistentObject
Constructor and Description |
---|
COSTemplate(CreationTemplate temp,
String name)
Constructor with creation template and name parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
addTemplateAttribute(String name,
String value)
Adds a name/value attribute pair for this template; for example,
"postalcode" and "95020".
|
String |
getName()
Returns the name of this COS template.
|
void |
removeTemplateAttribute(String name)
Removes a name/value attribute pair from this template.
|
void |
setPriority(int priority)
Sets the priority for this template.
|
addACI, addAttributeValue, addChild, deleteACI, getACI, getACI, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributes, getAttributes, getChildren, getChildren, getChildren, getGuid, getNamingAttribute, getParentObject, getRoles, isMemberOf, modify, modify, modify, remove, removeAttribute, removeAttributeValue, removeChild, removeChild, rename, replaceACI, save, search, search, search, setAttribute, setAttribute, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParentGuid
public COSTemplate(CreationTemplate temp, String name) throws UMSException
temp
- the creation tenplatename
- the name of this templateUMSException
- The exception thrown from the parent class constructor.(CreationTemplate,
AttrSet)
public String getName()
public void setPriority(int priority)
priority
- Priority for this template.public void addTemplateAttribute(String name, String value)
name
- the name of the attributevalue
- the value of the attributepublic void removeTemplateAttribute(String name)
name
- the name of the attributeCopyright © 2010-2020, ForgeRock All Rights Reserved.