|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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<javax.faces.model.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. |
javax.faces.component.html.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(javax.faces.event.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(javax.faces.component.html.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<javax.faces.model.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 javax.faces.component.html.HtmlPanelGroup getSectionsPanelGroup()
public void setSectionsPanelGroup(javax.faces.component.html.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 BaseActionListenercontext - the context associated with the active request
Exception - if an exception occurs
protected void processSubAction(javax.faces.event.ActionEvent event,
RequestContext context)
throws javax.faces.event.AbortProcessingException,
Exception
processSubAction in class BaseActionListenerevent - the associated JSF action eventcontext - the context associated with the active request
javax.faces.event.AbortProcessingException - if processing should be aborted
Exception - if an exception occurspublic HarvestContext getHarvestContext()
public void setHarvestContext(HarvestContext harvestContext)
harvestContext - the _harvestContext to set
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||