org.apache.jackrabbit.core
Class ProtectedItemModifier
java.lang.Object
org.apache.jackrabbit.core.ProtectedItemModifier
- Direct Known Subclasses:
- ACLEditor, ACLEditor, RetentionManagerImpl, UserManagerImpl
public abstract class ProtectedItemModifier
- 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 |
ProtectedItemModifier
protected ProtectedItemModifier()
ProtectedItemModifier
protected ProtectedItemModifier(int permission)
addNode
protected NodeImpl addNode(NodeImpl parentImpl,
Name name,
Name ntName)
throws RepositoryException
- Throws:
RepositoryException
setProperty
protected Property setProperty(NodeImpl parentImpl,
Name name,
Value value)
throws RepositoryException
- Throws:
RepositoryException
setProperty
protected Property setProperty(NodeImpl parentImpl,
Name name,
Value value,
boolean ignorePermissions)
throws RepositoryException
- Throws:
RepositoryException
setProperty
protected Property setProperty(NodeImpl parentImpl,
Name name,
Value[] values)
throws RepositoryException
- Throws:
RepositoryException
removeItem
protected void removeItem(ItemImpl itemImpl)
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.