|
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.EditMetadataController
public class EditMetadataController
Controller for the online metadata editor.
Constructor Summary | |
---|---|
EditMetadataController()
Default constructor. |
Method Summary | |
---|---|
List<SelectItem> |
getCreateSchemaItems()
Gets the list of schema's that can be created with the editor. |
String |
getCreateSchemaKey()
Gets the schema key selected from the create metadata page. |
HarvestContext |
getHarvestContext()
|
String |
getNewUuid()
Creates a new UUID. |
String |
getNow()
Returns the current data in yyyy-MM-dd format. |
String |
getOnBehalfOf()
Gets the key of publisher this document is being created on behalf of. |
String |
getOpenDocumentStatus()
Gets the open document status. |
String |
getOpenDocumentUuid()
Gets the UUID of the document currently open within the editor. |
String |
getOpenSchemaKey()
Gets the key of the schema currently open within the editor. |
String |
getOperation()
Gets 'add' operation type. |
HtmlPanelGroup |
getSectionsPanelGroup()
Gets the bound HtmlPanelGroup for the sections panel. |
SelectablePublishers |
getSelectablePublishers()
Gets the list of selectable publishers. |
UserAttributeMap |
getUserProfile()
Gets the active user's profile. |
protected void |
onPrepareView(RequestContext context)
Fired when the getPrepareView() property is accessed. |
protected void |
processSubAction(ActionEvent event,
RequestContext context)
Handles events from the metadata editor. |
void |
setCreateSchemaKey(String key)
Sets the schema key selected from the create metadata page. |
void |
setHarvestContext(HarvestContext harvestContext)
|
void |
setOnBehalfOf(String key)
Sets the key of publisher this document is being created on behalf of. |
void |
setOpenDocumentStatus(String status)
Sets the open document status. |
void |
setOpenDocumentUuid(String uuid)
Sets the UUID of the document currently open within the editor. |
void |
setOpenSchemaKey(String key)
Sets the key of the schema currently open within the editor. |
void |
setOperation(String addOperation)
Sets 'add' operation type. |
void |
setSectionsPanelGroup(HtmlPanelGroup htmlPanelGroup)
Sets the bound HtmlPanelGroup for the sections panel. |
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 EditMetadataController()
Method Detail |
---|
public List<SelectItem> getCreateSchemaItems()
public String getCreateSchemaKey()
public void setCreateSchemaKey(String key)
key
- the key associated with the schema to createpublic String getNewUuid()
public String getNow()
public String getOnBehalfOf()
public void setOnBehalfOf(String key)
key
- the publisher keypublic String getOpenDocumentStatus()
public void setOpenDocumentStatus(String status)
status
- the currently open document statuspublic String getOpenDocumentUuid()
public void setOpenDocumentUuid(String uuid)
uuid
- the currently open document UUIDpublic String getOpenSchemaKey()
public void setOpenSchemaKey(String key)
key
- the currently open schema keypublic HtmlPanelGroup getSectionsPanelGroup()
public void setSectionsPanelGroup(HtmlPanelGroup htmlPanelGroup)
htmlPanelGroup
- the bound HtmlPanelGrouppublic SelectablePublishers getSelectablePublishers()
public String getOperation()
public void setOperation(String addOperation)
addOperation
- add operation typepublic UserAttributeMap getUserProfile()
protected void onPrepareView(RequestContext context) throws Exception
onPrepareView
in class BaseActionListener
context
- the context associated with the active request
Exception
- if an exception occursprotected 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 occurspublic HarvestContext getHarvestContext()
public void setHarvestContext(HarvestContext harvestContext)
harvestContext
- the _harvestContext to set
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |