|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.equanda.test.dm.server.EquandaUserBean
public class EquandaUserBean
EquandaUser Definition of a user for a GUI application.
Field Summary |
---|
Constructor Summary | |
---|---|
EquandaUserBean()
|
Method Summary | |
---|---|
void |
addEquandaLinkRole(Uoid el)
Grouping of security rights for this user |
void |
addRole(EquandaRoleEJB el)
Grouping of security rights for this user |
void |
ejbActivate()
|
void |
ejbPassivate()
|
String |
getAuthAndConfig()
Authorization and configuration details for this user. |
EquandaUser |
getEquanda()
|
Collection<Uoid> |
getEquandaLinkRoles()
Grouping of security rights for this user |
Timestamp |
getEquandaModificationDate()
|
String |
getEquandaName()
|
String |
getEquandaStatus()
|
String |
getEquandaType()
|
long |
getEquandaVersion()
|
String |
getFirstName()
|
Uoid |
getId()
|
String |
getLanguage()
|
String |
getName()
|
String |
getPassword()
|
Collection<EquandaRoleEJB> |
getRoles()
Grouping of security rights for this user |
String |
getStartPage()
Starting page in GUI |
String |
getUserName()
|
boolean |
hasEquandaLinkRole(Uoid el)
Grouping of security rights for this user |
boolean |
hasRole(EquandaRoleEJB el)
Grouping of security rights for this user |
void |
init()
|
void |
init(String type)
|
void |
init(Uoid id)
|
void |
initEntity(EquandaEntity entity)
|
boolean |
isEquandaType(String type)
|
void |
login()
Action which should be called automatically when logging in. |
void |
logout()
Action which should be called automatically when logging out. |
protected boolean |
objectEquals(Object obj1,
Object obj2)
utility routine to test equality of objects without relying on one of them being not null. |
void |
remove()
|
void |
removeEntityBean()
|
void |
removeEquandaLinkRole(Uoid el)
Grouping of security rights for this user |
void |
removeRole(EquandaRoleEJB el)
Grouping of security rights for this user |
void |
setAuthAndConfig(String authAndConfig)
|
void |
setEquandaStatus(String status)
|
void |
setFirstName(String firstName)
|
void |
setLanguage(String language)
|
void |
setName(String name)
|
void |
setPassword(String password)
|
void |
setStartPage(String startPage)
|
void |
setUserName(String userName)
|
void |
updateEquanda(EquandaUser proxy)
Internal routine to update based on a proxy object, update indicates whether all fields need setting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EquandaUserBean()
Method Detail |
---|
public void init(Uoid id) throws EquandaPersistenceException
init
in interface EquandaEJB<Uoid>
EquandaPersistenceException
public void initEntity(EquandaEntity entity) throws EquandaPersistenceException
initEntity
in interface EquandaEJB<Uoid>
EquandaPersistenceException
public void init(String type) throws EquandaPersistenceException
init
in interface EquandaUserBase
EquandaPersistenceException
public void init() throws EquandaPersistenceException
init
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public Uoid getId()
getId
in interface HasId<Uoid>
@PermitAll public Timestamp getEquandaModificationDate()
getEquandaModificationDate
in interface EquandaEJB<Uoid>
@PermitAll public long getEquandaVersion()
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaStatus()
getEquandaStatus
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void setEquandaStatus(String status)
setEquandaStatus
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaType()
getEquandaType
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public boolean isEquandaType(String type)
isEquandaType
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaName()
getEquandaName
in interface EquandaEJB<Uoid>
@PermitAll public EquandaUser getEquanda()
getEquanda
in interface EquandaUserBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void updateEquanda(EquandaUser proxy) throws EquandaPersistenceException
updateEquanda
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getUserName()
getUserName
in interface EquandaUserBase
public void setUserName(String userName) throws EquandaPersistenceException
setUserName
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getFirstName()
getFirstName
in interface EquandaUserBase
public void setFirstName(String firstName) throws EquandaPersistenceException
setFirstName
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getName()
getName
in interface EquandaUserBase
public void setName(String name) throws EquandaPersistenceException
setName
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getPassword()
getPassword
in interface EquandaUserBase
public void setPassword(String password) throws EquandaPersistenceException
setPassword
in interface EquandaUserBase
EquandaPersistenceException
public Collection<EquandaRoleEJB> getRoles()
getRoles
in interface EquandaUserBase
public void addRole(EquandaRoleEJB el) throws EquandaPersistenceException
addRole
in interface EquandaUserBase
EquandaPersistenceException
public void removeRole(EquandaRoleEJB el) throws EquandaPersistenceException
removeRole
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public boolean hasRole(EquandaRoleEJB el)
hasRole
in interface EquandaUserBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public Collection<Uoid> getEquandaLinkRoles()
getEquandaLinkRoles
in interface EquandaUserBase
public void addEquandaLinkRole(Uoid el) throws EquandaPersistenceException
addEquandaLinkRole
in interface EquandaUserBase
EquandaPersistenceException
public void removeEquandaLinkRole(Uoid el) throws EquandaPersistenceException
removeEquandaLinkRole
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public boolean hasEquandaLinkRole(Uoid el)
hasEquandaLinkRole
in interface EquandaUserBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getLanguage()
getLanguage
in interface EquandaUserBase
public void setLanguage(String language) throws EquandaPersistenceException
setLanguage
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getAuthAndConfig()
getAuthAndConfig
in interface EquandaUserBase
public void setAuthAndConfig(String authAndConfig) throws EquandaPersistenceException
setAuthAndConfig
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getStartPage()
getStartPage
in interface EquandaUserBase
public void setStartPage(String startPage) throws EquandaPersistenceException
setStartPage
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void login() throws EquandaPersistenceException
login
in interface EquandaUserBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void logout() throws EquandaPersistenceException
logout
in interface EquandaUserBase
EquandaPersistenceException
public void ejbActivate()
public void ejbPassivate()
@PermitAll public void remove()
remove
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void removeEntityBean() throws EquandaPersistenceException
removeEntityBean
in interface EquandaUserBase
EquandaPersistenceException
protected boolean objectEquals(Object obj1, Object obj2)
obj1
- one of the objects to compareobj2
- other object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |