atg.svc.ui.formhandlers
Class OrgChooserNoDeleteFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.droplet.EmptyFormHandler
              extended by atg.droplet.GenericFormHandler
                  extended by atg.droplet.TransactionalFormHandler
                      extended by atg.web.formhandlers.ApplicationFormHandler
                          extended by atg.svc.ui.formhandlers.test.TreeTableDelegatingFormHandler
                              extended by atg.svc.ui.formhandlers.ListChooserFormHandler
                                  extended by atg.svc.ui.formhandlers.OrgChooserFormHandler
                                      extended by atg.svc.ui.formhandlers.OrgChooserNoDeleteFormHandler
All Implemented Interfaces:
atg.droplet.DropletFormHandler, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, TreeTableFormHandler, Expandable, Listable, Selectable, java.util.EventListener

public class OrgChooserNoDeleteFormHandler
extends OrgChooserFormHandler

Organization Groups Chooser TreeTable component that allows initially selected fixed items. Fixed items cannot be unselected.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  java.util.Map mFixedItems
          These items will not be able to click on.
 
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
CONSTRAINT_LANGUAGE, CONSTRAINT_SELFSERVICE_AUDIENCE, editorField, mAdminField, mBaseValue, mFilterKeyword, mItemKey, mRepository, mRepositoryView, mSegmentService, mSelectedKeys, mSolutionService, mViewItems, PROPERTY_DISPLAY_NAME, PROPERTY_REPOSITORY_ID, 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.droplet.GenericFormHandler
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS
 
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.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
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
OrgChooserNoDeleteFormHandler()
           
 
Method Summary
 java.util.Collection getAddedItems()
          To find out what new items were selected, use this property.
 java.util.Map getFixedItems()
           
 java.lang.String getFixedItemsList()
          Just a stub.
 boolean handleList(atg.servlet.DynamoHttpServletRequest request, atg.servlet.DynamoHttpServletResponse response)
          Prepare for rendering of TreeTable
 void select(java.lang.Object pItemKey, java.lang.String pMode)
          Mark item as selected by adding its key to ListChooserFormHandler.mSelectedKeys.
 void setFixedItemsList(java.lang.String pFixedItems)
           
 
Methods inherited from class atg.svc.ui.formhandlers.OrgChooserFormHandler
expand, getBaseExpValue, getExpandedKeysList, getItemDepth, getItemHasChildren, getProfileRepository, getSubOrganizations, getTotalItemCount, getViewItemCount, getViewItems, resetListValue, setBaseExpValue, setProfileRepository, setState, sortBranch
 
Methods inherited from class atg.svc.ui.formhandlers.ListChooserFormHandler
doStartService, fillSelectedFromState, filterListValues, findStateContainer, getAdminField, getAllRQLWhere, getBaseValue, getEditorConstraintType, getEditorField, getFilterKeyword, getFilterRQLWhere, getItemKey, getItemName, getLanguageProperty, getLanguages, getRepository, getRepositoryView, getSegmentItems, getSegmentService, getSelectedItemsList, getSelectedKeys, getSelectedKeysList, getSiteService, getSolutionService, isStatusField, prepareSelectedList, saveStateContainer, setAdminField, setBaseValue, setEditorConstraintType, setEditorField, setFilterKeyword, setItemKey, setLanguageProperty, setRepository, setRepositoryView, setSegmentService, setSiteService, setSolutionService, setViewItems, uploadRepositoryItems, uploadViewItems, wrapArray, wrapCollection, wrapProfileGroups, wrapSelfServiceAudienceCollection
 
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, getTransactionStatus, isEnsureTransaction, isRollbackTransaction, isRollbackTransactionOnUnhandledException, isTransactionMarkedAsRollback, setEnsureTransaction, setRollbackTransaction, setRollbackTransactionOnUnhandledException, setTransactionDemarcation
 
Methods inherited from class atg.droplet.GenericFormHandler
addFormException, addUncheckedFormException, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards
 
Methods inherited from class atg.droplet.EmptyFormHandler
afterGet
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


mFixedItems

protected java.util.Map mFixedItems
These items will not be able to click on.

Constructor Detail

OrgChooserNoDeleteFormHandler

public OrgChooserNoDeleteFormHandler()
Method Detail

getFixedItems

public java.util.Map getFixedItems()
Returns:
These items will not be able to click on. Not really used, just for the case.

getFixedItemsList

public java.lang.String getFixedItemsList()
Just a stub.

Returns:
String.valueOf(mFixedItems);

setFixedItemsList

public void setFixedItemsList(java.lang.String pFixedItems)
Parameters:
pFixedItems - Semicolon-separated list of items that will not be able to click on.

select

public void select(java.lang.Object pItemKey,
                   java.lang.String pMode)
Mark item as selected by adding its key to ListChooserFormHandler.mSelectedKeys. Ignore fixed items.

Specified by:
select in interface Selectable
Overrides:
select in class ListChooserFormHandler
Parameters:
pItemKey -
pMode -

handleList

public boolean handleList(atg.servlet.DynamoHttpServletRequest request,
                          atg.servlet.DynamoHttpServletResponse response)
                   throws java.lang.Exception
Description copied from class: ListChooserFormHandler
Prepare for rendering of TreeTable

Overrides:
handleList in class ListChooserFormHandler
Throws:
java.lang.Exception

getAddedItems

public java.util.Collection getAddedItems()
To find out what new items were selected, use this property.

Returns:
currently selected items that were not fixed