|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceRequest
ResourceRequest represents a user or system's request for a
generic Resource, which may be protected by the Cafesoft Access Management
System.
A ResourceRequest is uniquely identified by:
| Method Summary | |
|---|---|
String |
getActions()
Get the actions being requested on the Resource |
long |
getActionsMask()
Get an integer mask representing the actions being requested on the Resource. |
String |
getId()
Get the Resource's Id |
ResourceType |
getResourceType()
Get the ResourceType. |
void |
setActions(String actions)
Set the actions being performed on the Resource |
void |
setId(String id)
Set the Resource's Id |
| Method Detail |
|---|
ResourceType getResourceType()
String getId()
void setId(String id)
throws InvalidResourceException
id - a String indicating the Resource's Id
InvalidResourceException - if the Resource's identifier is
valid. This may occur if the identifier must follow a specific
pattern, or it must be non-null or non-empty.String getActions()
void setActions(String actions)
throws InvalidResourceException
actions - a String indicating the action(s) being requested.
InvalidResourceException - if one or more actions is invalid
for the resource associated with this request.long getActionsMask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||