|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.equanda.test.dm.server.EquandaRoleBean
public class EquandaRoleBean
EquandaRole Grouping many rights
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
EquandaRoleBean()
|
|
| Method Summary | |
|---|---|
void |
ejbActivate()
|
void |
ejbPassivate()
|
String |
getAppserverRole()
Name of role as defined in the application server itself. |
String |
getAuthAndConfig()
Authorization and configuration details for this user. |
String |
getDescription()
|
EquandaRole |
getEquanda()
|
Timestamp |
getEquandaModificationDate()
|
String |
getEquandaName()
|
String |
getEquandaStatus()
|
String |
getEquandaType()
|
long |
getEquandaVersion()
|
boolean |
getGuiAccessProhibited()
When set the user is not allowed to login to the gui. |
boolean |
getGuiAdministrator()
Should this user have the right to edit users, assign access rights etc? |
Uoid |
getId()
|
String |
getRoleName()
|
void |
init()
|
void |
init(String type)
|
void |
init(Uoid id)
|
void |
initEntity(EquandaEntity entity)
|
boolean |
isEquandaType(String type)
|
boolean |
isGuiAccessProhibited()
When set the user is not allowed to login to the gui. |
boolean |
isGuiAdministrator()
Should this user have the right to edit users, assign access rights etc? |
void |
mergeRestrictions(String param0,
String param1)
Mix the current role and the role with name given by parameter mergeName into a new role (resultName) For each identifier, the most restrictive value from the two roles is copied. |
void |
mergeRights(String param0,
String param1)
Mix the current role and the role with name given by parameter mergeName into a new role (resultName) For each identifier, the less restrictive value from the two roles is copied. |
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 |
setAppserverRole(String appserverRole)
|
void |
setAuthAndConfig(String authAndConfig)
|
void |
setDescription(String description)
|
void |
setEquandaStatus(String status)
|
void |
setGuiAccessProhibited(boolean guiAccessProhibited)
|
void |
setGuiAdministrator(boolean guiAdministrator)
|
void |
setRoleName(String roleName)
|
void |
updateEquanda(EquandaRole 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 EquandaRoleBean()
| 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 EquandaRoleBaseEquandaPersistenceException
public void init()
throws EquandaPersistenceException
init in interface EquandaRoleBaseEquandaPersistenceException
@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 EquandaRole getEquanda()
getEquanda in interface EquandaRoleBase
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void updateEquanda(EquandaRole proxy)
throws EquandaPersistenceException
updateEquanda in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public String getRoleName()
getRoleName in interface EquandaRoleBase
public void setRoleName(String roleName)
throws EquandaPersistenceException
setRoleName in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public String getDescription()
getDescription in interface EquandaRoleBase
public void setDescription(String description)
throws EquandaPersistenceException
setDescription in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public boolean getGuiAdministrator()
getGuiAdministrator in interface EquandaRoleBase
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public boolean isGuiAdministrator()
isGuiAdministrator in interface EquandaRoleBase
public void setGuiAdministrator(boolean guiAdministrator)
throws EquandaPersistenceException
setGuiAdministrator in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public boolean getGuiAccessProhibited()
getGuiAccessProhibited in interface EquandaRoleBase
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public boolean isGuiAccessProhibited()
isGuiAccessProhibited in interface EquandaRoleBase
public void setGuiAccessProhibited(boolean guiAccessProhibited)
throws EquandaPersistenceException
setGuiAccessProhibited in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public String getAppserverRole()
getAppserverRole in interface EquandaRoleBase
public void setAppserverRole(String appserverRole)
throws EquandaPersistenceException
setAppserverRole in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public String getAuthAndConfig()
getAuthAndConfig in interface EquandaRoleBase
public void setAuthAndConfig(String authAndConfig)
throws EquandaPersistenceException
setAuthAndConfig in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void mergeRestrictions(String param0,
String param1)
throws EquandaPersistenceException
mergeRestrictions in interface EquandaRoleBaseEquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"})
public void mergeRights(String param0,
String param1)
throws EquandaPersistenceException
mergeRights in interface EquandaRoleBaseEquandaPersistenceExceptionpublic 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 EquandaRoleBaseEquandaPersistenceException
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 | |||||||||