cz.cuni.mff.mirovsky.account
Class UserAccount
java.lang.Object
cz.cuni.mff.mirovsky.account.UserAccount
public class UserAccount
- extends java.lang.Object
Class UserAccount keeps information about the user account - the authentication and authorization information.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
account_type_anonymous
public static final int account_type_anonymous
- See Also:
- Constant Field Values
account_type_user
public static final int account_type_user
- See Also:
- Constant Field Values
UserAccount
public UserAccount(ShowMessagesAble p_mess,
java.util.ResourceBundle p_i18n)
- Creates new UserAccount
setDefaultValues
public void setDefaultValues()
getLoginName
public java.lang.String getLoginName()
setLoginName
public void setLoginName(java.lang.String name)
getAccountType
public int getAccountType()
getRootDirectory
public java.lang.String getRootDirectory()
getMaxNumberOfTrees
public long getMaxNumberOfTrees()
getClientSaveTreesPermission
public boolean getClientSaveTreesPermission()
getChangePasswordPermission
public boolean getChangePasswordPermission()
getUserName
public java.lang.String getUserName()
readFromBytes
public int readFromBytes(byte[] src,
int start)
throws ServerCommunicationFormatErrorException
- Throws:
ServerCommunicationFormatErrorException