|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.AbstractItem
com.centrasite.control.security.items.AbstractRoleItem
com.centrasite.control.security.items.UserItem
public class UserItem
Represents an user
Field Summary |
---|
Fields inherited from class com.centrasite.control.AbstractItem |
---|
rcs_id |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.centrasite.control.security.items.AbstractRoleItem |
---|
getNameEx, getPropertyAttribute, getPropertyKeys, getRoleManagementItem, isRole, saveUserLinks, showReport |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.centrasite.control.security.items.IPrincipal |
---|
getPropertyAttribute, getPropertyKeys, isRole |
Constructor Detail |
---|
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.Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |