|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
WebADEUserPermissions and
WebADEUserInfo instead.
This class represents a user of a single WebADE application. It contains the information that WebADE keeps about the user for an application. User objects are immutable.
By default, the euserid is hidden. If an application needs to view this value, extend the User object and provide a public getter for the euserid value. (getEuserId is protected) Then, create a new instance of your User object, passing in the target User to the super.User(User) constructor. This will populate your custom User object with the same information as the target User object, allowing you access to the euserid.
| Method Summary | |
boolean |
canPerformAction(java.lang.String actionName)
Deprecated. Returns a boolean indicating whether a user is authorized to perform action |
java.util.Date |
getEffectiveDate()
Deprecated. |
java.lang.String |
getEmailAddress()
Deprecated. |
java.util.Date |
getExpiryDate()
Deprecated. |
java.lang.String |
getFirstName()
Deprecated. |
Organization[] |
getGovernmentOrganizations()
Deprecated. Returns the Government Organizations a user has access to. |
java.lang.String |
getGuid()
Deprecated. |
java.lang.String |
getLastName()
Deprecated. |
java.lang.String |
getMiddleInitial()
Deprecated. |
Organization[] |
getNonGovernmentOrganizations()
Deprecated. Returns the Non-Government Organizations a user has access to. |
Organization[] |
getOrganizations()
Deprecated. |
java.lang.String |
getPhoneNumber()
Deprecated. |
Role[] |
getRoles()
Deprecated. |
Role[] |
getRolesByOrganization(Organization targetOrg)
Deprecated. Returns the set of roles assigned to the user by the given organization. |
Organization |
getSelectedOrganization()
Deprecated. |
java.lang.String |
getSourceDirectory()
Deprecated. |
java.lang.String |
getUserId()
Deprecated. Get the User id from the user object |
java.lang.String |
getUserType()
Deprecated. |
boolean |
isEmployee()
Deprecated. |
boolean |
isUserInOrganization(Organization org)
Deprecated. Returns a boolean indicating whether a user is authorized to act on behalf of an Organization. |
boolean |
isUserInRole(Role role)
Deprecated. Returns a boolean indicating whether a user is authorized to act in the given role. |
void |
setSelectedOrganization(Organization selectedOrg)
Deprecated. Sets the selected organization. |
| Method Detail |
public java.util.Date getEffectiveDate()
public java.lang.String getEmailAddress()
public boolean isEmployee()
public java.util.Date getExpiryDate()
public java.lang.String getFirstName()
public java.lang.String getGuid()
public java.lang.String getLastName()
public java.lang.String getMiddleInitial()
public java.lang.String getPhoneNumber()
public java.lang.String getSourceDirectory()
public java.lang.String getUserType()
public Organization[] getOrganizations()
public Role[] getRoles()
public Role[] getRolesByOrganization(Organization targetOrg)
targetOrg - The target organization.
public java.lang.String getUserId()
public boolean isUserInRole(Role role)
role - the name of a role
true if the user is authorized to act in the rolepublic boolean canPerformAction(java.lang.String actionName)
actionName - the name of an action
true if the user is authorized to perform actionpublic Organization getSelectedOrganization()
public void setSelectedOrganization(Organization selectedOrg)
selectedOrg - The selected organization.public Organization[] getGovernmentOrganizations()
public Organization[] getNonGovernmentOrganizations()
public boolean isUserInOrganization(Organization org)
org - the name of an organization
true if the user is authorized access Org Unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||