|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.GenericService
atg.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.droplet.TransactionalFormHandler
atg.web.formhandlers.ApplicationFormHandler
atg.svc.ui.formhandlers.test.TreeTableDelegatingFormHandler
atg.svc.ui.formhandlers.ListChooserFormHandler
atg.svc.ui.formhandlers.OrgChooserFormHandler
atg.svc.ui.formhandlers.TopicChooserFormHandler
public class TopicChooserFormHandler
Topic Chooser TreeTable component as data retrieval, tree expansion, selection by delegating.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected TopicService |
mTopicService
|
| Fields inherited from class atg.svc.ui.formhandlers.OrgChooserFormHandler |
|---|
mBaseExpValue, mExpanded, mProfileRepository, ORG_ROOT, ORGANIZATION_VIEW |
| Fields inherited from class atg.svc.ui.formhandlers.ListChooserFormHandler |
|---|
editorField, mAdminField, mBaseValue, mFilterKeyword, mItemKey, mRepository, mRepositoryView, mSegmentService, mSelectedKeys, mSolutionService, mViewItems, STATUS_FILTER_RQL, STATUS_VIEW |
| Fields inherited from class atg.svc.ui.formhandlers.test.TreeTableDelegatingFormHandler |
|---|
mOperation, mParameters, mState, mTreeTableId, mView |
| Fields inherited from class atg.web.formhandlers.ApplicationFormHandler |
|---|
EQUALS, PARAM_DELIMITER, QUERY_DELIMITER, STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESS |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.svc.ui.treetable.Selectable |
|---|
SELECT_MULTIPLE, SELECT_NONE, SELECT_SINGLE |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
TopicChooserFormHandler()
|
|
| Method Summary | |
|---|---|
java.util.List |
getChildren(java.lang.String pItemKey)
|
int |
getItemDepth(java.lang.Object pItem)
Implementation of Expandable interface. |
boolean |
getItemHasChildren(java.lang.Object pItem)
Implementation of Expandable interface. |
java.lang.String |
getItemName()
|
java.util.List |
getSelectedKeysList()
Made to preserve sorting of mViewItems |
java.util.List |
getSubOrganizations(java.lang.String pItemKey)
|
TopicService |
getTopicService()
|
java.util.List |
getViewItems()
Create collection of visible organization items. |
protected java.util.List |
prepareSelectedList(java.util.Collection repositoryItems,
java.lang.String propertyName)
|
void |
setTopicService(TopicService pTopicService)
|
| Methods inherited from class atg.svc.ui.formhandlers.OrgChooserFormHandler |
|---|
expand, getBaseExpValue, getExpandedKeysList, getProfileRepository, getTotalItemCount, getViewItemCount, resetListValue, setBaseExpValue, setProfileRepository, setState, sortBranch |
| Methods inherited from class atg.svc.ui.formhandlers.test.TreeTableDelegatingFormHandler |
|---|
getOperation, getParameters, getState, getTreeTableId, getView, handleResponse, setOperation, setParameters, setTreeTableId, setView, validate |
| Methods inherited from class atg.web.formhandlers.ApplicationFormHandler |
|---|
addParameterToURLString, beforeGet, beforeSet, checkFormError, checkFormRedirect, checkFormSuccess, formHandlerBeforeGet, formHandlerBeforeSet, formHandlerInit, getErrorURL, getRedirectDelayMS, getString, getString, getString, getSuccessURL, getUserMessagesResourceBundle, handleCancel, processException, processException, processExceptionAndLog, processExceptionAndLog, redirect, setErrorURL, setRedirectDelayMS, setSuccessURL, setUserMessagesResourceBundle |
| Methods inherited from class atg.droplet.TransactionalFormHandler |
|---|
afterSet, commitTransaction, getTransactionDemarcation, isEnsureTransaction, isRollbackTransaction, isTransactionMarkedAsRollback, setEnsureTransaction, setRollbackTransaction, setTransactionDemarcation |
| Methods inherited from class atg.droplet.GenericFormHandler |
|---|
addFormException, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, handleFormException, isRestorableForm, isValidSession, resetFormExceptions, setCancelURL, setCheckForValidSession, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages |
| Methods inherited from class atg.droplet.EmptyFormHandler |
|---|
afterGet |
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setServiceInfo, startService, stopService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
protected TopicService mTopicService
| Constructor Detail |
|---|
public TopicChooserFormHandler()
| Method Detail |
|---|
public TopicService getTopicService()
public void setTopicService(TopicService pTopicService)
public int getItemDepth(java.lang.Object pItem)
getItemDepth in interface ExpandablegetItemDepth in class OrgChooserFormHandlerpItem - Item object of "items" collection of tree table.
public boolean getItemHasChildren(java.lang.Object pItem)
getItemHasChildren in interface ExpandablegetItemHasChildren in class OrgChooserFormHandlerpItem - Topic object of "items" collection of tree table.
public java.util.List getViewItems()
getViewItems in interface ListablegetViewItems in class OrgChooserFormHandlerpublic java.util.List getSubOrganizations(java.lang.String pItemKey)
getSubOrganizations in class OrgChooserFormHandlerpItemKey - ID of the topic
public java.util.List getChildren(java.lang.String pItemKey)
pItemKey - ID of the topic
public java.util.List getSelectedKeysList()
getSelectedKeysList in class ListChooserFormHandler
protected java.util.List prepareSelectedList(java.util.Collection repositoryItems,
java.lang.String propertyName)
prepareSelectedList in class ListChooserFormHandlerrepositoryItems - list of items whose display names should be include in result
public java.lang.String getItemName()
getItemName in class ListChooserFormHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||