org.apache.jackrabbit.core
Class SecurityItemModifier
java.lang.Object
org.apache.jackrabbit.core.SecurityItemModifier
- Direct Known Subclasses:
- ACLEditor, ACLEditor, UserManagerImpl
public abstract class SecurityItemModifier
- extends Object
SecurityItemModifier
: An abstract helper class to allow classes
of the security API residing outside of the core package to modify and remove
protected items for security. The protected item definitions are required in
order not to have security relevant content being changed through common
item operations but forcing the usage of the security API. The latter asserts
that implementation specific constraints are not violated.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityItemModifier
protected SecurityItemModifier()
addSecurityNode
protected NodeImpl addSecurityNode(NodeImpl parentImpl,
Name name,
Name ntName)
throws RepositoryException,
PathNotFoundException,
LockException,
ConstraintViolationException,
ItemExistsException,
VersionException
- Throws:
RepositoryException
PathNotFoundException
LockException
ConstraintViolationException
ItemExistsException
VersionException
setSecurityProperty
protected Property setSecurityProperty(NodeImpl parentImpl,
Name name,
Value value)
throws RepositoryException,
PathNotFoundException,
LockException,
ConstraintViolationException,
ItemExistsException,
VersionException
- Throws:
RepositoryException
PathNotFoundException
LockException
ConstraintViolationException
ItemExistsException
VersionException
setSecurityProperty
protected Property setSecurityProperty(NodeImpl parentImpl,
Name name,
Value[] values)
throws RepositoryException,
PathNotFoundException,
LockException,
ConstraintViolationException,
ItemExistsException,
VersionException
- Throws:
RepositoryException
PathNotFoundException
LockException
ConstraintViolationException
ItemExistsException
VersionException
removeSecurityItem
protected void removeSecurityItem(ItemImpl itemImpl)
throws LockException,
VersionException,
AccessDeniedException,
ItemNotFoundException,
RepositoryException
- Throws:
LockException
VersionException
AccessDeniedException
ItemNotFoundException
RepositoryException
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.