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, write
protected PrivilegeRecord(Record record)
protected PrivilegeRecord(Collection<PrivilegeDefinition> definitions, Record record)
protected void doRead() throws JournalException
ClusterRecord
doRead
in class ClusterRecord
JournalException
- if an error occursprotected void doWrite() throws JournalException
ClusterRecord
doWrite
in class ClusterRecord
JournalException
- if an error occurspublic void process(ClusterRecordProcessor processor)
ClusterRecord
process
method.process
in class ClusterRecord
processor
- processorpublic Collection<PrivilegeDefinition> getDefinitions()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.