org.apache.wvcm
Class PrivilegeImpl

java.lang.Object
  extended by org.apache.wvcm.ResourceImpl
      extended by org.apache.wvcm.PrivilegeImpl
All Implemented Interfaces:
AccessControlElement.Privilege, Resource

public class PrivilegeImpl
extends ResourceImpl
implements AccessControlElement.Privilege

Implementation of Privilege.

Version:
$Revision: 1.1.1.1.2.2 $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue
 
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 class org.apache.wvcm.ResourceImpl
dnsp, MISSING_PROPERTY_VALUE
 
Fields inherited from interface javax.wvcm.AccessControlElement.Privilege
ALL
 
Constructor Summary
PrivilegeImpl(Location location)
          Constructor
 
Method Summary
 void doCreateResource()
          Create a Privilege on the server.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class org.apache.wvcm.ResourceImpl
accessor, addLockToken, commit, doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, equals, folderAccessor, folderAccessor, getActiveLockTokens, getAttribute, getClientHttpMethod, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getHttpMethod, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyContainer, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, hashCode, listOfRemovedAttributes, listOfSetProperties, loadedProperties, location, removeAttribute, removeLockToken, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setHttpMethod, setHttpMethod, setProperty, setPropertyContainer
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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

PrivilegeImpl

public PrivilegeImpl(Location location)
Constructor

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()
Description copied from class: ResourceImpl
Returns a string representation of the object.

Overrides:
toString in class ResourceImpl
Returns:
a string representation of the object.


Copyright (c) 2003 - Apache Software Foundation