Class PrivilegeRecord
- java.lang.Object
-
- org.apache.jackrabbit.core.cluster.ClusterRecord
-
- org.apache.jackrabbit.core.cluster.PrivilegeRecord
-
public class PrivilegeRecord extends ClusterRecord
PrivilegeRecord
...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord
END_MARKER, record, workspace
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PrivilegeRecord(Collection<PrivilegeDefinition> definitions, Record record)
protected
PrivilegeRecord(Record record)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRead()
Deserialize this record.protected void
doWrite()
Serialize this record.Collection<PrivilegeDefinition>
getDefinitions()
Return the collection of privilege definitions.void
process(ClusterRecordProcessor processor)
Process this record, calling the appropriateprocess
method.-
Methods inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord
cancelUpdate, getRevision, getWorkspace, read, readEndMarker, update, write
-
-
-
-
Constructor Detail
-
PrivilegeRecord
protected PrivilegeRecord(Record record)
-
PrivilegeRecord
protected PrivilegeRecord(Collection<PrivilegeDefinition> definitions, Record record)
-
-
Method Detail
-
doRead
protected void doRead() throws JournalException
Description copied from class:ClusterRecord
Deserialize this record. Subclass responsibility.- Specified by:
doRead
in classClusterRecord
- 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 classClusterRecord
- Throws:
JournalException
- if an error occurs
-
process
public void process(ClusterRecordProcessor processor)
Description copied from class:ClusterRecord
Process this record, calling the appropriateprocess
method.- Specified by:
process
in classClusterRecord
- Parameters:
processor
- processor
-
getDefinitions
public Collection<PrivilegeDefinition> getDefinitions()
Return the collection of privilege definitions.- Returns:
- unmodifiable collection
-
-