org.apache.jackrabbit.core.cluster
Class PrivilegeRecord
java.lang.Object
org.apache.jackrabbit.core.cluster.ClusterRecord
org.apache.jackrabbit.core.cluster.PrivilegeRecord
public class PrivilegeRecord
- extends ClusterRecord
PrivilegeRecord...
|
Method Summary |
protected void |
doRead()
Deserialize this record. |
protected void |
doWrite()
Serialize this record. |
Collection<org.apache.jackrabbit.spi.PrivilegeDefinition> |
getDefinitions()
Return the collection of privilege definitions. |
void |
process(ClusterRecordProcessor processor)
Process this record, calling the appropriate process
method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivilegeRecord
protected PrivilegeRecord(Record record)
PrivilegeRecord
protected PrivilegeRecord(Collection<org.apache.jackrabbit.spi.PrivilegeDefinition> definitions,
Record record)
doRead
protected void doRead()
throws JournalException
- Description copied from class:
ClusterRecord
- Deserialize this record. Subclass responsibility.
- Specified by:
doRead in class ClusterRecord
- Throws:
JournalException - if an error occurs
doWrite
protected void doWrite()
throws JournalException
- Description copied from class:
ClusterRecord
- Serialize this record. Subclass responsibility.
- Specified by:
doWrite in class ClusterRecord
- Throws:
JournalException - if an error occurs
process
public void process(ClusterRecordProcessor processor)
- Description copied from class:
ClusterRecord
- Process this record, calling the appropriate
process
method.
- Specified by:
process in class ClusterRecord
- Parameters:
processor - processor
getDefinitions
public Collection<org.apache.jackrabbit.spi.PrivilegeDefinition> getDefinitions()
- Return the collection of privilege definitions.
- Returns:
- unmodifiable collection
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.