javax.wvcm
Interface Location

All Known Implementing Classes:
Location.GenericLocationImpl, LocationImpl

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

ALL

static final Location ALL

SELF

static final Location SELF

OWNER

static final Location OWNER

AUTHENTICATED

static final Location AUTHENTICATED

UNAUTHENTICATED

static final Location UNAUTHENTICATED
Method Detail

string

java.lang.String string()
Return the string value for this Location.


child

Location child(java.lang.String bindingName)
               throws WvcmException
Return the Location of the child with the specified binding name in the folder at this Location. The string value of the Location of the child is commonly created by appending a "/" and the name of the child to the string value of this Location.

Throws:
WvcmException

parent

Location parent()
Return the Location of the parent folder of the resource at this Location. If this Location is the root of the namespace, 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 activity()
Return a proxy for the activity at this Location.


folder

Folder folder()
Return a proxy for the folder at this Location.


resource

Resource resource()
Return a proxy for the resource at this Location.


controllableResource

ControllableResource controllableResource()
Return a proxy for the controllable resource at this Location.


workspace

Workspace workspace()
Return a proxy for the workspace at this location.


principal

Principal principal()
NOT YET STANDARD Return a proxy for the principal at this location.


group

Principal.Group group()
NOT YET STANDARD Return a proxy for the group principal at this location.


role

Principal.Role role()
NOT YET STANDARD Return a proxy for the role principal at this location.


privilege

AccessControlElement.Privilege privilege()
NOT YET STANDARD Return a proxy for the privilege at this location.


lastSegment

java.lang.String lastSegment()
NOT YET STANDARD Return the last (or right-most) segment of the location path.



Copyright (c) 2003 - Apache Software Foundation