|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Location
The location of a resource. All methods in this interface are client-side only, i.e. no communication with the server is required.
Nested Class Summary | |
---|---|
static class |
Location.GenericLocationImpl
Implementation of a generic Location. |
Field Summary | |
---|---|
static Location |
ALL
|
static Location |
AUTHENTICATED
|
static Location |
OWNER
|
static Location |
SELF
|
static Location |
UNAUTHENTICATED
|
Method Summary | |
---|---|
Activity |
activity()
Return a proxy for the activity at this Location. |
Location |
child(java.lang.String bindingName)
Return the Location of the child with the specified binding name in the folder at this Location. |
ControllableResource |
controllableResource()
Return a proxy for the controllable resource at this Location. |
Folder |
folder()
Return a proxy for the folder at this Location. |
Principal.Group |
group()
NOT YET STANDARD Return a proxy for the group principal at this location. |
java.lang.String |
lastSegment()
NOT YET STANDARD Return the last (or right-most) segment of the location path. |
Location |
parent()
Return the Location of the parent folder of the resource at this Location. |
Principal |
principal()
NOT YET STANDARD Return a proxy for the principal at this location. |
AccessControlElement.Privilege |
privilege()
NOT YET STANDARD Return a proxy for the privilege at this location. |
Resource |
resource()
Return a proxy for the resource at this Location. |
Principal.Role |
role()
NOT YET STANDARD Return a proxy for the role principal at this location. |
java.lang.String |
string()
Return the string value for this Location. |
Workspace |
workspace()
Return a proxy for the workspace at this location. |
Field Detail |
---|
static final Location ALL
static final Location SELF
static final Location OWNER
static final Location AUTHENTICATED
static final Location UNAUTHENTICATED
Method Detail |
---|
java.lang.String string()
Location child(java.lang.String bindingName) throws WvcmException
WvcmException
Location parent()
null
is returned.
The string value of the Location of the parent folder
is commonly created by stripping off the last segment
beginning with a "/" character of this Location.
Activity activity()
Folder folder()
Resource resource()
ControllableResource controllableResource()
Workspace workspace()
Principal principal()
Principal.Group group()
Principal.Role role()
AccessControlElement.Privilege privilege()
java.lang.String lastSegment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |