net.simplace.util.user.UserRightsObject

Object containing user data including its rights to open functions of the software.


public class UserRightsObject {
// Public Constructors
public UserRightsObject();
public UserRightsObject(String aUserKey, String aPW);
public UserRightsObject(String aXMLContent) throws Exception;
public UserRightsObject(Element aUserElement) throws FileFormatException;


// Public Instance Methods
public List getUserGroups();

getting UserGroups-List for which the user is registered
returns List of Strings of UserGroups
public void addUserGroup(String aUserGroup);

add one UserGroup UserGroups-List for which the user is registered
public boolean isUserInGroup(String aUserGroup);

getting UserGroups-List for which the user is registered
returns if User is registered for
public String getAutostartfunction();


returns the users autostartFunction
public String getCity();


returns the users city
public void setCity(String aCity);

public String getCountry();


returns the users country
public void setCountry(String aCountry);

public String getDepartment();


returns the users department
public void setDepartment(String aDepartment);

public String getEMail();


returns the users mail-address
public void setEMail(String aMail);

public String getExternID();


returns the extern id
public void setExternID(String aExternID);

public String getFax();


returns the fax number
public void setFax(String aFax);

public String getFirstName();


returns first name
public void setFirstName(String aFirstName);

public String getName();


returns single name
public void setName(String aName);

public String getPhone();


returns phone number
public void setPhone(String aPhone);

public String getPostalCode();


returns postal code
public void setPostalCode(String aPostalCode);

public boolean isPWCorrect(String aPassword);


returns if password is correct
public String getPassword();


returns the password
public void setPW(String aPw);

public String getStreet();


returns the street
public void setStreet(String aStreet);

public String getTitle();


returns the title
public void setTitle(String aTitle);

public String getUserKey();


returns the userKey (identifier)
public String toString(); // Overrides java.lang.Object



}



Passed to: net.simplace.ui.tree.FWTreeNodeFactory()



Returned by: net.simplace.util.customize.FWCustomizableLayoutProvider.getCurrentUserRightsObject(), net.simplace.ui.FWLoginFrame.getUserObject()



Type of: net.simplace.ui.tree.FWTreeNodeFactory.iCurrentUserRightsObject