org.siebengeisslein.admin
Class Account
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.admin.Account
- All Implemented Interfaces:
- Instrumented
public class Account
- extends Persistent
|
Constructor Summary |
Account(java.lang.String name,
int group)
|
Account(java.lang.String name,
java.lang.String password,
int group)
|
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Account
public Account(java.lang.String name,
java.lang.String password,
int group)
Account
public Account(java.lang.String name,
int group)
getPersistentReadGroups
public HashSet<PInteger> getPersistentReadGroups()
getPersistentWriteGroups
public HashSet<PInteger> getPersistentWriteGroups()
getReadGroups
public java.util.Set<java.lang.Integer> getReadGroups()
getWriteGroups
public java.util.Set<java.lang.Integer> getWriteGroups()
checkPassword
public boolean checkPassword(java.lang.String password)
mayLogin
public boolean mayLogin()
getName
public java.lang.String getName()
getDefaultGroup
public int getDefaultGroup()
setPassword
public void setPassword(java.lang.String password)
mayRead
public boolean mayRead(int group)
mayWrite
public boolean mayWrite(int group)
addReadGroup
public void addReadGroup(int group)
addWriteGroup
public void addWriteGroup(int group)