|
Qizx/db 2.1 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qizx.api.util.accesscontrol.UnixStyleAccessControl.User
Simple model of a Unix-style User.
This user has a name and default permissions for a new Library object.
| Constructor Summary | |
UnixStyleAccessControl.User(String name,
String displayName)
Constructs a new user with its internal nameand display name. |
|
| Method Summary | |
int |
getDefaultMask()
Returns the current permissions used by default for new Library members. |
String |
getDisplayName()
Returns a displayable name for the User. |
String |
getName()
Returns the identifier of the user, used for checking rights. |
void |
setDefaultMask(int defaultMask)
Sets the permissions used by default for new Library members (Documents and Collections). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnixStyleAccessControl.User(String name,
String displayName)
name - unique name of a User, used for access controldisplayName - name of a User, used for display purpose| Method Detail |
public String getName()
public String getDisplayName()
User
getDisplayName in interface Userpublic int getDefaultMask()
public void setDefaultMask(int defaultMask)
|
© 2008 Axyana Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||