|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.security.RoleSynchronizer
public class RoleSynchronizer
Contains methods to Syncronize the portal list of roles
Constructor Summary | |
---|---|
RoleSynchronizer()
|
Method Summary | |
---|---|
private boolean |
exist(Role pRole,
IRoleDAO aRoleDAO)
Returns true if a role already exists into the role list, false if none. |
private java.lang.Integer |
findSBIDomainValueID(java.lang.String domainCode,
java.lang.String valueCode)
Gets the id for a Domain, given its code and value |
void |
synchronize()
Syncronize the portal roles with SpagoBI roles importing roles missing in SpagoBI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleSynchronizer()
Method Detail |
---|
public void synchronize()
private boolean exist(Role pRole, IRoleDAO aRoleDAO)
loadByName
method called doesn't throw any exception, so true is returned.
pRole
- The input role to controlaRoleDAO
- The interface role DAO object, used to call list roles
loaded by name.
private java.lang.Integer findSBIDomainValueID(java.lang.String domainCode, java.lang.String valueCode)
domainCode
- The Domain code StringvalueCode
- The domain Value Dtring
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |