|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.control.harvest.HarvestEditor
public class HarvestEditor
Provides harvest repository editing functionality. It assures that each harvest repository can be viewed in the same, unified way regardless the protocol. It also provides smooth values translation from/to native form as stored within the object and to/from string value as required in most cases to display on the form.
Nested Class Summary | |
---|---|
static class |
HarvestEditor.FrequencyMode
Frequency mode. |
Constructor Summary | |
---|---|
HarvestEditor(HrRecord harvestRepository)
Creates instance of editor. |
Method Summary | |
---|---|
ArrayList<SelectItem> |
getAllProfiles()
Gets all CSW profiles. |
String |
getApprovalStatus()
Gets approval status. |
HarvestProtocolResource |
getArcGis()
Gets CSW properties. |
boolean |
getArcgisDotComAllowed()
Deprecated. |
HarvestProtocolArcIms |
getArcIms()
Gets ArcIMS properties. |
Map<String,String> |
getAttrs()
Gets map of attributes. |
boolean |
getAutoApprove()
Checks if 'auto-approve' is enabled. |
boolean |
getCrossAllowed()
Deprecated. |
HarvestProtocolCsw |
getCsw()
Gets CSW properties. |
HarvestEditor.FrequencyMode |
getFrequencyMode()
|
String |
getFrequencyModeAsString()
|
String |
getHarvestFrequency()
Gets harvest frequency. |
String |
getHostUrl()
Gets host URL. |
boolean |
getLockTitle()
Checks if 'lock-title' is enabled. |
String |
getName()
Gets repository name. |
HarvestProtocolOai |
getOai()
Gets OAI properties. |
String |
getOwnerId()
Gets owner id as string. |
HrRecord |
getRepository()
Gets edited repository. |
boolean |
getRetryAsDraft()
Checks if another attempt to publish as "draft" should be made if first attempt failed validation. |
String |
getRobotsTxtMode()
Gets robots.txt mode. |
String |
getSendNotification()
Gets sending notification switch flag. |
String |
getSoapUrl()
Gets SOAP URL. |
String |
getTimeCodes()
Gets time codes. |
String |
getType()
Gets protocol name. |
boolean |
getUpdateContent()
Checks if 'deep harvest' is enabled. |
boolean |
getUpdateDefinition()
Checks if 'xml generation' is enabled. |
HarvestProtocolWaf |
getWaf()
Gets WAF properties. |
void |
prepareForEdit()
Prepares repository for edit. |
void |
prepareForUpdate()
Prepares repository for update. |
void |
setApprovalStatus(String status)
Approval status. |
void |
setArcgisDotComAllowed(boolean arcgisDotComAllowed)
Deprecated. |
void |
setAutoApprove(boolean enabled)
Enables/disables 'auto-approve' |
void |
setCrossAllowed(boolean crossAllowed)
Deprecated. |
void |
setFrequencyMode(HarvestEditor.FrequencyMode frequencyMode)
|
void |
setFrequencyModeAsString(String frequencyMode)
|
void |
setHarvestFrequency(String harvestFrequency)
Sets harvest frequency. |
void |
setHostUrl(String hostUrl)
Sets host URL. |
void |
setLockTitle(boolean lockTitle)
Enables/disables 'lock-title' If a flag is set, it means a title is locked and synchronizer is not allowed to update it, although all the rest of information is allowed to be updated. |
void |
setName(String name)
Sets repository name. |
void |
setOwnerId(String value)
Sets owner id from string. |
void |
setRetryAsDraft(boolean retryAsDraft)
Allows to make another attempt to publish as a draft if first attempt failed validation. |
void |
setRobotsTxtMode(String robotsTxtMode)
Sets robots.txt mode. |
void |
setSendNotification(String sendNotification)
Sets sending notification switch flag. |
void |
setSoapUrl(String url)
Sets SOAP URL. |
void |
setTimeCodes(String timeCodes)
Sets time codes. |
void |
setType(String name)
Sets protocol name. |
void |
setUpdateContent(boolean enabled)
Enables/disables 'deep harvest' |
void |
setUpdateDefinition(boolean enabled)
Enables/disables 'xml generation' |
String |
toString()
Gets string representation of the object. |
boolean |
validate(MessageBroker mb)
Validates entered content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HarvestEditor(HrRecord harvestRepository)
harvestRepository
- repository to be editedMethod Detail |
---|
@Deprecated public boolean getArcgisDotComAllowed()
@Deprecated public void setArcgisDotComAllowed(boolean arcgisDotComAllowed)
@Deprecated public boolean getCrossAllowed()
@Deprecated public void setCrossAllowed(boolean crossAllowed)
public HrRecord getRepository()
public String getOwnerId()
public void setOwnerId(String value)
value
- owner idpublic Map<String,String> getAttrs()
public String getType()
public void setType(String name)
name
- protocol name namepublic boolean getUpdateContent()
true
if 'deep harvest' is enabledpublic void setUpdateContent(boolean enabled)
enabled
- true
to enable 'deep harvest'public boolean getUpdateDefinition()
true
if 'xml generation' is enabledpublic void setUpdateDefinition(boolean enabled)
enabled
- true
to enable 'xml generation'public boolean getAutoApprove()
true
if 'auto-approve' is enabledpublic void setAutoApprove(boolean enabled)
enabled
- true
to enable 'auto-approve'public boolean getRetryAsDraft()
true
if another attempt should be madepublic void setRetryAsDraft(boolean retryAsDraft)
retryAsDraft
- true
if another attempt should be madepublic boolean getLockTitle()
true
if 'lock-title' is enabledpublic void setLockTitle(boolean lockTitle)
lockTitle
- true
to enable 'lock-title'public String getHarvestFrequency()
public void setHarvestFrequency(String harvestFrequency)
harvestFrequency
- harvest frequencypublic String getSendNotification()
public void setSendNotification(String sendNotification)
sendNotification
- sending notification switch flagpublic String getName()
public void setName(String name)
name
- namepublic String getHostUrl()
public void setHostUrl(String hostUrl)
hostUrl
- host URLpublic String getSoapUrl()
public void setSoapUrl(String url)
url
- SOAP URLpublic HarvestProtocolArcIms getArcIms()
public HarvestProtocolOai getOai()
public HarvestProtocolWaf getWaf()
public HarvestProtocolCsw getCsw()
public HarvestProtocolResource getArcGis()
public ArrayList<SelectItem> getAllProfiles()
public String getApprovalStatus()
public void setApprovalStatus(String status)
status
- approval statuspublic void prepareForEdit()
public void prepareForUpdate()
public boolean validate(MessageBroker mb)
mb
- message broker
true
if data is validpublic String toString()
toString
in class Object
public HarvestEditor.FrequencyMode getFrequencyMode()
public void setFrequencyMode(HarvestEditor.FrequencyMode frequencyMode)
public String getFrequencyModeAsString()
public void setFrequencyModeAsString(String frequencyMode)
public String getTimeCodes()
public void setTimeCodes(String timeCodes)
timeCodes
- time codespublic String getRobotsTxtMode()
public void setRobotsTxtMode(String robotsTxtMode)
robotsTxtMode
- robots.txt mode
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |