|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.apps.server.ui.wizard.WcmFileSelectWizardPage
This wizard page is used to select the file to upload for adding a new document or checking in a modified document.
Nested Class Summary | |
class |
WcmFileSelectWizardPage.FileUploadManagementModule
|
Field Summary | |
protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider |
adp
|
protected WcmAuthoringState |
authorState
|
protected boolean |
bAutoClassify
|
protected WcmWorkplaceConfig |
config
|
protected static java.lang.String |
FORM_NAME
|
protected MultiTransferItemsListView |
listView
|
protected WcmNavigationState |
naviState
|
protected int |
nType
|
protected java.util.Map |
requestParams
|
protected WcmSitePrefs |
sitePrefs
|
protected com.filenet.wcm.toolkit.server.util.WcmUploadInputStream |
uploader
|
protected java.util.List |
visibleRefServices
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsAfter
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsAssociation
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsBefore
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsContinue
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsContinueText
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsExample
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsExternalFile
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsFile
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsLocalFile
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsNone
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsPathLabel
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsRequired
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsSavedFile
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsType
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsUndefined
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsUseSavedFile
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsWarning
|
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary | |
WcmFileSelectWizardPage(int type)
Sets the type and the module name. |
Method Summary | |
void |
addShortcut()
Subclass of this will add shortcut |
protected void |
completeWizard()
|
java.lang.String |
getFormName()
|
protected java.lang.String |
getImageServiceTableHTML()
|
void |
initialize()
Creates the data provider and retrieves the Authoring state. |
boolean |
isFinished()
This page always accepts what the user inputs, so it is always ready for the finish event. |
boolean |
isUsingActiveXControl()
Returns true if the file selection page is using an activeX control. |
void |
onContinue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
onFinishedActiveX(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Complete event triggered after the Active-X control has finished its operations |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The default event handler sets up the display objects for rendering. |
void |
panelCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Empty function - nothing to cleanup. |
void |
panelFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
When the Finish button is pressed, this first checks to see the type of file it is, putting it in the WcmUploadStream object if it is a file, or passing the URL if appropriate. |
void |
panelInit()
Empty function - nothing to initialize or cleanup. |
void |
panelSave(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
render(java.io.Writer w)
|
protected java.lang.String |
renderExternalSection(java.io.Writer w)
|
protected void |
renderFileUploadSection(java.io.Writer w)
|
protected void |
renderFooterSection(java.io.Writer w)
|
protected void |
renderHeaderSection(java.io.Writer w)
|
protected boolean |
showMultiSelectOperations()
|
protected boolean |
validateExternalUrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url)
|
protected boolean |
validateLocalFileName(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule |
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP |
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule |
subscribeGlobalEvent |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Field Detail |
protected static final com.filenet.wcm.toolkit.util.WcmString wsType
protected static final com.filenet.wcm.toolkit.util.WcmString wsFile
protected static final com.filenet.wcm.toolkit.util.WcmString wsLocalFile
protected static final com.filenet.wcm.toolkit.util.WcmString wsSavedFile
protected static final com.filenet.wcm.toolkit.util.WcmString wsExternalFile
protected static final com.filenet.wcm.toolkit.util.WcmString wsNone
protected static final com.filenet.wcm.toolkit.util.WcmString wsAssociation
protected static final com.filenet.wcm.toolkit.util.WcmString wsExample
protected static final com.filenet.wcm.toolkit.util.WcmString wsUseSavedFile
protected static final com.filenet.wcm.toolkit.util.WcmString wsContinueText
protected static final com.filenet.wcm.toolkit.util.WcmString wsContinue
protected static final com.filenet.wcm.toolkit.util.WcmString wsWarning
protected static final com.filenet.wcm.toolkit.util.WcmString wsPathLabel
protected static final com.filenet.wcm.toolkit.util.WcmString wsRequired
protected static final com.filenet.wcm.toolkit.util.WcmString wsUndefined
protected static final com.filenet.wcm.toolkit.util.WcmString wsBefore
protected static final com.filenet.wcm.toolkit.util.WcmString wsAfter
protected static final java.lang.String FORM_NAME
protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider adp
protected WcmAuthoringState authorState
protected WcmNavigationState naviState
protected WcmWorkplaceConfig config
protected WcmSitePrefs sitePrefs
protected java.util.List visibleRefServices
protected int nType
protected java.util.Map requestParams
protected boolean bAutoClassify
protected com.filenet.wcm.toolkit.server.util.WcmUploadInputStream uploader
protected MultiTransferItemsListView listView
Constructor Detail |
public WcmFileSelectWizardPage(int type) throws java.lang.Exception
type
- One of the defined int types for this module.Method Detail |
public void initialize() throws java.lang.Exception
initialize
in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
java.lang.Exception
public void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
onStartPage
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
request
- HttpServletRequest objectresponse
- HttpServletResponse object
java.lang.Exception
protected boolean showMultiSelectOperations() throws java.lang.Exception
java.lang.Exception
public void panelInit() throws java.lang.Exception
panelInit
in interface com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface
java.lang.Exception
public void panelCancel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
panelCancel
in interface com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface
request
- HttpServletRequest objectresponse
- HttpServletResponse object
java.lang.Exception
protected boolean validateLocalFileName(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
protected boolean validateExternalUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String url) throws java.lang.Exception
java.lang.Exception
public void panelFinish(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
panelFinish
in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
request
- HttpServletRequest objectresponse
- HttpServletResponse object
java.lang.Exception
WcmUploadInputStream
public void onContinue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
protected void completeWizard() throws java.lang.Exception
java.lang.Exception
public void render(java.io.Writer w) throws java.lang.Exception
render
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
java.lang.Exception
protected void renderFileUploadSection(java.io.Writer w) throws java.lang.Exception
java.lang.Exception
protected void renderHeaderSection(java.io.Writer w) throws java.lang.Exception
java.lang.Exception
protected void renderFooterSection(java.io.Writer w) throws java.lang.Exception
java.lang.Exception
protected java.lang.String renderExternalSection(java.io.Writer w) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getImageServiceTableHTML()
public boolean isUsingActiveXControl()
public boolean isFinished()
isFinished
in interface com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface
public java.lang.String getFormName()
getFormName
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
public void panelSave(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
panelSave
in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
java.lang.Exception
public void addShortcut() throws java.lang.Exception
java.lang.Exception
public void onFinishedActiveX(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- HttpServletRequest objectresponse
- HttpServletResponse object
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |