public class WorkspaceRecord extends ClusterRecord
| Modifier and Type | Class and Description | 
|---|---|
| static class  | WorkspaceRecord.ActionBase workspace action | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | CREATE_WORKSPACE_ACTION_TYPESubtype 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  WorkspaceRecordfor 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  processmethod. | 
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–2022 The Apache Software Foundation. All rights reserved.