javax.wvcm
Class AccessControlElement.Privilege.GenericPrivilegeImpl

java.lang.Object
  extended by javax.wvcm.Resource.GenericResourceImpl
      extended by javax.wvcm.AccessControlElement.Privilege.GenericPrivilegeImpl
All Implemented Interfaces:
AccessControlElement.Privilege, Resource
Enclosing interface:
AccessControlElement.Privilege

public static class AccessControlElement.Privilege.GenericPrivilegeImpl
extends Resource.GenericResourceImpl
implements AccessControlElement.Privilege

NOT YET STANDARD Implementation of a generic Privilege.

Version:
$Revision: 1.1.1.1.2.1 $

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.wvcm.AccessControlElement.Privilege
AccessControlElement.Privilege.GenericPrivilegeImpl
 
Nested classes/interfaces inherited from interface javax.wvcm.Resource
Resource.GenericResourceImpl
 
Field Summary
 
Fields inherited from interface javax.wvcm.AccessControlElement.Privilege
ALL
 
Constructor Summary
AccessControlElement.Privilege.GenericPrivilegeImpl(Location location)
          Constructor
 
Method Summary
 void doCreateResource()
          Create a Privilege on the server.
 java.lang.String toString()
           
 
Methods inherited from class javax.wvcm.Resource.GenericResourceImpl
doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getAttribute, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, location, removeAttribute, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.wvcm.Resource
doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getAttribute, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, location, removeAttribute, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setProperty
 

Constructor Detail

AccessControlElement.Privilege.GenericPrivilegeImpl

public AccessControlElement.Privilege.GenericPrivilegeImpl(Location location)
Constructor

Parameters:
location - a Location
Method Detail

doCreateResource

public void doCreateResource()
                      throws WvcmException
Create a Privilege on the server.

Specified by:
doCreateResource in interface AccessControlElement.Privilege
Throws:
WvcmException - Preconditions:
(resource-must-be-null): A resource MUST NOT exist at the location of this Resource.
(location-ok): The location of this Privilege MUST identify a valid location to create this Resource. A client can determine the location of folders that can contain Privileges from the PrivilegeFolderList property.
WvcmException - Postconditions:
(initialize-resource): A new Privilege resource exists at the location of this Resource.

toString

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


Copyright (c) 2003 - Apache Software Foundation