public class RegistryUserItem extends RegistryObjectItem
RegistryObjectItem.ProfileVisibilityBean, RegistryObjectItem.ReferencingDescriptor
profilePermissionUpdated, REFERENCING_LIST_AS_ITEMS, REFERENCING_LIST_AS_REFOBJECTS
rcs_id
Constructor and Description |
---|
RegistryUserItem(javax.xml.registry.infomodel.RegistryObject ro,
Connector con) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
boolean |
equals(RegistryObjectProxyItem other) |
java.lang.String |
getFromAddUser() |
java.lang.String |
getImageURL() |
java.lang.String |
getName() |
java.lang.String |
getPersonName() |
java.lang.String |
getPersonNameAsString()
Get person name formatted as string
|
javax.xml.registry.infomodel.User |
getUser() |
static java.lang.String |
getUserName(javax.xml.registry.infomodel.User user,
java.util.Locale locale) |
int |
hashCode()
Provide hash function for being able to use RegistryObjectItems as key for hashing
|
void |
save(ActionContext actionContext)
Save Item
|
void |
setFromAddUser(java.lang.String fromAddUser) |
void |
updatePassword(java.lang.String oldPassword,
java.lang.String newPassword)
Update password of predefined users, e.g.
|
addAuditComment, addClassification, addClassification, addExternalClassification, addInternelClassification, clearCache, clearProperties, delete, delete, freeze, getAccessControlElements, getCachedRegistryObject, getCentraSiteRegistryObject, getCentraSiteVirtualTypeConcept, getChildren, getChildren, getCollectRestServiceAssociatedObjects, getCollectVirtualServiceAssociatedObjects, getCurrentUserPermissionItem, getDefinedSlotNames, getDescription, getKey, getLabel, getLargeImageURL, getLastAuditableEvent, getName, getNameEx, getNonPermissionAccessControlElements, getObjectTypeId, getObjectTypeValue, getPermissionForNonPermissionACL, getPrivilegeDescriptor, getProperties, getReferencingItems, getReferencingObjects, getRegistryObject, getReport, getReportForDetailView, getSlotDescriptions, getTooltip, hasNoChildren, hasObjectType, hasObjectType, hasObjectType, isAttributeViewable, isCanPropagateACL, isCentraSiteVirtualTypeConcept, isEnabledForVersioning, isModified, isNewItem, isPredefined, isPropagateProfileEnabled, isRevisionObject, isStandalone, logItemConnection, setAccessControlElements, setAccessControlElements, setCanPropagateACL, setCollectRestServiceAssociatedObjects, setCollectVirtualServiceAssociatedObjects, setNewItem, setPropagateProfileEnabled, setProperties, toString
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getPath, getPersistanceLocale, getRelatedItems, hasRequiredAttribute, isLocked, isReadOnly, isSubTabModified, removeCommand, replaceCommand, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, showReport
public RegistryUserItem(javax.xml.registry.infomodel.RegistryObject ro, Connector con) throws java.lang.Exception
java.lang.Exception
public javax.xml.registry.infomodel.User getUser()
public java.lang.String getImageURL() throws java.lang.Exception
getImageURL
in interface Item
getImageURL
in class RegistryObjectItem
java.lang.Exception
public void updatePassword(java.lang.String oldPassword, java.lang.String newPassword)
oldPassword
- The old password.newPassword
- The new password to be set.public static java.lang.String getUserName(javax.xml.registry.infomodel.User user, java.util.Locale locale) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public java.lang.String getName()
getName
in interface Item
getName
in class RegistryObjectItem
public java.lang.String getPersonName() throws java.lang.Exception
java.lang.Exception
public java.lang.String getPersonNameAsString() throws java.lang.Exception
java.lang.Exception
public void save(ActionContext actionContext) throws java.lang.Exception
AbstractItem
save
in interface Item
save
in class RegistryObjectItem
java.lang.Exception
public java.lang.String getFromAddUser()
public void setFromAddUser(java.lang.String fromAddUser)
public boolean equals(java.lang.Object other)
equals
in class RegistryObjectItem
public int hashCode()
RegistryObjectItem
hashCode
in class RegistryObjectItem
public boolean equals(RegistryObjectProxyItem other)
equals
in class RegistryObjectItem