public class PrivilegeRecord extends ClusterRecord
PrivilegeRecord...END_MARKER, record, workspace| Modifier | Constructor and Description |
|---|---|
protected |
PrivilegeRecord(Collection<PrivilegeDefinition> definitions,
Record record) |
protected |
PrivilegeRecord(Record record) |
| Modifier and Type | Method and 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 appropriate
process
method. |
cancelUpdate, getRevision, getWorkspace, read, readEndMarker, update, writeprotected PrivilegeRecord(Record record)
protected PrivilegeRecord(Collection<PrivilegeDefinition> definitions, Record record)
protected void doRead()
throws JournalException
ClusterRecorddoRead in class ClusterRecordJournalException - if an error occursprotected void doWrite()
throws JournalException
ClusterRecorddoWrite in class ClusterRecordJournalException - if an error occurspublic void process(ClusterRecordProcessor processor)
ClusterRecordprocess
method.process in class ClusterRecordprocessor - processorpublic Collection<PrivilegeDefinition> getDefinitions()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.