|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.bo.UserProfile
public class UserProfile
This class contain the information about the user
Field Summary |
---|
Fields inherited from interface it.eng.spago.security.IEngUserProfile |
---|
ENG_USER_PROFILE |
Constructor Summary | |
---|---|
UserProfile(SpagoBIUserProfile profile)
The Constructor. |
|
UserProfile(java.lang.String user)
The Constructor. |
Method Summary | |
---|---|
static UserProfile |
createSchedulerUserProfile()
Usato solo per lanciare i job. |
static UserProfile |
createWorkFlowUserProfile()
Usato solo nel workflow. |
java.util.Collection |
getFunctionalities()
|
java.util.Collection |
getFunctionalitiesByRole(java.lang.String arg0)
|
java.util.Collection |
getRoles()
|
java.lang.Object |
getUserAttribute(java.lang.String attributeName)
|
java.util.Collection |
getUserAttributeNames()
|
java.lang.Object |
getUserId()
|
java.lang.Object |
getUserName()
|
java.lang.Object |
getUserUniqueIdentifier()
|
boolean |
hasRole(java.lang.String roleName)
|
boolean |
isAbleToExecuteAction(java.lang.String actionName)
|
boolean |
isAbleToExecuteModuleInPage(java.lang.String pageName,
java.lang.String moduleName)
|
static boolean |
isSchedulerUser(java.lang.String userid)
Checks if is scheduler user. |
static boolean |
isWorkflowUser(java.lang.String userid)
Checks if is scheduler user. |
void |
setApplication(java.lang.String arg0)
|
void |
setAttributes(java.util.Map attrs)
Sets the attributes. |
void |
setFunctionalities(java.util.Collection functs)
Sets the functionalities. |
void |
setRoles(java.util.Collection rols)
Sets the roles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserProfile(SpagoBIUserProfile profile)
profile
- SpagoBIUserProfilepublic UserProfile(java.lang.String user)
user
- StringMethod Detail |
---|
public static final UserProfile createWorkFlowUserProfile()
public static final UserProfile createSchedulerUserProfile()
public static boolean isWorkflowUser(java.lang.String userid)
userid
- String
public static boolean isSchedulerUser(java.lang.String userid)
userid
- String
public java.util.Collection getFunctionalities() throws it.eng.spago.error.EMFInternalError
getFunctionalities
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public java.util.Collection getFunctionalitiesByRole(java.lang.String arg0) throws it.eng.spago.error.EMFInternalError
getFunctionalitiesByRole
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public java.util.Collection getRoles() throws it.eng.spago.error.EMFInternalError
getRoles
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public java.lang.Object getUserAttribute(java.lang.String attributeName) throws it.eng.spago.error.EMFInternalError
getUserAttribute
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public java.util.Collection getUserAttributeNames()
getUserAttributeNames
in interface it.eng.spago.security.IEngUserProfile
public java.lang.Object getUserUniqueIdentifier()
getUserUniqueIdentifier
in interface it.eng.spago.security.IEngUserProfile
public java.lang.Object getUserName()
public java.lang.Object getUserId()
public boolean hasRole(java.lang.String roleName) throws it.eng.spago.error.EMFInternalError
hasRole
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public boolean isAbleToExecuteAction(java.lang.String actionName) throws it.eng.spago.error.EMFInternalError
isAbleToExecuteAction
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public boolean isAbleToExecuteModuleInPage(java.lang.String pageName, java.lang.String moduleName) throws it.eng.spago.error.EMFInternalError
isAbleToExecuteModuleInPage
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public void setApplication(java.lang.String arg0) throws it.eng.spago.error.EMFInternalError
setApplication
in interface it.eng.spago.security.IEngUserProfile
it.eng.spago.error.EMFInternalError
public void setFunctionalities(java.util.Collection functs)
functs
- the new functionalitiespublic void setAttributes(java.util.Map attrs)
attrs
- the new attributespublic void setRoles(java.util.Collection rols)
rols
- the new roles
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |