|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.ObjectProfile
Value Object class that holds the attribute data of an object profile.
ObjectProfileEntity
, Serialized FormField Summary | |
static java.lang.String |
ER_XML
String constant for the operation xml. |
static java.lang.String |
OBJ_PROFILE_ATTR_CATEGORY
String constant for the category attribute name. |
static java.lang.String |
OBJ_PROFILE_ATTR_CUSTOM_CLASS
String constant for the class attribute name. |
static java.lang.String |
OBJ_PROFILE_ATTR_MAP
String constant for the attribute map attribute name. |
static java.lang.String |
OBJ_PROFILE_ATTR_NAME
String constant for the naming attribute name. |
static java.lang.String |
OBJ_PROFILE_ATTR_RDN
String constant for the rdn attribute name. |
static java.lang.String |
OBJ_PROFILE_ATTR_SEARCH
String constant for the search attribute name. |
Constructor Summary | |
ObjectProfile(DistinguishedName dn,
java.lang.String category,
java.lang.String name,
java.lang.String customClass,
java.lang.String nameAttr,
java.util.Map attrMap,
java.lang.String searchAttr)
Constructs a new ObjectProfile object. |
|
ObjectProfile(DistinguishedName dn,
java.lang.String category,
java.lang.String name,
java.lang.String customClass,
java.lang.String nameAttr,
java.util.Map attrMap,
java.lang.String searchAttr,
java.util.Collection operations)
Constructs a new ObjectProfile object. |
|
ObjectProfile(java.lang.String category,
java.lang.String name,
java.lang.String customClass,
java.lang.String nameAttr,
java.util.Map attrMap,
java.lang.String searchAttr)
Constructs a new ObjectProfile object. |
Method Summary | |
void |
addOperation(ObjectProfileOperation oper)
Adds a new operation to the list of supported operations for the entity |
java.util.Map |
getAttributeMap()
Returns the map of semantic attributes to class attributes. |
java.lang.String |
getCategory()
Returns the category of the profile (i.e., Person, Account, Service). |
java.lang.String |
getCustomClass()
Returns the data store class. |
DistinguishedName |
getDistinguishedName()
Constructs a new ObjectProfile object. |
java.lang.String |
getMappedAttribute(java.lang.String attrName)
Returns the class attribute mapped to the given semantic attribute. |
java.lang.String |
getName()
Returns the profile's name. |
java.lang.String |
getNameAttribute()
Returns the naming attriute of the data store class (i.e., cn). |
ObjectProfileOperation |
getOperation(java.lang.String name)
Returns a specific operation by name |
java.util.Collection |
getOperationNames()
Returns the supported operations for the entity |
java.util.Collection |
getOperations()
Returns the supported operations for the entity |
java.lang.String |
getSearchAttribute()
Returns the default search attribute for the data store class. |
DistinguishedName |
getTenantDN()
Returns the distinguished name of the tenant this profile applies to. |
boolean |
isPasswordAttributeExist()
Returns whether a password attribute exists for this data store class. |
void |
removeOperation(java.lang.String operationName)
Removes an operation from the list of supported operations |
void |
setAttributeMap(java.util.Map attrMap)
Changes the map of semantic attributes to class attributes. |
void |
setCategory(java.lang.String category)
Changes the category of the entity. |
void |
setCustomClass(java.lang.String className)
Changes the data store class. |
void |
setName(java.lang.String name)
Changes the profile's name. |
void |
setNameAttribute(java.lang.String nameAttr)
Change the naming attribute of the data store class. |
void |
setOperation(ObjectProfileOperation oper)
Modifies a specific operation by name |
void |
setOperations(java.util.Collection operations)
Sets the supported operations for the entity |
void |
setSearchAttribute(java.lang.String searchAttr)
Change the default search attribute of the data store class. |
void |
setTenantDN(DistinguishedName tenantDN)
Sets the distinguished name for the tenant this object resides in. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String OBJ_PROFILE_ATTR_NAME
public static java.lang.String OBJ_PROFILE_ATTR_CATEGORY
public static java.lang.String OBJ_PROFILE_ATTR_CUSTOM_CLASS
public static java.lang.String OBJ_PROFILE_ATTR_RDN
public static java.lang.String OBJ_PROFILE_ATTR_SEARCH
public static java.lang.String OBJ_PROFILE_ATTR_MAP
public static java.lang.String ER_XML
Constructor Detail |
public ObjectProfile(java.lang.String category, java.lang.String name, java.lang.String customClass, java.lang.String nameAttr, java.util.Map attrMap, java.lang.String searchAttr)
category
- Name of the category.name
- Name of the object profile.customClass
- Name of the data store class.nameAttr
- Attribute to use as the name of an entry defined by
this profile.attrMap
- A mapping of semantic attributes to class attributes
(may be null).searchAttr
- Attribute to use when searching entries defined by
this profile.public ObjectProfile(DistinguishedName dn, java.lang.String category, java.lang.String name, java.lang.String customClass, java.lang.String nameAttr, java.util.Map attrMap, java.lang.String searchAttr)
dn
- DistinguishedName of the profile.category
- Name of the category.name
- Name of the object profile.customClass
- Name of the data store class.nameAttr
- Attribute to use as the name of an entry defined by
this profile.attrMap
- A mapping of semantic attributes to class attributes.searchAttr
- Attribute to use when searching entries defined by
this profile.public ObjectProfile(DistinguishedName dn, java.lang.String category, java.lang.String name, java.lang.String customClass, java.lang.String nameAttr, java.util.Map attrMap, java.lang.String searchAttr, java.util.Collection operations)
dn
- DistinguishedName of the profile.category
- Name of the category.name
- Name of the object profile.customClass
- Name of the data store class.nameAttr
- Attribute to use as the name of an entry defined by
this profile.attrMap
- A mapping of semantic attributes to class attributes.searchAttr
- Attribute to use when searching entries defined by
this profile.operations
- Collection of operations for this profileMethod Detail |
public DistinguishedName getDistinguishedName()
getDistinguishedName
in interface ManagableProfile
dn
- DistinguishedName of the profile.category
- Name of the category.name
- Name of the object profile.customClass
- Name of the data store class.nameAttr
- Attribute to use as the name of an entry defined by
this profile.attrMap
- A mapping of semantic attributes to class attributes.searchAttr
- Attribute to use when searching entries defined by
this profile.public DistinguishedName getTenantDN()
public void setTenantDN(DistinguishedName tenantDN)
The
- DistinguishedName of the tenant.public java.lang.String getName()
getName
in interface ManagableProfile
public void setName(java.lang.String name)
name
- String name of the profile.public java.lang.String getCategory()
public void setCategory(java.lang.String category)
category
- String category to change to.public java.lang.String getMappedAttribute(java.lang.String attrName)
public java.util.Map getAttributeMap()
public void setAttributeMap(java.util.Map attrMap)
attrMap
- Map of attributes. The key of the map is the semantic
attribute name and the value is the raw (physical) attribute name.public java.lang.String getCustomClass()
public void setCustomClass(java.lang.String className)
String
- class name.public java.lang.String getNameAttribute()
public void setNameAttribute(java.lang.String nameAttr)
nameAttr
- String attribute name.public java.lang.String getSearchAttribute()
public void setSearchAttribute(java.lang.String searchAttr)
searchAttr
- String attribute name.public boolean isPasswordAttributeExist()
public java.util.Collection getOperations()
getOperations
in interface ManagableProfile
public java.util.Collection getOperationNames()
getOperationNames
in interface ManagableProfile
public ObjectProfileOperation getOperation(java.lang.String name)
getOperation
in interface ManagableProfile
name
- The name of the operationpublic void setOperations(java.util.Collection operations) throws java.lang.ClassCastException
setOperations
in interface ManagableProfile
Collection
- of supported ObjectProfileOperationpublic void addOperation(ObjectProfileOperation oper)
addOperation
in interface ManagableProfile
operation
- Operation name to add.public void setOperation(ObjectProfileOperation oper) throws ObjectNotFoundException
setOperation
in interface ManagableProfile
oper
- The new operation definitionpublic void removeOperation(java.lang.String operationName) throws ObjectNotFoundException, ModelException
removeOperation
in interface ManagableProfile
operation
- Operation name to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |