|
||||||||||
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.records.RMClassificationWizardPage
This class displays the record class and classifications selection page for the Record Template Designer wizard.
Nested Class Summary | |
class |
RMClassificationWizardPage.SelectStartingClassificationFolder
Special class created to override the base class to add other useful methods. |
Field Summary | |
protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider |
adp
|
protected WcmAuthoringState |
authState
|
static java.lang.String |
CLASSIFICATION_LIST_ACCESS
|
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel |
classificationLabel
|
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel |
classificationsLabel
|
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel |
classLabel
|
protected org.w3c.dom.Document |
domSelectedClassification
|
protected WcmEditPage |
editPage
|
protected static java.lang.String |
EMAIL_CLASS
|
protected SelectedClassificationListView |
listView
|
protected java.util.Locale |
locale
|
protected static java.lang.String |
MARKERS_CLASS
|
static int |
MASK_EDITABLE
|
static int |
MASK_HIDE
|
static int |
MASK_READONLY
|
protected WcmNavigationState |
navState
|
static java.lang.String |
PRIMARY_CLASSIFICATION_ID
|
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel |
primaryLabel
|
protected com.filenet.wcm.toolkit.server.dp.RecordsManageDataProvider |
rdp
|
static java.lang.String |
RECORD_CLASS_ACCESS
|
protected static java.lang.String |
RECORDINFO_CLASS
|
protected RMClassificationWizardPage.SelectStartingClassificationFolder |
selectStartingFolder
|
protected java.lang.String |
sMode
|
protected java.lang.String |
subFolderBrowsing
|
protected com.filenet.wcm.toolkit.server.util.DeclareRecordsTemplate |
template
|
protected WcmUserPrefs |
userPrefs
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsAccess
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsAddNew
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsChangeValue
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsClassifications
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsClear
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsConstrainMsg
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsDefaultValue
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsDisplay
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsEditable
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsHide
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsHideMsg
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsNone
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsNotSelected
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsPrimary
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsProperty
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsReadonly
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsRecordClass
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsRecordClassLabel
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsRemove
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsSelectClass
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsSelectClassification
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsSelectValue
|
protected static com.filenet.wcm.toolkit.util.WcmString |
wsShowMsg
|
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
NAME_DELIMITER |
Constructor Summary | |
RMClassificationWizardPage()
Constructor calls base class constructor, then creates the required pages. |
Method Summary | |
protected java.lang.String |
addAdditionalParameters(java.lang.String url)
Sub class should overide this method if it needs adding additional parameter |
protected java.lang.String |
configureFPOS(com.filenet.wcm.toolkit.util.WcmURLBuilder url)
Add all fpos to url |
protected void |
configureRecordClass(com.filenet.wcm.toolkit.util.WcmURLBuilder url,
java.lang.String fpos,
int recordType)
Add class symname and root class id to url |
WcmEditPage |
getEditPage()
return edit page object. |
java.lang.String |
getFormName()
return form name back. |
protected org.w3c.dom.Document |
getPropertiesXML(org.w3c.dom.Document propdescs)
Gets the Document interface on the properties XML |
protected org.w3c.dom.Document |
getPropertyDescriptionsXML()
Gets the Document interface on the properties XML. |
SelectedClassificationListView |
getSelectedClassificationListView()
return classification list view object |
protected java.lang.String |
getStartingFolderUrl()
|
java.util.Iterator |
getValidationErrors()
|
void |
initialize()
Initializes data providers, XSL parameters, the authoring state, and other state values. |
boolean |
isFinished()
Indicates if the input is complete. |
void |
onAddNew(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add classifications event handler. |
void |
onClassificationListAccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
if mode is design then this handler catch classificaiton Display setting of editable, readonly or hide |
void |
onRecordClass(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Select record class event handler. |
void |
onRecordClassAccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
if mode is design then this handler catch record class display setting of Readonly or Hide |
void |
onRemove(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
remove event handler |
void |
onResetValue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
onSelect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Select event handler. |
void |
onSelectAsPrimary(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
remove event handler |
void |
onSetClass(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Set class evnet handler. |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initialize the Classes |
void |
onSubFolderBrowsing(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Select event handler, This method use Chain of Responsibility pattern to route form data to related module. |
void |
panelCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clears state information. |
void |
panelFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Normally not called directly since this page should never show the Finish button. |
void |
panelInit()
Called when this wizard page is first loaded to clear out any residual state information. |
void |
panelSave(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called to save the state of the page. |
boolean |
panelValidate()
Called on a page to check any entered data to confirm that everything is valid. |
void |
render(java.io.Writer w)
Renders the class data. |
protected void |
renderAccess(java.io.Writer w,
java.lang.String fieldName,
java.lang.String value,
int displayMask)
Render access field. |
protected void |
renderButton(java.io.Writer w,
java.lang.String eventName,
java.lang.String label)
Render button showing under list view |
protected void |
renderCommand(java.io.Writer w,
boolean requiredOn,
java.lang.String linkName,
java.lang.String linkLabel,
java.lang.String selectedItem)
Render the command line with required icon, link and selected item |
protected void |
renderCommand(java.io.Writer w,
boolean requiredOn,
java.lang.String linkName,
com.filenet.wcm.toolkit.util.WcmString linkLabel,
java.lang.String selectedItem)
Render the command line with required icon, link and selected item |
protected void |
renderSeperator(java.io.Writer w)
Render a line crossing display area. |
protected void |
renderTitle(java.io.Writer w,
java.lang.String title,
java.lang.String fieldName,
java.lang.String value,
int displayMask)
Render title and access field if any. |
protected void |
renderTitle(java.io.Writer w,
com.filenet.wcm.toolkit.util.WcmString title,
java.lang.String fieldName,
java.lang.String value,
int displayMask)
Render title and access field if any. |
void |
setMode(java.lang.String mode)
Set moudle mode |
void |
setStartingFolder(java.lang.String objectStore,
java.lang.String folderId)
|
void |
setStartingFolderId(java.lang.String folderId)
|
protected void |
setupPrimaryClassfication()
|
protected void |
setupPrimaryLinkURL()
|
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 |
public static final java.lang.String RECORD_CLASS_ACCESS
public static final java.lang.String CLASSIFICATION_LIST_ACCESS
public static final java.lang.String PRIMARY_CLASSIFICATION_ID
protected static final com.filenet.wcm.toolkit.util.WcmString wsDisplay
protected static final com.filenet.wcm.toolkit.util.WcmString wsNone
protected static final com.filenet.wcm.toolkit.util.WcmString wsRecordClassLabel
protected static final com.filenet.wcm.toolkit.util.WcmString wsAddNew
protected static final com.filenet.wcm.toolkit.util.WcmString wsRemove
protected static final com.filenet.wcm.toolkit.util.WcmString wsClassifications
protected static final com.filenet.wcm.toolkit.util.WcmString wsPrimary
protected static final com.filenet.wcm.toolkit.util.WcmString wsSelectClassification
protected static final com.filenet.wcm.toolkit.util.WcmString wsRecordClass
protected static final com.filenet.wcm.toolkit.util.WcmString wsSelectClass
protected static final com.filenet.wcm.toolkit.util.WcmString wsHideMsg
protected static final com.filenet.wcm.toolkit.util.WcmString wsShowMsg
protected static final com.filenet.wcm.toolkit.util.WcmString wsProperty
protected static final com.filenet.wcm.toolkit.util.WcmString wsDefaultValue
protected static final com.filenet.wcm.toolkit.util.WcmString wsAccess
protected static final com.filenet.wcm.toolkit.util.WcmString wsEditable
protected static final com.filenet.wcm.toolkit.util.WcmString wsReadonly
protected static final com.filenet.wcm.toolkit.util.WcmString wsHide
protected static final com.filenet.wcm.toolkit.util.WcmString wsConstrainMsg
protected static final com.filenet.wcm.toolkit.util.WcmString wsNotSelected
protected static final com.filenet.wcm.toolkit.util.WcmString wsSelectValue
protected static final com.filenet.wcm.toolkit.util.WcmString wsChangeValue
protected static final com.filenet.wcm.toolkit.util.WcmString wsClear
protected static final java.lang.String EMAIL_CLASS
protected static final java.lang.String RECORDINFO_CLASS
protected static final java.lang.String MARKERS_CLASS
public static final int MASK_EDITABLE
public static final int MASK_READONLY
public static final int MASK_HIDE
protected java.lang.String sMode
protected org.w3c.dom.Document domSelectedClassification
protected WcmUserPrefs userPrefs
protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider adp
protected com.filenet.wcm.toolkit.server.dp.RecordsManageDataProvider rdp
protected WcmNavigationState navState
protected WcmAuthoringState authState
protected WcmEditPage editPage
protected SelectedClassificationListView listView
protected com.filenet.wcm.toolkit.server.util.DeclareRecordsTemplate template
protected java.util.Locale locale
protected RMClassificationWizardPage.SelectStartingClassificationFolder selectStartingFolder
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel classificationsLabel
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel classificationLabel
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel primaryLabel
protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel classLabel
protected java.lang.String subFolderBrowsing
Constructor Detail |
public RMClassificationWizardPage() throws java.lang.Exception
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 void setupPrimaryClassfication() throws java.lang.Exception
java.lang.Exception
protected void setupPrimaryLinkURL() 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
w
- Writer for writing to the response object.
java.lang.Exception
- If there are problems.protected void renderCommand(java.io.Writer w, boolean requiredOn, java.lang.String linkName, com.filenet.wcm.toolkit.util.WcmString linkLabel, java.lang.String selectedItem) throws java.lang.Exception
w
- WriterrequiredOn
- Display required iconlinkName
- Link event name without "on"linkLabel
- Link labelselectedItem
- Selected item
java.lang.Exception
protected void renderCommand(java.io.Writer w, boolean requiredOn, java.lang.String linkName, java.lang.String linkLabel, java.lang.String selectedItem) throws java.lang.Exception
w
- WriterrequiredOn
- Display required iconlinkName
- Link event name without "on"linkLabel
- Link labelselectedItem
- Selected item
java.lang.Exception
protected void renderSeperator(java.io.Writer w) throws java.lang.Exception
w
- Writer
java.lang.Exception
protected void renderTitle(java.io.Writer w, com.filenet.wcm.toolkit.util.WcmString title, java.lang.String fieldName, java.lang.String value, int displayMask) throws java.lang.Exception
w
- Writertitle
- TitlefieldName
- Access field namevalue
- Current selected value. This value is used to turn on selected key word.displayMask
- Display options
java.lang.Exception
protected void renderTitle(java.io.Writer w, java.lang.String title, java.lang.String fieldName, java.lang.String value, int displayMask) throws java.lang.Exception
w
- Writertitle
- TitlefieldName
- Access field namevalue
- Current selected value. This value is used to turn on selected key word.displayMask
- Display options
java.lang.Exception
protected void renderAccess(java.io.Writer w, java.lang.String fieldName, java.lang.String value, int displayMask) throws java.lang.Exception
w
- WriterfieldName
- Access field namevalue
- Current selected value. This value is used to turn on selected key word.displayMask
- Display options
java.lang.Exception
protected void renderButton(java.io.Writer w, java.lang.String eventName, java.lang.String label) throws java.lang.Exception
w
- WritereventName
- Event namelabel
- Label
java.lang.Exception
public void onSubFolderBrowsing(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onRecordClass(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.protected void configureRecordClass(com.filenet.wcm.toolkit.util.WcmURLBuilder url, java.lang.String fpos, int recordType) throws java.lang.Exception
url
- fpos
- recordType
-
java.lang.Exception
protected java.lang.String configureFPOS(com.filenet.wcm.toolkit.util.WcmURLBuilder url) throws java.lang.Exception
url
-
java.lang.Exception
public void onSetClass(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onResetValue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
public void onAddNew(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.protected java.lang.String addAdditionalParameters(java.lang.String url) throws java.lang.Exception
url
- URL
java.lang.Exception
public void onRecordClassAccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onClassificationListAccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onSelect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onRemove(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onSelectAsPrimary(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.protected org.w3c.dom.Document getPropertiesXML(org.w3c.dom.Document propdescs) throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Document getPropertyDescriptionsXML() 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 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
request
- HttpServletRequest objectresponse
- HttpServletResponse object
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
public boolean panelValidate() throws java.lang.Exception
panelValidate
in interface com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface
java.lang.Exception
public void setStartingFolderId(java.lang.String folderId)
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
public java.util.Iterator getValidationErrors()
getValidationErrors
in interface com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface
public boolean isFinished() throws java.lang.Exception
isFinished
in interface com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface
java.lang.Exception
public void setMode(java.lang.String mode)
mode
- - Modify or Addpublic java.lang.String getFormName()
getFormName
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
public WcmEditPage getEditPage()
public SelectedClassificationListView getSelectedClassificationListView()
protected java.lang.String getStartingFolderUrl() throws java.lang.Exception
java.lang.Exception
public void setStartingFolder(java.lang.String objectStore, java.lang.String folderId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |