|
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.UploadMetadataController
public class UploadMetadataController
Handles a metadata file upload action.
Nested Class Summary | |
---|---|
static class |
UploadMetadataController.UploadOptions
Stores session based upload options for the controller. |
Field Summary | |
---|---|
static String |
SPECIFICATIONMETHOD_BROWSE
class variables ========================================================= |
static String |
SPECIFICATIONMETHOD_EXPLICIT
|
Constructor Summary | |
---|---|
UploadMetadataController()
Default constructor. |
Method Summary | |
---|---|
boolean |
getCanPublishAsProxy()
Gets the flag indicating if the user can publish on behalf of another. |
String |
getExplicitPath()
Gets the explicit path of the file to upload. |
UploadMetadataController.UploadOptions |
getOptions()
Gets the upload options. |
SelectablePublishers |
getSelectablePublishers()
Gets list of selectable publishers. |
String |
getSpecificationMethod()
Gets the file specification method. |
String |
getStyleForBrowseMethod()
Gets the style attribute for "browse" specificication panel. |
String |
getStyleForExplicitMethod()
Gets the style attribute for "explicit" specificication panel. |
protected void |
onPrepareView(RequestContext context)
Fired when the getPrepareView() property is accessed. |
protected void |
processSubAction(ActionEvent event,
RequestContext context)
Handles a metadata file upload action. |
void |
setExplicitPath(String path)
Sets the explicit path of the file to upload. |
void |
setOptions(UploadMetadataController.UploadOptions options)
Sets the upload options. |
void |
setSpecificationMethod(String method)
Sets the file specification method. |
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 |
Field Detail |
---|
public static final String SPECIFICATIONMETHOD_BROWSE
public static final String SPECIFICATIONMETHOD_EXPLICIT
Constructor Detail |
---|
public UploadMetadataController()
Method Detail |
---|
public boolean getCanPublishAsProxy()
public String getExplicitPath()
public void setExplicitPath(String path)
path
- the explicit pathpublic UploadMetadataController.UploadOptions getOptions()
public void setOptions(UploadMetadataController.UploadOptions options)
options
- the upload optionspublic SelectablePublishers getSelectablePublishers()
public String getSpecificationMethod()
public void setSpecificationMethod(String method)
method
- the file specification methodpublic String getStyleForBrowseMethod()
public String getStyleForExplicitMethod()
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 occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |