public class WorkspaceRecord extends ClusterRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkspaceRecord.Action
Base workspace action
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_WORKSPACE_ACTION_TYPE
Subtype for determining workspace action.
|
END_MARKER, record, workspace| Modifier | Constructor and Description |
|---|---|
protected |
WorkspaceRecord(Record record)
Creates a new empty
WorkspaceRecord. |
protected |
WorkspaceRecord(String workspace,
ClonedInputSource inputSource,
Record record)
Creates a new
WorkspaceRecord for create workspace action. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRead()
Deserialize this record.
|
protected void |
doWrite()
Serialize this record.
|
int |
getActionType() |
org.apache.jackrabbit.core.cluster.WorkspaceRecord.CreateWorkspaceAction |
getCreateWorkspaceAction() |
void |
process(ClusterRecordProcessor processor)
Process this record, calling the appropriate
process
method. |
cancelUpdate, getRevision, getWorkspace, read, readEndMarker, update, writepublic static final int CREATE_WORKSPACE_ACTION_TYPE
protected WorkspaceRecord(String workspace, ClonedInputSource inputSource, Record record)
WorkspaceRecord for create workspace action.workspace - workspace nameinputSource - input source with configuration for the workspacerecord - journal recordprotected WorkspaceRecord(Record record)
WorkspaceRecord.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 int getActionType()
public org.apache.jackrabbit.core.cluster.WorkspaceRecord.CreateWorkspaceAction getCreateWorkspaceAction()
public void process(ClusterRecordProcessor processor)
ClusterRecordprocess
method.process in class ClusterRecordprocessor - processorCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.