net.sourceforge.fixagora.basis.shared.model.persistence
Class FUser

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.persistence.AbstractBusinessObject
      extended by net.sourceforge.fixagora.basis.shared.model.persistence.FUser
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.lang.Object>, PersistenceInterface

@Entity
public class FUser
extends AbstractBusinessObject

The Class FUser.

See Also:
Serialized Form

Constructor Summary
FUser()
           
 
Method Summary
 boolean canExecute(AbstractBusinessObject abstractBusinessObject)
          Can execute.
 boolean canRead(AbstractBusinessObject abstractBusinessObject)
          Can read.
 boolean canWrite(AbstractBusinessObject abstractBusinessObject)
          Can write.
 java.lang.String getAcademicTitle()
          Gets the academic title.
 java.lang.String getAdditionalTreeText()
          Gets the additional tree text.
 java.awt.Color getAdditionalTreeTextColor()
          Gets the additional tree text color.
 java.util.Set<FRole> getAssignedRoles()
          Gets the assigned roles.
 java.lang.String getBuilding()
          Gets the building.
 java.lang.String getBusinessObjectName()
          Gets the business object name.
 java.lang.String getDepartment()
          Gets the department.
 java.util.List<java.lang.String> getDockSettings()
          Gets the dock settings.
 java.lang.String getEmail()
          Gets the email.
 java.util.Set<java.lang.Long> getExpandSet()
          Gets the expand set.
 java.lang.String getFax()
          Gets the fax.
 java.lang.String getFfunction()
          Gets the ffunction.
 java.lang.String getFirstName()
          Gets the first name.
 java.lang.String getfLanguage()
          Gets the f language.
 java.lang.String getFloor()
          Gets the floor.
 java.lang.String getFpassword()
          Gets the fpassword.
 java.lang.String getFPassword()
          Gets the f password.
 java.lang.String getFtitle()
          Gets the ftitle.
 java.util.List<FUserPartyID> getfUserPartyIDs()
          Gets the f user party i ds.
 java.lang.String getHash(java.lang.String password)
          Gets the hash.
 java.lang.String getIcon()
          Gets the icon.
 java.lang.String getLargeIcon()
          Gets the large icon.
 java.lang.String getLastName()
          Gets the last name.
 int getMainPanelPanelHeight()
          Gets the main panel panel height.
 java.lang.String getMobilePhone()
          Gets the mobile phone.
 java.util.Set<java.lang.Long> getOpenBusinessObjects()
          Gets the open business objects.
 java.lang.String getRoomNumber()
          Gets the room number.
 java.lang.String getTelephone()
          Gets the telephone.
 int getTreePanelWidth()
          Gets the tree panel width.
 java.lang.String getXMLDockSettings()
          Gets the xML dock settings.
 boolean isLoggedIn()
          Checks if is logged in.
 void makeEager()
          Make eager.
 void setAcademicTitle(java.lang.String academicTitle)
          Sets the academic title.
 void setAssignedRoles(java.util.Set<FRole> assignedRoles)
          Sets the assigned roles.
 void setBuilding(java.lang.String building)
          Sets the building.
 void setDepartment(java.lang.String department)
          Sets the department.
 void setDockSettings(java.util.List<java.lang.String> dockSettings)
          Sets the dock settings.
 void setEmail(java.lang.String email)
          Sets the email.
 void setExpandSet(java.util.Set<java.lang.Long> expandSet)
          Sets the expand set.
 void setFax(java.lang.String fax)
          Sets the fax.
 void setFfunction(java.lang.String ffunction)
          Sets the ffunction.
 void setFirstName(java.lang.String firstName)
          Sets the first name.
 void setfLanguage(java.lang.String fLanguage)
          Sets the f language.
 void setFloor(java.lang.String floor)
          Sets the floor.
 void setFpassword(java.lang.String fpassword)
          Sets the fpassword.
 void setFPassword(java.lang.String password)
          Sets the f password.
 void setFtitle(java.lang.String ftitle)
          Sets the ftitle.
 void setfUserPartyIDs(java.util.List<FUserPartyID> fUserPartyIDs)
          Sets the f user party i ds.
 void setLastName(java.lang.String lastName)
          Sets the last name.
 void setLoggedIn(boolean loggedIn)
          Sets the logged in.
 void setMainPanelPanelHeight(int mainPanelPanelHeight)
          Sets the main panel panel height.
 void setMobilePhone(java.lang.String mobilePhone)
          Sets the mobile phone.
 void setOpenBusinessObjects(java.util.Set<java.lang.Long> openBusinessObjects)
          Sets the open business objects.
 void setPlainPassword(java.lang.String password)
          Sets the plain password.
 void setRoomNumber(java.lang.String roomNumber)
          Sets the room number.
 void setTelephone(java.lang.String telephone)
          Sets the telephone.
 void setTransientValues(TransientValueSetter transientValueSetter)
          Sets the transient values.
 void setTreePanelWidth(int treePanelWidth)
          Sets the tree panel width.
 void setXMLDockSettings(java.lang.String dockSettings)
          Sets the xML dock settings.
 
Methods inherited from class net.sourceforge.fixagora.basis.shared.model.persistence.AbstractBusinessObject
compareTo, equals, getExecuteRoles, getId, getModificationDate, getModificationUser, getName, getParent, getPosition, getReadRoles, getWriteRoles, hashCode, isAffectedBy, isEditable, isMovable, setExecuteRoles, setId, setModificationDate, setModificationUser, setName, setParent, setReadRoles, setWriteRoles, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FUser

public FUser()
Method Detail

getFpassword

public java.lang.String getFpassword()
Gets the fpassword.

Returns:
the fpassword

getfUserPartyIDs

public java.util.List<FUserPartyID> getfUserPartyIDs()
Gets the f user party i ds.

Returns:
the f user party i ds

setfUserPartyIDs

public void setfUserPartyIDs(java.util.List<FUserPartyID> fUserPartyIDs)
Sets the f user party i ds.

Parameters:
fUserPartyIDs - the new f user party i ds

setFpassword

public void setFpassword(java.lang.String fpassword)
Sets the fpassword.

Parameters:
fpassword - the new fpassword

getFtitle

public java.lang.String getFtitle()
Gets the ftitle.

Returns:
the ftitle

setFtitle

public void setFtitle(java.lang.String ftitle)
Sets the ftitle.

Parameters:
ftitle - the new ftitle

getAcademicTitle

public java.lang.String getAcademicTitle()
Gets the academic title.

Returns:
the academic title

setAcademicTitle

public void setAcademicTitle(java.lang.String academicTitle)
Sets the academic title.

Parameters:
academicTitle - the new academic title

getFfunction

public java.lang.String getFfunction()
Gets the ffunction.

Returns:
the ffunction

setFfunction

public void setFfunction(java.lang.String ffunction)
Sets the ffunction.

Parameters:
ffunction - the new ffunction

getDepartment

public java.lang.String getDepartment()
Gets the department.

Returns:
the department

setDepartment

public void setDepartment(java.lang.String department)
Sets the department.

Parameters:
department - the new department

getRoomNumber

public java.lang.String getRoomNumber()
Gets the room number.

Returns:
the room number

setRoomNumber

public void setRoomNumber(java.lang.String roomNumber)
Sets the room number.

Parameters:
roomNumber - the new room number

getFloor

public java.lang.String getFloor()
Gets the floor.

Returns:
the floor

setFloor

public void setFloor(java.lang.String floor)
Sets the floor.

Parameters:
floor - the new floor

getBuilding

public java.lang.String getBuilding()
Gets the building.

Returns:
the building

setBuilding

public void setBuilding(java.lang.String building)
Sets the building.

Parameters:
building - the new building

getfLanguage

public java.lang.String getfLanguage()
Gets the f language.

Returns:
the f language

setfLanguage

public void setfLanguage(java.lang.String fLanguage)
Sets the f language.

Parameters:
fLanguage - the new f language

getTelephone

public java.lang.String getTelephone()
Gets the telephone.

Returns:
the telephone

setTelephone

public void setTelephone(java.lang.String telephone)
Sets the telephone.

Parameters:
telephone - the new telephone

getMobilePhone

public java.lang.String getMobilePhone()
Gets the mobile phone.

Returns:
the mobile phone

setMobilePhone

public void setMobilePhone(java.lang.String mobilePhone)
Sets the mobile phone.

Parameters:
mobilePhone - the new mobile phone

getFax

public java.lang.String getFax()
Gets the fax.

Returns:
the fax

setFax

public void setFax(java.lang.String fax)
Sets the fax.

Parameters:
fax - the new fax

getEmail

public java.lang.String getEmail()
Gets the email.

Returns:
the email

setEmail

public void setEmail(java.lang.String email)
Sets the email.

Parameters:
email - the new email

getDockSettings

public java.util.List<java.lang.String> getDockSettings()
Gets the dock settings.

Returns:
the dock settings

setDockSettings

public void setDockSettings(java.util.List<java.lang.String> dockSettings)
Sets the dock settings.

Parameters:
dockSettings - the new dock settings

getXMLDockSettings

public java.lang.String getXMLDockSettings()
Gets the xML dock settings.

Returns:
the xML dock settings

setXMLDockSettings

public void setXMLDockSettings(java.lang.String dockSettings)
Sets the xML dock settings.

Parameters:
dockSettings - the new xML dock settings

getOpenBusinessObjects

public java.util.Set<java.lang.Long> getOpenBusinessObjects()
Gets the open business objects.

Returns:
the open business objects

setOpenBusinessObjects

public void setOpenBusinessObjects(java.util.Set<java.lang.Long> openBusinessObjects)
Sets the open business objects.

Parameters:
openBusinessObjects - the new open business objects

getExpandSet

public java.util.Set<java.lang.Long> getExpandSet()
Gets the expand set.

Returns:
the expand set

setExpandSet

public void setExpandSet(java.util.Set<java.lang.Long> expandSet)
Sets the expand set.

Parameters:
expandSet - the new expand set

getTreePanelWidth

public int getTreePanelWidth()
Gets the tree panel width.

Returns:
the tree panel width

setTreePanelWidth

public void setTreePanelWidth(int treePanelWidth)
Sets the tree panel width.

Parameters:
treePanelWidth - the new tree panel width

getMainPanelPanelHeight

public int getMainPanelPanelHeight()
Gets the main panel panel height.

Returns:
the main panel panel height

setMainPanelPanelHeight

public void setMainPanelPanelHeight(int mainPanelPanelHeight)
Sets the main panel panel height.

Parameters:
mainPanelPanelHeight - the new main panel panel height

getFPassword

public java.lang.String getFPassword()
Gets the f password.

Returns:
the f password

setFPassword

public void setFPassword(java.lang.String password)
Sets the f password.

Parameters:
password - the new f password

setPlainPassword

public void setPlainPassword(java.lang.String password)
                      throws java.lang.Exception
Sets the plain password.

Parameters:
password - the new plain password
Throws:
java.lang.Exception - the exception

getHash

public java.lang.String getHash(java.lang.String password)
                         throws java.lang.Exception
Gets the hash.

Parameters:
password - the password
Returns:
the hash
Throws:
java.lang.Exception - the exception

getAssignedRoles

public java.util.Set<FRole> getAssignedRoles()
Gets the assigned roles.

Returns:
the assigned roles

setAssignedRoles

public void setAssignedRoles(java.util.Set<FRole> assignedRoles)
Sets the assigned roles.

Parameters:
assignedRoles - the new assigned roles

getFirstName

public java.lang.String getFirstName()
Gets the first name.

Returns:
the first name

setFirstName

public void setFirstName(java.lang.String firstName)
Sets the first name.

Parameters:
firstName - the new first name

getLastName

public java.lang.String getLastName()
Gets the last name.

Returns:
the last name

setLastName

public void setLastName(java.lang.String lastName)
Sets the last name.

Parameters:
lastName - the new last name

getIcon

public java.lang.String getIcon()
Description copied from class: AbstractBusinessObject
Gets the icon.

Overrides:
getIcon in class AbstractBusinessObject
Returns:
the icon

getAdditionalTreeTextColor

public java.awt.Color getAdditionalTreeTextColor()
Description copied from class: AbstractBusinessObject
Gets the additional tree text color.

Overrides:
getAdditionalTreeTextColor in class AbstractBusinessObject
Returns:
the additional tree text color

getAdditionalTreeText

public java.lang.String getAdditionalTreeText()
Description copied from class: AbstractBusinessObject
Gets the additional tree text.

Overrides:
getAdditionalTreeText in class AbstractBusinessObject
Returns:
the additional tree text

getLargeIcon

public java.lang.String getLargeIcon()
Description copied from class: AbstractBusinessObject
Gets the large icon.

Overrides:
getLargeIcon in class AbstractBusinessObject
Returns:
the large icon

isLoggedIn

public boolean isLoggedIn()
Checks if is logged in.

Returns:
true, if is logged in

setLoggedIn

public void setLoggedIn(boolean loggedIn)
Sets the logged in.

Parameters:
loggedIn - the new logged in

makeEager

public void makeEager()
Description copied from interface: PersistenceInterface
Make eager.

Specified by:
makeEager in interface PersistenceInterface
Overrides:
makeEager in class AbstractBusinessObject

getBusinessObjectName

public java.lang.String getBusinessObjectName()
Description copied from class: AbstractBusinessObject
Gets the business object name.

Specified by:
getBusinessObjectName in class AbstractBusinessObject
Returns:
the business object name

canRead

public boolean canRead(AbstractBusinessObject abstractBusinessObject)
Can read.

Parameters:
abstractBusinessObject - the abstract business object
Returns:
true, if successful

canWrite

public boolean canWrite(AbstractBusinessObject abstractBusinessObject)
Can write.

Parameters:
abstractBusinessObject - the abstract business object
Returns:
true, if successful

canExecute

public boolean canExecute(AbstractBusinessObject abstractBusinessObject)
Can execute.

Parameters:
abstractBusinessObject - the abstract business object
Returns:
true, if successful

setTransientValues

public void setTransientValues(TransientValueSetter transientValueSetter)
Description copied from interface: PersistenceInterface
Sets the transient values.

Specified by:
setTransientValues in interface PersistenceInterface
Overrides:
setTransientValues in class AbstractBusinessObject
Parameters:
transientValueSetter - the new transient values