|
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.framework.jsf.BaseActionListener com.esri.gpt.control.publication.ManageMetadataController
public class ManageMetadataController
Handles actions related to metadata management.
Constructor Summary | |
---|---|
ManageMetadataController()
Default constructor. |
Method Summary | |
---|---|
MmdActionCriteria |
getActionCriteria()
Gets the action criteria. |
boolean |
getAlwaysFalse()
Returns a false condition in support of the check-all control on the manage metadata page. |
SelectableGroups |
getCandidateGroups()
Gets list of candidate groups |
MmdCriteria |
getCriteria()
Gets the criteria for a manage metadata request. |
MetadataAccessPolicy |
getMetadataAccessPolicyConfig()
Gets access policy configuration |
PageCursorPanel |
getPageCursorPanel()
Gets the panel for displaying the page cursor. |
ArrayList<SelectItem> |
getProtocols()
Gets protocols eligible to choose. |
MmdQueryCriteria |
getQueryCriteria()
Gets the query criteria. |
String |
getQueryCriteriaAsEncrypedString()
Gets query criteria as encrypted string. |
MmdQueryResult |
getQueryResult()
Gets the query result. |
int |
getRecordsPerPage()
Gets the maximum number of records to be displayed per page. |
SelectablePublishers |
getSelectablePublishers()
Gets list of selectable publishers. |
boolean |
isPolicyUnrestricted()
Check if document access policy type is unrestricted |
boolean |
isSelectableGroups()
Checks if is there any selectable group |
protected void |
onPrepareView(RequestContext context)
Fired when the getPrepareView() property is accessed. |
protected void |
processSubAction(ActionEvent event,
RequestContext context)
Handles a metadata management action. |
void |
setAccessPolicyConfig(MetadataAccessPolicy metadataAccessPolicyConfig)
Sets access policy configuration. |
void |
setAlwaysFalse(boolean ignored)
Accepts a boolean in support of the check-all control on the manage metadata page. |
void |
setCandidateGroups(SelectableGroups candidateGroups)
Sets list of candidate groups |
void |
setCriteria(MmdCriteria criteria)
Sets the criteria for a manage metadata request. |
void |
setQueryCriteriaAsEncrypedString(String content)
Sets query criteria as encrypted string. |
void |
setRecordsPerPage(int recordsPerPage)
Sets the maximum number of records to be displayed per page. |
Methods inherited from class com.esri.gpt.framework.jsf.BaseActionListener |
---|
assertLoggedIn, authorizeAction, extractMessageBroker, extractRequestContext, getContextBroker, getKey, getLogger, getNavigationOutcome, getPrepareView, getSecurityRoles, getSecurityRoleSet, handleException, onExecutionPhaseCompleted, onExecutionPhaseStarted, onPrepareViewCompleted, onPrepareViewStarted, processAction, setKey, setNavigationOutcome, setPrepareView, setSecurityRoles |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManageMetadataController()
Method Detail |
---|
public SelectableGroups getCandidateGroups()
public void setCandidateGroups(SelectableGroups candidateGroups)
candidateGroups
- the list of candidate groupspublic MetadataAccessPolicy getMetadataAccessPolicyConfig()
public void setAccessPolicyConfig(MetadataAccessPolicy metadataAccessPolicyConfig)
metadataAccessPolicyConfig
- access policy configurationpublic MmdActionCriteria getActionCriteria()
public boolean getAlwaysFalse()
public void setAlwaysFalse(boolean ignored)
ignored
- this value is ignored (the state of this control is not preserved)public MmdCriteria getCriteria()
public void setCriteria(MmdCriteria criteria)
criteria
- the criteriapublic PageCursorPanel getPageCursorPanel()
public MmdQueryCriteria getQueryCriteria()
public MmdQueryResult getQueryResult()
public int getRecordsPerPage()
public void setRecordsPerPage(int recordsPerPage)
recordsPerPage
- the maximum number of records per pagepublic SelectablePublishers getSelectablePublishers()
public boolean isPolicyUnrestricted()
true
if policy is unrestrictedprotected void onPrepareView(RequestContext context) throws Exception
The UI components associated with the PageCursorPanel are build on the firing of this event.
onPrepareView
in class BaseActionListener
context
- the context associated with the active request
Exception
- if an exception occurspublic boolean isSelectableGroups()
true
if is there at leas one selectable group presentpublic String getQueryCriteriaAsEncrypedString()
public void setQueryCriteriaAsEncrypedString(String content)
content
- query criteria as encrypted stringpublic ArrayList<SelectItem> getProtocols()
protected void processSubAction(ActionEvent event, RequestContext context) throws AbortProcessingException, Exception
processSubAction
in class BaseActionListener
event
- the associated JSF action eventcontext
- the context associated with the active request
AbortProcessingException
- if processing should be aborted
Exception
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |