|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.cluster.ClusterRecord org.apache.jackrabbit.core.cluster.NamespaceRecord
public class NamespaceRecord
Cluster record representing a namespace registration, reregistration or unregistration.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord |
---|
END_MARKER, record, workspace |
Constructor Summary | |
---|---|
NamespaceRecord(String oldPrefix,
String newPrefix,
String uri,
Record record)
Create a new instance of this class. |
Method Summary | |
---|---|
protected void |
doRead()
Deserialize this record. |
protected void |
doWrite()
Serialize this record. |
String |
getNewPrefix()
Return the new prefix. |
String |
getOldPrefix()
Return the old prefix. |
String |
getUri()
Return the URI. |
void |
process(ClusterRecordProcessor processor)
Process this record, calling the appropriate process
method. |
Methods inherited from class org.apache.jackrabbit.core.cluster.ClusterRecord |
---|
cancelUpdate, getRevision, getWorkspace, read, readEndMarker, update, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamespaceRecord(String oldPrefix, String newPrefix, String uri, Record record)
oldPrefix
- old prefixnewPrefix
- new prefixuri
- URIrecord
- journal recordMethod Detail |
---|
protected void doRead() throws JournalException
doRead
in class ClusterRecord
JournalException
- if an error occursprotected void doWrite() throws JournalException
doWrite
in class ClusterRecord
JournalException
- if an error occurspublic void process(ClusterRecordProcessor processor)
process
method.
process
in class ClusterRecord
processor
- processorpublic String getOldPrefix()
public String getNewPrefix()
public String getUri()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |