|
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.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.
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. |
HarvestProtocolArcIms |
getArcIms()
Gets ArcIMS properties. |
Map<String,String> |
getAttrs()
Gets map of attributes. |
boolean |
getAutoApprove()
Checks if 'auto-approve' is enabled. |
HarvestProtocolCsw |
getCsw()
Gets CSW properties. |
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. |
String |
getSendNotification()
Gets sending notification switch flag. |
String |
getSoapUrl()
Gets SOAP URL. |
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 |
setApprovalStatus(String status)
Approval status. |
void |
setAutoApprove(boolean enabled)
Enables/disables 'auto-approve' |
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 |
setSendNotification(String sendNotification)
Sets sending notification switch flag. |
void |
setSoapUrl(String url)
Sets SOAP URL. |
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 |
---|
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 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 boolean validate(MessageBroker mb)
mb
- message broker
true
if data is validpublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |