|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.publication.PublicationRecord
public class PublicationRecord
Describes the basic properties for a metadata document that is about to be published.
Constructor Summary | |
---|---|
PublicationRecord()
Default constructor. |
Method Summary | |
---|---|
String |
getAlternativeTitle()
Gets alternative title. |
String |
getApprovalStatus()
Gets the approval status. |
boolean |
getAutoApprove()
Gets the status indicating if a new document should be automatically approved. |
String |
getFileIdentifier()
Gets the file identifier. |
boolean |
getIndexEnabled()
Checks if index creation is enabled. |
boolean |
getLockTitle()
Checks if updating title is enabled. |
String |
getPublicationMethod()
Gets the publication method. |
String |
getSiteUuid()
Gets harvest site UUID. |
String |
getSourceFileName()
Gets the source file name (applicable for uploaded files). |
String |
getSourceUri()
Gets the source URI for the document. |
String |
getSourceXml()
Gets the source XML string. |
boolean |
getUpdateOnlyIfXmlHasChanged()
Gets the status indicating if a document should be updated only if the XML has changed. |
String |
getUuid()
Gets the UUID for the document. |
boolean |
getWasDocumentReplaced()
Gets the status indicating if a document was replaced within the catalog. |
boolean |
getWasDocumentUnchanged()
Gets the status indicating if a document was unchanged (no XML change, no database update tool place). |
void |
setAlternativeTitle(String title)
Sets alternative title. |
void |
setApprovalStatus(String status)
Sets the approval status. |
void |
setAutoApprove(boolean autoApprove)
Sets the status indicating if a new document should be automatically approved. |
void |
setFileIdentifier(String id)
Sets the file identifier. |
void |
setIndexEnabled(boolean indexEnabled)
Enables index creation. |
void |
setLockTitle(boolean lockTitle)
Enables updating title. |
void |
setPublicationMethod(String method)
Sets the publication method. |
void |
setSiteUuid(String siteUuid)
Sets harvest site UUID. |
void |
setSourceFileName(String fileName)
Sets the source file name (applicable for uploaded files). |
void |
setSourceUri(String uri)
Sets the source URI for the document. |
void |
setSourceXml(String xml)
Sets the source XML string. |
void |
setUpdateOnlyIfXmlHasChanged(boolean onlyIfChanged)
Sets the status indicating if a document should be updated only if the XML has changed. |
void |
setUuid(String uuid)
Sets the UUID for the document. |
protected void |
setWasDocumentReplaced(boolean wasReplaced)
Sets the status indicating if a document was replaced within the catalog. |
protected void |
setWasDocumentUnchanged(boolean wasUnchanged)
Sets the status indicating if a document was unchanged (no XML change, no database update tool place). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicationRecord()
Method Detail |
---|
public boolean getAutoApprove()
public void setAutoApprove(boolean autoApprove)
autoApprove
- true if a new document should be automatically approvedpublic String getApprovalStatus()
public void setApprovalStatus(String status)
status
- the approval statuspublic String getFileIdentifier()
public void setFileIdentifier(String id)
id
- the file identifierpublic String getPublicationMethod()
public void setPublicationMethod(String method)
method
- the publication methodpublic String getSourceFileName()
public void setSourceFileName(String fileName)
fileName
- the source file namepublic String getSiteUuid()
public void setSiteUuid(String siteUuid)
siteUuid
- harvest site UUIDpublic String getSourceUri()
public void setSourceUri(String uri)
uri
- the source URIpublic String getSourceXml()
public void setSourceXml(String xml)
xml
- the source XML stringpublic boolean getUpdateOnlyIfXmlHasChanged()
public void setUpdateOnlyIfXmlHasChanged(boolean onlyIfChanged)
onlyIfChanged
- true if a document should be updated only if the XML has changedpublic String getUuid()
public void setUuid(String uuid)
uuid
- the UUIDpublic boolean getWasDocumentReplaced()
protected void setWasDocumentReplaced(boolean wasReplaced)
wasReplaced
- true if the document was replacedpublic boolean getWasDocumentUnchanged()
protected void setWasDocumentUnchanged(boolean wasUnchanged)
wasUnchanged
- true if the document was unchangedpublic String getAlternativeTitle()
public void setAlternativeTitle(String title)
title
- alternative titlepublic boolean getLockTitle()
true
if updating title is enabledpublic void setLockTitle(boolean lockTitle)
lockTitle
- true
to enable updating titlepublic boolean getIndexEnabled()
true
.
true
if index creation is enabledpublic void setIndexEnabled(boolean indexEnabled)
true
.
indexEnabled
- true
to enable index creation
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |