javax.wvcm
Class Location.GenericLocationImpl

java.lang.Object
  extended by javax.wvcm.Location.GenericLocationImpl
All Implemented Interfaces:
Location
Enclosing interface:
Location

public static class Location.GenericLocationImpl
extends java.lang.Object
implements Location

Implementation of a generic Location.

Version:
$Revision: 1.1.1.1.2.2 $

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.wvcm.Location
Location.GenericLocationImpl
 
Field Summary
 
Fields inherited from interface javax.wvcm.Location
ALL, AUTHENTICATED, OWNER, SELF, 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.
 java.lang.String toString()
           
 Workspace workspace()
          Return a proxy for the workspace at this location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

resource

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

Specified by:
resource in interface Location

child

public 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.

Specified by:
child in interface Location
Throws:
WvcmException

activity

public Activity activity()
Return a proxy for the activity at this Location.

Specified by:
activity in interface Location

controllableResource

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

Specified by:
controllableResource in interface Location

parent

public 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.

Specified by:
parent in interface Location

folder

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

Specified by:
folder in interface Location

workspace

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

Specified by:
workspace in interface Location

lastSegment

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

Specified by:
lastSegment in interface Location

principal

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

Specified by:
principal in interface Location

group

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

Specified by:
group in interface Location

role

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

Specified by:
role in interface Location

privilege

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

Specified by:
privilege in interface Location

string

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

Specified by:
string in interface Location

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2003 - Apache Software Foundation