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, write
public 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
ClusterRecord
doRead
in class ClusterRecord
JournalException
- if an error occursprotected void doWrite() throws JournalException
ClusterRecord
doWrite
in class ClusterRecord
JournalException
- if an error occurspublic int getActionType()
public org.apache.jackrabbit.core.cluster.WorkspaceRecord.CreateWorkspaceAction getCreateWorkspaceAction()
public void process(ClusterRecordProcessor processor)
ClusterRecord
process
method.process
in class ClusterRecord
processor
- processorCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.