org.sakaiproject.tool.sitesetup
Class SiteAction

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.sakaiproject.vm.ComponentServlet
              extended byorg.sakaiproject.vm.VmServlet
                  extended byorg.sakaiproject.cheftool.VmServlet
                      extended byorg.sakaiproject.cheftool.ToolServlet
                          extended byorg.sakaiproject.cheftool.VelocityPortletPaneledAction
                              extended byorg.sakaiproject.cheftool.PagedResourceActionII
                                  extended byorg.sakaiproject.tool.sitesetup.SiteAction
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SiteAction
extends PagedResourceActionII

SiteAction controls the interface for worksite setup.

Version:
$Revision: 7328 $
Author:
University of Michigan, Sakai Software Development Team
See Also:
Serialized Form

Nested Class Summary
 class SiteAction.Icon
           
 class SiteAction.IdAndText
           
 class SiteAction.MyTool
           
 class SiteAction.Participant
          Participant in site access roles
 class SiteAction.SiteInfo
           
 class SiteAction.SiteItem
          SiteItem for display purposes in Sitemanage
 class SiteAction.Student
          Student in roster
 class SiteAction.WorksiteSetupPage
           
 
Nested classes inherited from class org.sakaiproject.cheftool.VelocityPortletPaneledAction
VelocityPortletPaneledAction.MyLogger
 
Field Summary
static String EDIT_VIEW_ROSTER_SITE_TYPE
           
static String GRADTOOLS_SITE_TYPES
           
static String PROP_SITE_REQUEST_COURSE
           
static String SITE_CREATE_CURRENT_STEP
           
static String SITE_CREATE_TOTAL_STEPS
           
static String SITE_DUPLICATED
           
static String SITE_DUPLICATED_NAME
           
static String SITE_GTS_TEMPLATE
           
static String SITE_MANUAL_COURSE_LIST
           
static String SITE_PROVIDER_COURSE_LIST
           
static String SITE_TYPE_GRADTOOLS_STUDENT
           
protected static String[] TEMPLATE
           
static String TITLE_EDITABLE_SITE_TYPE
           
 
Fields inherited from class org.sakaiproject.cheftool.PagedResourceActionII
DEFAULT_PAGE_SIZE, FORM_PAGE_NUMBER, FORM_SEARCH, PAGESIZES, PARAM_PAGESIZE, rb_praII, STATE_CURRENT_PAGE, STATE_FIRST_PAGE_EXISTS, STATE_GO_FIRST_PAGE, STATE_GO_LAST_PAGE, STATE_GO_NEXT, STATE_GO_NEXT_PAGE, STATE_GO_PREV, STATE_GO_PREV_PAGE, STATE_GOTO_PAGE, STATE_LAST_PAGE_EXISTS, STATE_MANUAL_REFRESH, STATE_NEXT_EXISTS, STATE_NEXT_PAGE_EXISTS, STATE_NUM_MESSAGES, STATE_PAGESIZE, STATE_PREV_EXISTS, STATE_PREV_PAGE_EXISTS, STATE_SEARCH, STATE_TOP_PAGE_MESSAGE, STATE_TOTAL_PAGENUMBER, STATE_VIEW_ID
 
Fields inherited from class org.sakaiproject.cheftool.VelocityPortletPaneledAction
ATTR_CONFIG, ATTR_CONTEXT, ATTR_FRAME_FOCUS, ATTR_FRAME_REFRESH, ATTR_PORTLET, ATTR_RUNDATA, ATTR_TOP_REFRESH, BUTTON, CONTEXT_SITE_COLLECTION_ID, CONTEXT_SITE_COLLECTION_URL, LAYOUT_MAIN, Log, MODE_OPTIONS, STATE_FLOAT, STATE_HELPER, STATE_MESSAGE, STATE_MODE, STATE_OBSERVER, STATE_OBSERVER2, STATE_PRESENCE_OBSERVER, STATE_TOOL
 
Fields inherited from class org.sakaiproject.cheftool.ToolServlet
ALERT_ATTR, ALERT_STATE_INITED, MENU_ATTR, PARAM_ACTION, PARAM_ACTION_COMBO, TITLE_PANEL, TOOL_MODE_ATTR, TOOL_MODE_DEFAULT
 
Fields inherited from class org.sakaiproject.cheftool.VmServlet
m_validator
 
Fields inherited from class org.sakaiproject.vm.ComponentServlet
ATTR_PARAMS
 
Constructor Summary
SiteAction()
           
 
Method Summary
 String buildMainPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state)
          Build the context for normal display
 void cleanEditGroupParams(SessionState state)
          cleanEditGroupParams clean the state parameters used by editing group process
 void commitSite(Site site)
           
 void commitSite(Site site, boolean published)
           
 void doAdd_class_select(RunData data)
          first step of adding class
 void doAdd_custom_link(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c
 void doAdd_features(RunData data)
          A dispatch funtion when selecting course features
 void doAdd_MtrlSite(RunData data)
          Handle addition to list request
 void doAdd_participant(RunData data)
           
 void doAdd_remove_features(RunData data)
          doAdd_remove_features is called when Make These Changes is clicked in chef_site-addRemoveFeatures
 void doAdd_site_option(RunData data)
          handle with add site options
 void doAttachmentsMtrlFrmFile(RunData data)
          Master import -- for import materials from a file
 void doBack_to_list(RunData data)
          doBack_to_list cancels an outstanding site edit, cleans state and returns to the site list
 void doBack_to_site_list(RunData data)
          Back to worksite setup's list view
 void doBack(RunData data)
          doBack is called when "eventSubmit_doBack" is in the request parameters Pass parameter to actionForTemplate to request action for backward direction
 void doCancel_create(RunData data)
          doCancel called when "eventSubmit_doCancel_create" is in the request parameters to c
 void doCancel(RunData data)
          doCancel called when "eventSubmit_doCancel" is in the request parameters to c int index = Integer.valueOf(params.getString ("template-index")).intValue();
 void doContinue(RunData data)
          doContinue is called when "eventSubmit_doContinue" is in the request parameters
 void doCopyMtrlSite(RunData data)
          Handle the request for copy
 void doFinish_grad_tools(RunData data)
          doFinish_grad_tools is called when creation of a Grad Tools site is confirmed
 void doFinish(RunData data)
          doFinish is called when a site has enough information to be saved as an unpublished site
 void doGet_site(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c is called from site list menu entry Revise... to get a locked site as editable and to go to the correct template to begin DB version of writes changes to disk at site commit whereas XML version writes at server shutdown
 void doGroup_edit(RunData data)
          doGroup_edit
 void doGroup_new(RunData data)
          doGroup_new
 void doGroup_remove_confirmed(RunData data)
          doGroup_remove_confirmed Delete selected groups after confirmation
 void doGroup_remove_prep(RunData data)
          doGroup_remove_prep Go to confirmation page before deleting group(s)
 void doGroup_update(RunData data)
          doGroup_edit
 void doManual_add_course(RunData data)
          dispatch to different functions based on the option value in the parameter
 void doMenu_add_participant(RunData data)
          doMenu_add_participant
 void doMenu_change_roles(RunData data)
          doMenu_change_roles
 void doMenu_customize(RunData data)
          doMenu_customize is called when "eventSubmit_doBack" is in the request parameters Pass parameter to actionForTemplate to request action for backward direction
 void doMenu_edit_site_access(RunData data)
          doMenu_edit_site_access
 void doMenu_edit_site_info(RunData data)
          doMenu_edit_site_info
 void doMenu_edit_site_tools(RunData data)
          doMenu_edit_site_tools
 void doMenu_group(RunData data)
          doMenu_edit_site_info The menu choice to enter group view
 void doMenu_publish_site(RunData data)
          doMenu_publish_site
 void doMenu_site_delete(RunData data)
          doMenu_site_delete is called when the Site list tool bar Delete button is clicked
 void doMenu_site_reuse(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c
 void doMenu_site_revise(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c
 void doMenu_siteInfo_addClass(RunData data)
          doMenu_siteInfo_addClass
 void doMenu_siteInfo_addParticipant(RunData data)
          doMenu_siteInfo_addParticipant
 void doMenu_siteInfo_cancel_access(RunData data)
          doMenu_siteInfo_cancel_access
 void doMenu_siteInfo_changeRole(RunData data)
          doMenu_siteInfo_changeRole
 void doMenu_siteInfo_duplicate(RunData data)
          doMenu_siteInfo_duplicate
 void doMenu_siteInfo_editClass(RunData data)
          doMenu_siteInfo_editClass
 void doMenu_siteInfo_globalAccess(RunData data)
          doMenu_siteInfo_globalAccess
 void doMenu_siteInfo_import(RunData data)
          doMenu_siteInfo_import
 void doMenu_siteInfo_removeParticipant(RunData data)
          doMenu_siteInfo_removeParticipant
 void doMenu_sitemanage_addParticipant(RunData data)
          doMenu_sitemanage_addParticipant
 void doNavigate_to_site(RunData data)
           
 void doNew_site(RunData data)
          doNew_site is called when the Site list tool bar New... button is clicked
 void doPermissions(RunData data, Context context)
          Fire up the permissions editor
 void doRemove_MtrlSite(RunData data)
          Handle the request for remove
 void doSave_revised_features(RunData data)
          doSave_revised_features
 void doSave_siteInfo(RunData data)
          doSave_site_info
 void doSaveMtrlSite(RunData data)
          Handle the request for Save
 void doSaveMtrlSiteMsg(RunData data)
           
 void doSite_delete_confirmed(RunData data)
           
 void doSite_search_clear(RunData data, Context context)
          Handle a Search Clear request.
 void doSite_search(RunData data, Context context)
          Handle the site search request.
 void doSite_type(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c
 void doSiteinfo_edit_globalAccess(RunData data)
          dispatch function for changing site global access
 void doSiteinfo_edit_role(RunData data)
          dispatch function for changing participants roles
 void doSiteinfo_save_globalAccess(RunData data)
          save changes to site global access
 void doSitemanage_delete_confirmed(RunData data)
           
 void doSitemanage_edit_site_access(RunData data)
          doSitemanage_edit_site_access
 void doSitemanage_edit_site_info(RunData data)
          doSitemanage_edit_site_info
 void doSitemanage_participants_save(RunData data, Context context)
          Handle a request to finalize the participants adding/role-assigning.
 void doSitemanage_participants(RunData data, Context context)
          doParticipants is the request to go to participants list/edit view
 void doSitemanage_saveas_request(RunData data, Context context)
          Go into saveas mode
 void doSitemanage_saveas(RunData data, Context context)
          Handle a request to save-as the site as a new site.
 void doSitemanage_search(RunData data, Context context)
          Handle a request to search in the sitemanage tool.
 void doSitemanage_showsearch(RunData data, Context context)
          Handle a request to go to Search Mode.
 void doSitemanage_site_delete(RunData data)
          doSitemanage_site_delete is called when the Site list tool bar Delete button is clicked
 void doSitemanage_update_site_access(RunData data)
          doSitemanage_update_site_access
 void doSort_roster(RunData data)
          Set the field on which to sort the list of students
 void doSort_sites(RunData data)
          Set the field on which to sort the list of sites
 void doUpdate_participant(RunData data)
          doUpdate_participant
 void doUpdate_site_access(RunData data)
          doUpdate_site_access
 void doUploadMtrlFrmFile(RunData data)
          Handle File Upload request
 void doView_sites(RunData data)
          doView_sites is called when "eventSubmit_doView_sites" is in the request parameters
 void doView(RunData data)
          do called when "eventSubmit_do" is in the request parameters to c
protected  Group getStateGroup(SessionState state)
          get the Group object based on SessionState attribute values
protected  Site getStateSite(SessionState state)
          get the Site object based on SessionState attribute values
protected  boolean hasGradToolsStudentSite(String userId)
          User has a Grad Tools student site
protected  void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)
          Populate the state object, if needed.
protected  boolean isGradToolsCandidate(String userId)
          Special check against the Dissertation service, which might not be here...
protected  List readResourcesPage(SessionState state, int first, int last)
          Implement this to return a list of all the resources in this record range, with search and sorting applied.
 ImportMetadata removeItems(String value, List items)
          Helper class for Add and remove
 void saveSiteStatus(SessionState state, boolean published)
           
protected  int sizeResources(SessionState state)
          Implement this to return the number of records that are currently selected.
 
Methods inherited from class org.sakaiproject.cheftool.PagedResourceActionII
addListPagingMenus, addRefreshMenus, addSearchMenus, addViewPagingMenus, cleanStatePaging, doAuto, doChange_pagesize, doList_first, doList_last, doList_next, doList_prev, doRefresh, doSearch_clear, doSearch, doView_next, doView_page, doView_prev, enableObserver, pagingInfoToContext, prepPage, resetPaging, totalPageNumber
 
Methods inherited from class org.sakaiproject.cheftool.VelocityPortletPaneledAction
actionDispatch, addAlert, addOptionsMenu, cancelOptions, clientWindowId, disableObservers, doGet, doOptions, doReset, enableObservers, getContext, helperActionDispatch, initState, justDelivered, mainPanelUpdateId, processAction, resetTool, saveOptions, scheduleFocusRefresh, schedulePeerFrameRefresh, scheduleTopRefresh, setVmCourier, setVmStdRef, titlePanelUpdateId, toolModeDispatch, updateState
 
Methods inherited from class org.sakaiproject.cheftool.ToolServlet
doPost, getAlert, getAlert, getMenu, getPid, getState, getToolMode, prepState, setToolMode
 
Methods inherited from class org.sakaiproject.vm.VmServlet
getActionURL, getVmReference, includeVm, setVmReference
 
Methods inherited from class org.sakaiproject.vm.ComponentServlet
sendParentRedirect, service, setNoCacheHeaders
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE

protected static final String[] TEMPLATE

PROP_SITE_REQUEST_COURSE

public static final String PROP_SITE_REQUEST_COURSE
See Also:
Constant Field Values

SITE_PROVIDER_COURSE_LIST

public static final String SITE_PROVIDER_COURSE_LIST
See Also:
Constant Field Values

SITE_MANUAL_COURSE_LIST

public static final String SITE_MANUAL_COURSE_LIST
See Also:
Constant Field Values

SITE_GTS_TEMPLATE

public static final String SITE_GTS_TEMPLATE
See Also:
Constant Field Values

SITE_TYPE_GRADTOOLS_STUDENT

public static final String SITE_TYPE_GRADTOOLS_STUDENT
See Also:
Constant Field Values

GRADTOOLS_SITE_TYPES

public static final String GRADTOOLS_SITE_TYPES
See Also:
Constant Field Values

SITE_DUPLICATED

public static final String SITE_DUPLICATED
See Also:
Constant Field Values

SITE_DUPLICATED_NAME

public static final String SITE_DUPLICATED_NAME
See Also:
Constant Field Values

SITE_CREATE_TOTAL_STEPS

public static final String SITE_CREATE_TOTAL_STEPS
See Also:
Constant Field Values

SITE_CREATE_CURRENT_STEP

public static final String SITE_CREATE_CURRENT_STEP
See Also:
Constant Field Values

TITLE_EDITABLE_SITE_TYPE

public static final String TITLE_EDITABLE_SITE_TYPE
See Also:
Constant Field Values

EDIT_VIEW_ROSTER_SITE_TYPE

public static final String EDIT_VIEW_ROSTER_SITE_TYPE
See Also:
Constant Field Values
Constructor Detail

SiteAction

public SiteAction()
Method Detail

initState

protected void initState(SessionState state,
                         VelocityPortlet portlet,
                         JetspeedRunData rundata)
Populate the state object, if needed.

Overrides:
initState in class PagedResourceActionII

doPermissions

public void doPermissions(RunData data,
                          Context context)
Fire up the permissions editor


buildMainPanelContext

public String buildMainPanelContext(VelocityPortlet portlet,
                                    Context context,
                                    RunData data,
                                    SessionState state)
Build the context for normal display


doAttachmentsMtrlFrmFile

public void doAttachmentsMtrlFrmFile(RunData data)
Master import -- for import materials from a file

See Also:
45

doUploadMtrlFrmFile

public void doUploadMtrlFrmFile(RunData data)
Handle File Upload request

Throws:
Exception
See Also:
46

doAdd_MtrlSite

public void doAdd_MtrlSite(RunData data)
Handle addition to list request

Parameters:
data -

removeItems

public ImportMetadata removeItems(String value,
                                  List items)
Helper class for Add and remove

Parameters:
value -
items -
Returns:

doRemove_MtrlSite

public void doRemove_MtrlSite(RunData data)
Handle the request for remove

Parameters:
data -

doCopyMtrlSite

public void doCopyMtrlSite(RunData data)
Handle the request for copy

Parameters:
data -

doSaveMtrlSite

public void doSaveMtrlSite(RunData data)
Handle the request for Save

Parameters:
data -

doSaveMtrlSiteMsg

public void doSaveMtrlSiteMsg(RunData data)

doSite_search

public void doSite_search(RunData data,
                          Context context)
Handle the site search request.


doSite_search_clear

public void doSite_search_clear(RunData data,
                                Context context)
Handle a Search Clear request.


sizeResources

protected int sizeResources(SessionState state)
Implement this to return the number of records that are currently selected.

Specified by:
sizeResources in class PagedResourceActionII

readResourcesPage

protected List readResourcesPage(SessionState state,
                                 int first,
                                 int last)
Implement this to return a list of all the resources in this record range, with search and sorting applied.

Specified by:
readResourcesPage in class PagedResourceActionII
Parameters:
first - The first record to include (1 based).
last - The last record to include (inclusive, 1 based).

doNew_site

public void doNew_site(RunData data)
                throws Exception
doNew_site is called when the Site list tool bar New... button is clicked

Throws:
Exception

doMenu_site_delete

public void doMenu_site_delete(RunData data)
doMenu_site_delete is called when the Site list tool bar Delete button is clicked


doSitemanage_site_delete

public void doSitemanage_site_delete(RunData data)
doSitemanage_site_delete is called when the Site list tool bar Delete button is clicked


doSite_delete_confirmed

public void doSite_delete_confirmed(RunData data)

doSitemanage_delete_confirmed

public void doSitemanage_delete_confirmed(RunData data)

doSitemanage_saveas_request

public void doSitemanage_saveas_request(RunData data,
                                        Context context)
Go into saveas mode


doSitemanage_saveas

public void doSitemanage_saveas(RunData data,
                                Context context)
Handle a request to save-as the site as a new site.


getStateSite

protected Site getStateSite(SessionState state)
get the Site object based on SessionState attribute values

Returns:
Site object related to current state; null if no such Site object could be found

getStateGroup

protected Group getStateGroup(SessionState state)
get the Group object based on SessionState attribute values

Returns:
Group object related to current state; null if no such Group object could be found

doGet_site

public void doGet_site(RunData data)
do called when "eventSubmit_do" is in the request parameters to c is called from site list menu entry Revise... to get a locked site as editable and to go to the correct template to begin DB version of writes changes to disk at site commit whereas XML version writes at server shutdown


doMenu_site_reuse

public void doMenu_site_reuse(RunData data)
                       throws Exception
do called when "eventSubmit_do" is in the request parameters to c

Throws:
Exception

doMenu_site_revise

public void doMenu_site_revise(RunData data)
                        throws Exception
do called when "eventSubmit_do" is in the request parameters to c

Throws:
Exception

doView_sites

public void doView_sites(RunData data)
                  throws Exception
doView_sites is called when "eventSubmit_doView_sites" is in the request parameters

Throws:
Exception

doView

public void doView(RunData data)
            throws Exception
do called when "eventSubmit_do" is in the request parameters to c

Throws:
Exception

doSite_type

public void doSite_type(RunData data)
do called when "eventSubmit_do" is in the request parameters to c


cleanEditGroupParams

public void cleanEditGroupParams(SessionState state)
cleanEditGroupParams clean the state parameters used by editing group process


doGroup_update

public void doGroup_update(RunData data)
doGroup_edit


doGroup_new

public void doGroup_new(RunData data)
doGroup_new


doGroup_edit

public void doGroup_edit(RunData data)
doGroup_edit


doGroup_remove_prep

public void doGroup_remove_prep(RunData data)
doGroup_remove_prep Go to confirmation page before deleting group(s)


doGroup_remove_confirmed

public void doGroup_remove_confirmed(RunData data)
doGroup_remove_confirmed Delete selected groups after confirmation


doMenu_group

public void doMenu_group(RunData data)
doMenu_edit_site_info The menu choice to enter group view


doManual_add_course

public void doManual_add_course(RunData data)
dispatch to different functions based on the option value in the parameter


doSort_roster

public void doSort_roster(RunData data)
Set the field on which to sort the list of students


doSort_sites

public void doSort_sites(RunData data)
Set the field on which to sort the list of sites


doContinue

public void doContinue(RunData data)
doContinue is called when "eventSubmit_doContinue" is in the request parameters


doBack

public void doBack(RunData data)
doBack is called when "eventSubmit_doBack" is in the request parameters Pass parameter to actionForTemplate to request action for backward direction


doFinish

public void doFinish(RunData data)
doFinish is called when a site has enough information to be saved as an unpublished site


doCancel_create

public void doCancel_create(RunData data)
doCancel called when "eventSubmit_doCancel_create" is in the request parameters to c


doCancel

public void doCancel(RunData data)
doCancel called when "eventSubmit_doCancel" is in the request parameters to c int index = Integer.valueOf(params.getString ("template-index")).intValue();


doMenu_customize

public void doMenu_customize(RunData data)
doMenu_customize is called when "eventSubmit_doBack" is in the request parameters Pass parameter to actionForTemplate to request action for backward direction


doBack_to_list

public void doBack_to_list(RunData data)
doBack_to_list cancels an outstanding site edit, cleans state and returns to the site list


doAdd_custom_link

public void doAdd_custom_link(RunData data)
do called when "eventSubmit_do" is in the request parameters to c


doAdd_remove_features

public void doAdd_remove_features(RunData data)
doAdd_remove_features is called when Make These Changes is clicked in chef_site-addRemoveFeatures


doSave_revised_features

public void doSave_revised_features(RunData data)
doSave_revised_features


doMenu_add_participant

public void doMenu_add_participant(RunData data)
doMenu_add_participant


doMenu_siteInfo_addParticipant

public void doMenu_siteInfo_addParticipant(RunData data)
doMenu_siteInfo_addParticipant


doMenu_sitemanage_addParticipant

public void doMenu_sitemanage_addParticipant(RunData data)
doMenu_sitemanage_addParticipant


doMenu_siteInfo_removeParticipant

public void doMenu_siteInfo_removeParticipant(RunData data)
doMenu_siteInfo_removeParticipant


doMenu_siteInfo_changeRole

public void doMenu_siteInfo_changeRole(RunData data)
doMenu_siteInfo_changeRole


doMenu_siteInfo_globalAccess

public void doMenu_siteInfo_globalAccess(RunData data)
doMenu_siteInfo_globalAccess


doMenu_siteInfo_cancel_access

public void doMenu_siteInfo_cancel_access(RunData data)
doMenu_siteInfo_cancel_access


doMenu_siteInfo_import

public void doMenu_siteInfo_import(RunData data)
doMenu_siteInfo_import


doMenu_siteInfo_editClass

public void doMenu_siteInfo_editClass(RunData data)
doMenu_siteInfo_editClass


doMenu_siteInfo_addClass

public void doMenu_siteInfo_addClass(RunData data)
doMenu_siteInfo_addClass


doAdd_class_select

public void doAdd_class_select(RunData data)
first step of adding class


doMenu_siteInfo_duplicate

public void doMenu_siteInfo_duplicate(RunData data)
doMenu_siteInfo_duplicate


doMenu_change_roles

public void doMenu_change_roles(RunData data)
doMenu_change_roles


doMenu_edit_site_info

public void doMenu_edit_site_info(RunData data)
doMenu_edit_site_info


doSitemanage_edit_site_info

public void doSitemanage_edit_site_info(RunData data)
doSitemanage_edit_site_info


doMenu_edit_site_tools

public void doMenu_edit_site_tools(RunData data)
doMenu_edit_site_tools


doMenu_edit_site_access

public void doMenu_edit_site_access(RunData data)
doMenu_edit_site_access


doSitemanage_edit_site_access

public void doSitemanage_edit_site_access(RunData data)
doSitemanage_edit_site_access


doMenu_publish_site

public void doMenu_publish_site(RunData data)
doMenu_publish_site


doBack_to_site_list

public void doBack_to_site_list(RunData data)
Back to worksite setup's list view


doSave_siteInfo

public void doSave_siteInfo(RunData data)
doSave_site_info


doSitemanage_search

public void doSitemanage_search(RunData data,
                                Context context)
Handle a request to search in the sitemanage tool.


doSitemanage_showsearch

public void doSitemanage_showsearch(RunData data,
                                    Context context)
Handle a request to go to Search Mode.


doSitemanage_participants_save

public void doSitemanage_participants_save(RunData data,
                                           Context context)
Handle a request to finalize the participants adding/role-assigning.


doSitemanage_participants

public void doSitemanage_participants(RunData data,
                                      Context context)
doParticipants is the request to go to participants list/edit view


doNavigate_to_site

public void doNavigate_to_site(RunData data)

doUpdate_participant

public void doUpdate_participant(RunData data)
doUpdate_participant


doUpdate_site_access

public void doUpdate_site_access(RunData data)
doUpdate_site_access


doSitemanage_update_site_access

public void doSitemanage_update_site_access(RunData data)
doSitemanage_update_site_access


doSiteinfo_edit_role

public void doSiteinfo_edit_role(RunData data)
dispatch function for changing participants roles


doSiteinfo_edit_globalAccess

public void doSiteinfo_edit_globalAccess(RunData data)
dispatch function for changing site global access


doSiteinfo_save_globalAccess

public void doSiteinfo_save_globalAccess(RunData data)
save changes to site global access


saveSiteStatus

public void saveSiteStatus(SessionState state,
                           boolean published)

commitSite

public void commitSite(Site site,
                       boolean published)

commitSite

public void commitSite(Site site)

doAdd_participant

public void doAdd_participant(RunData data)

doAdd_features

public void doAdd_features(RunData data)
A dispatch funtion when selecting course features


doFinish_grad_tools

public void doFinish_grad_tools(RunData data)
doFinish_grad_tools is called when creation of a Grad Tools site is confirmed


doAdd_site_option

public void doAdd_site_option(RunData data)
handle with add site options


isGradToolsCandidate

protected boolean isGradToolsCandidate(String userId)
Special check against the Dissertation service, which might not be here...

Returns:

hasGradToolsStudentSite

protected boolean hasGradToolsStudentSite(String userId)
User has a Grad Tools student site

Returns: