public class UserItem extends AbstractRoleItem implements IPrincipal
rcs_id
Constructor and Description |
---|
UserItem(CentraSiteRoleManager parent,
javax.xml.registry.infomodel.RegistryObject ro,
Connector connector) |
UserItem(CentraSiteRoleManager rmi,
com.softwareag.security.jaas.interfaces.SagPrincipal user,
Connector connector) |
UserItem(java.lang.String qualifiedUserId,
boolean assigned,
Connector connector)
Deprecated.
use UserItem(RoleManagmentItem parent, SagPrincipal user, Connector connector) instead
|
UserItem(java.lang.String qualifiedUserId,
boolean assigned,
java.lang.String description,
Connector connector)
Deprecated.
use UserItem(RoleManagmentItem parent, SagPrincipal user, Connector connector) instead
|
UserItem(java.lang.String domain,
java.lang.String userId,
boolean assigned,
Connector connector)
Deprecated.
use UserItem(RoleManagmentItem parent, SagPrincipal user, Connector connector) instead
|
UserItem(java.lang.String domain,
java.lang.String userId,
boolean assigned,
java.lang.String description,
Connector connector)
Deprecated.
use UserItem(RoleManagmentItem parent, SagPrincipal user, Connector connector) instead
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
java.util.Iterator |
getChildren() |
java.util.Iterator |
getChildren(boolean refresh) |
java.lang.String |
getDescription() |
java.lang.String |
getDomain() |
java.lang.String |
getFullyQualifiedName() |
java.lang.String |
getImageURL() |
java.lang.String |
getName() |
java.lang.String |
getPath()
For some object types (especially for RepositoryObjectItems) this method
may return a reasonable path - instances of other classes should return
null
|
javax.xml.registry.infomodel.User |
getRegistryObject() |
ReportInterface |
getReport()
Get report to be used when selecting given object in tree.
|
java.lang.String |
getType() |
boolean |
hasNoChildren() |
boolean |
isAssigned() |
boolean |
isGuest() |
static boolean |
isPredefinedUser(java.lang.String user)
Test whether given user name is one of the predefined users
|
void |
setGuest(boolean guest) |
java.lang.String |
toString() |
getNameEx, getPropertyAttribute, getPropertyKeys, getRoleManagementItem, isRole, saveUserLinks, showReport
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, clearCache, clearProperties, getAccessControlElements, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getCurrentUserPermissionItem, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getKey, getLanguage, getLocale, getNonPermissionAccessControlElements, getPersistanceLocale, getPrivilegeDescriptor, getProperties, getRelatedItems, getReportForDetailView, hasRequiredAttribute, isLocked, isModified, isReadOnly, isStandalone, isSubTabModified, removeCommand, replaceCommand, save, setAccessControlElements, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setProperties, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPropertyAttribute, getPropertyKeys, isRole
public UserItem(CentraSiteRoleManager parent, javax.xml.registry.infomodel.RegistryObject ro, Connector connector)
public UserItem(CentraSiteRoleManager rmi, com.softwareag.security.jaas.interfaces.SagPrincipal user, Connector connector)
public UserItem(java.lang.String domain, java.lang.String userId, boolean assigned, java.lang.String description, Connector connector)
domain
- The domain.userId
- The user id.assigned
- True if assigned to a role, otherwise false.description
- Description of user.public UserItem(java.lang.String qualifiedUserId, boolean assigned, java.lang.String description, Connector connector)
qualifiedUserId
- The user information in form of domain + "\" + user id.assigned
- True if assigned to a role, otherwise false.description
- Description of user.public UserItem(java.lang.String domain, java.lang.String userId, boolean assigned, Connector connector)
domain
- The domain.userId
- The user id.assigned
- True if assigned to a role, otherwise false.public UserItem(java.lang.String qualifiedUserId, boolean assigned, Connector connector)
qualifiedUserId
- The user information in form of domain + "\" + user id.assigned
- True if assigned to a role, otherwise false.public boolean isAssigned()
public java.lang.String getDomain()
getDomain
in class AbstractRoleItem
public java.lang.String getFullyQualifiedName()
public java.lang.String getName()
getName
in interface Item
getName
in interface IPrincipal
getName
in class AbstractRoleItem
public java.lang.String getDescription()
getDescription
in interface Item
getDescription
in class AbstractRoleItem
public java.util.Iterator getChildren() throws java.lang.Exception
getChildren
in interface Item
getChildren
in class AbstractRoleItem
java.lang.Exception
public java.util.Iterator getChildren(boolean refresh) throws java.lang.Exception
getChildren
in interface Item
getChildren
in class AbstractRoleItem
java.lang.Exception
public java.lang.String getPath() throws java.lang.Exception
AbstractItem
getPath
in interface Item
getPath
in class AbstractRoleItem
java.lang.Exception
public boolean hasNoChildren() throws java.lang.Exception
hasNoChildren
in interface Item
hasNoChildren
in class AbstractRoleItem
java.lang.Exception
public ReportInterface getReport()
AbstractItem
getReport
in interface Item
getReport
in class AbstractRoleItem
public java.lang.String getImageURL() throws java.lang.Exception
getImageURL
in interface Item
getImageURL
in interface IPrincipal
getImageURL
in class AbstractRoleItem
java.lang.Exception
public static boolean isPredefinedUser(java.lang.String user)
user
- public java.lang.String toString()
toString
in class AbstractItem
public java.lang.String getType()
getType
in interface IPrincipal
getType
in class AbstractRoleItem
public void delete() throws java.lang.Exception
delete
in class AbstractRoleItem
java.lang.Exception
public javax.xml.registry.infomodel.User getRegistryObject()
getRegistryObject
in class AbstractRoleItem
public boolean isGuest()
public void setGuest(boolean guest)