Package com.documentum.fc.client
Interface IDfAliasSet
- All Superinterfaces:
IDfPersistentObject
,IDfTypedObject
Provides access to business policy aliasing-related data stored in dm_alias_set objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Represents the alias category when the alias value is an ACL name.static final int
Represents the alias category when the alias value is a cabinet path.static final int
Represents the alias category when the alias value is a folder path.static final int
Represents the alias category when the alias value is a group.static final int
Represents the alias category when the alias value is unknown.static final int
Represents the alias category when the alias value is a user.static final int
Represents the alias category when the alias value is either a user or a group.Fields inherited from interface com.documentum.fc.client.IDfPersistentObject
CURRENCY_CHECK_ALWAYS, CURRENCY_CHECK_FIRST_ACCESS, CURRENCY_CHECK_NEVER, CURRENCY_CHECK_ONCE_PER_SCOPE
-
Method Summary
Modifier and TypeMethodDescriptionint
appendAlias
(String name, String value, int category, int userCategory, String description) Appends an alias to the alias set.int
findAliasIndex
(String name) Returns the index position of an alias in the alias set.int
getAliasCategory
(int index) Returns the category of the alias in the specified index position in this alias set.int
Returns the number of aliases in the alias set.getAliasDescription
(int index) Returns the description of the alias at the specified index position in this alias set.getAliasName
(int index) Returns the alias name at the specified index in the list of aliases for the alias set scope.int
getAliasUserCategory
(int index) Returns the user category of the alias at the specified index position in the alias set.getAliasValue
(int index) Returns the value corresponding to the alias at the specified index in this alias set.Returns the description of the alias set.Returns the name of this alias set.Returns the user name of the owner of this alias set.void
removeAlias
(String name) Removes an alias from the alias set.void
Removes all the aliases in the alias set.void
setAliasCategory
(int index, int aliasCategory) Sets the category for the alias in the specified index position in the alias set.void
setAliasDescription
(int index, String aliasDescription) Sets the description of the alias at the specified index position in this alias set.void
setAliasName
(int index, String aliasName) Sets the alias name at the specified index in this alias set.void
setAliasUserCategory
(int index, int aliasUserCategory) Sets the user category of the alias at the specified index position in the alias set.void
setAliasValue
(int index, String aliasValue) Sets the value corresponding to the alias at the specified index in this alias set.void
setObjectDescription
(String objectDescription) Sets the description of the alias set.void
setObjectName
(String objectName) Sets the name of the alias set.void
setOwnerName
(String ownerName) Sets the owner name of this alias set.Methods inherited from interface com.documentum.fc.client.IDfPersistentObject
addChildRelative, addParentRelative, apiExec, apiGet, apiSet, destroy, fetch, fetchWithCaching, getAttrAssistance, getAttrAssistanceWithValues, getAttrAsstDependencies, getChildRelatives, getParentRelatives, getPartition, getType, getValidator, getVStamp, getWidgetType, isDeleted, isDirty, isInstanceOf, isNew, isReplica, lock, lockEx, registerEvent, removeChildRelative, removeParentRelative, revert, save, setPartition, signoff, unRegisterEvent, unRegisterEventEx, validateAllRules, validateAttrRules, validateAttrRulesWithValue, validateAttrRulesWithValues, validateObjRules, validateObjRulesWithValues
Methods inherited from interface com.documentum.fc.client.IDfTypedObject
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
-
Field Details
-
CATETORY_UNKNOWN
static final int CATETORY_UNKNOWNRepresents the alias category when the alias value is unknown.- See Also:
-
CATETORY_USER
static final int CATETORY_USERRepresents the alias category when the alias value is a user.- See Also:
-
CATETORY_GROUP
static final int CATETORY_GROUPRepresents the alias category when the alias value is a group.- See Also:
-
CATETORY_USER_OR_GROUP
static final int CATETORY_USER_OR_GROUPRepresents the alias category when the alias value is either a user or a group.- See Also:
-
CATETORY_CABINET_PATH
static final int CATETORY_CABINET_PATHRepresents the alias category when the alias value is a cabinet path.- See Also:
-
CATETORY_FOLDER_PATH
static final int CATETORY_FOLDER_PATHRepresents the alias category when the alias value is a folder path.- See Also:
-
CATETORY_ACL_NAME
static final int CATETORY_ACL_NAMERepresents the alias category when the alias value is an ACL name.- See Also:
-
-
Method Details
-
getOwnerName
Returns the user name of the owner of this alias set.- Returns:
- the owner name of this alias set.
- Throws:
DfException
- if server error occurs.- See Also:
-
setOwnerName
Sets the owner name of this alias set.- Parameters:
ownerName
- name of the owner.- Throws:
DfException
- if server error occurs.- See Also:
-
getObjectName
Returns the name of this alias set. This name is unique within this type. Each name here defines a unique alias-binding alias set.- Returns:
- the name of the alias set.
- Throws:
DfException
- if server error occurs.- See Also:
-
setObjectName
Sets the name of the alias set. This name is unique within this type. Each name here defines a unique alias-binding alias set.- Parameters:
objectName
- the name of the alias set.- Throws:
DfException
- if server error occurs.- See Also:
-
getObjectDescription
Returns the description of the alias set.- Returns:
- the description of the alias set.
- Throws:
DfException
- if server error occurs.- See Also:
-
setObjectDescription
Sets the description of the alias set.- Parameters:
objectDescription
- the description of the alias set.- Throws:
DfException
- if server error occurs.- See Also:
-
getAliasCount
Returns the number of aliases in the alias set.- Returns:
- the number of aliases in the alias set.
- Throws:
DfException
- if server error occurs.
-
getAliasName
Returns the alias name at the specified index in the list of aliases for the alias set scope.- Parameters:
index
- the index position in this alias set.- Returns:
- the alias name.
- Throws:
DfException
- if server error occurs.- See Also:
-
setAliasName
Sets the alias name at the specified index in this alias set.- Parameters:
index
- the index position in this alias set.aliasName
- the alias name.- Throws:
DfException
- if server error occurs.- See Also:
-
getAliasValue
Returns the value corresponding to the alias at the specified index in this alias set.- Parameters:
index
- the index position in this alias set.- Returns:
- the alias value.
- Throws:
DfException
- if server error occurs.- See Also:
-
setAliasValue
Sets the value corresponding to the alias at the specified index in this alias set.- Parameters:
index
- the index position in this alias set.aliasValue
- the value to set for the alias- Throws:
DfException
- if server error occurs.- See Also:
-
getAliasCategory
Returns the category of the alias in the specified index position in this alias set.- Parameters:
index
- the index position in this alias set.- Returns:
- the category of the alias.
- Throws:
DfException
- if server error occurs.- See Also:
-
setAliasCategory
Sets the category for the alias in the specified index position in the alias set. This value is set by the creator of the alias object and used by Documentum client applications. The server does not verify the category value against the alias value to ensure that alias value is in the specified category. Currently, only the following values are allowed:- 0 (Unknown) - 1 (User, alias_value is a user) - 2 (Group, alias_value is a group) - 3 (User or Group, alias_value is either a user or a group) - 4 (Cabinet Path, alias_value is a cabinet path) - 5 (Folder Path, alias_value is a folder path) - 6 (ACL Name, alias_value is an ACL name)
- Parameters:
index
- the index position in this alias set.aliasCategory
- the alias category.- Throws:
DfException
- if server error occurs.- See Also:
-
getAliasUserCategory
Returns the user category of the alias at the specified index position in the alias set. The value is used by the creator of the alias set object. The server does not care about its value.- Parameters:
index
- the index position in this alias set.- Returns:
- the category of alias at the index in the list.
- Throws:
DfException
- if server error occurs.- See Also:
-
setAliasUserCategory
Sets the user category of the alias at the specified index position in the alias set. This value is used by the creator of the alias set object. The server does not care about its value.- Parameters:
index
-aliasUserCategory
- user alias category in the list.- Throws:
DfException
- if server error occurs.- See Also:
-
getAliasDescription
Returns the description of the alias at the specified index position in this alias set.- Parameters:
index
- the index position in this alias set.- Returns:
- the alias description.
- Throws:
DfException
- if server error occurs.- See Also:
-
setAliasDescription
Sets the description of the alias at the specified index position in this alias set.- Parameters:
index
- the index position in this alias set.aliasDescription
- the alias description.- Throws:
DfException
- if server error occurs.- See Also:
-
appendAlias
int appendAlias(String name, String value, int category, int userCategory, String description) throws DfException Appends an alias to the alias set. This adds a new value to each of the attributes represented by the passed arguments. It returns the index to the new alias.- Parameters:
name
- the name of the alias.value
- the value of the alias.category
- the integer valued category of the alias.userCategory
- the integer valued user category that the user chooses to further categorize the alias value.description
- the description of the alias.- Returns:
- the index value for the alias appended.
- Throws:
DfException
- if the server error occurs or the alias name already exists.- See Also:
-
removeAlias
Removes an alias from the alias set.- Parameters:
name
- the name of the alias to be removed.- Throws:
DfException
- if the server error occurs.- See Also:
-
findAliasIndex
Returns the index position of an alias in the alias set. The index can be used to access other attributes related to the alias name.- Parameters:
name
- the name of the alias.- Returns:
- the index value of the alias. -1 is returned if the alias is not found.
- Throws:
DfException
- if the server error occurs.
-
removeAllAliases
Removes all the aliases in the alias set.- Throws:
DfException
- if the server error occurs.
-