| org.sakaiproject.cheftool.VelocityPortletPaneledAction org.sakaiproject.citation.tool.CitationHelperAction
Inner Class :protected static class AdvancedSearchHelper | |
Inner Class :public enum Mode | |
Inner Class :public static class QuotedTextValidator | |
Inner Class :public class CitationListSecurityAdviser implements SecurityAdvisor | |
Method Summary | |
public String | buildAddCitationsPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildCitationsPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) build the context in helper mode. | public String | buildCreatePanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) build the context. | public String | buildDatabasePanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildEditPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildListPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) build the context. | public String | buildMainPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) build the context. | public String | buildMessagePanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildResultsPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildSearchPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | public String | buildViewPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | protected void | cleanup(ToolSession toolSession, String prefix) Iterate over attributes in ToolSession and remove all attributes starting with a particular prefix. | protected ContentResource | createTemporaryResource(ResourceToolActionPipe pipe) | public void | doAddCitation(RunData data) Adds a citation to the current citation collection. | public void | doAddCitations(RunData data) | protected void | doAdvancedSearch(ParameterParser params, SessionState state, ActiveSearch search) Sets up an advanced search. | public void | doBack(RunData data) | protected void | doBasicSearch(ParameterParser params, SessionState state, ActiveSearch search) Sets up a basic search. | public void | doBeginSearch(RunData data) | public void | doCancel(RunData data) Cancel the action for which the helper was launched. | public void | doCancelSearch(RunData data) | public void | doChangeListPageSize(RunData data) | public void | doChangeSearchPageSize(RunData data) | public void | doCreate(RunData data) | public void | doCreateCitation(RunData data) | public void | doDatabasePopulate(RunData data) | public void | doEdit(RunData data) | public void | doFinish(RunData data) | public void | doFirstListPage(RunData data) | public void | doFirstSearchPage(RunData data) | public void | doLastListPage(RunData data) | public void | doList(RunData data) | public void | doMessageFrame(RunData data) | public void | doNextListPage(RunData data) | public void | doNextSearchPage(RunData data) | public void | doPrevListPage(RunData data) | public void | doPrevSearchPage(RunData data) | public void | doRemove(RunData data) Removes a citation from the current citation collection. | public void | doRemoveAllCitations(RunData data) | public void | doRemoveSelectedCitations(RunData data) | public void | doResults(RunData data) | public void | doReviseCitation(RunData data) | public void | doSearch(RunData data) | public void | doView(RunData data) | protected void | initHelper(VelocityPortlet portlet, Context context, RunData rundata, SessionState state) | protected void | loadSearchFormState(Context context, SessionState state) | protected void | popMode(SessionState state) | protected void | pushMode(SessionState state, Mode toPush) Pushes a non-ignorable Mode onto the back-button stack within the given
state object. | protected void | putCitationCollectionDetails(Context context, SessionState state) | protected void | setMode(SessionState state, Mode new_mode) | protected void | toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) Check for the helper-done case locally and handle it before letting the VPPA.toolModeDispatch() handle the actual dispatch. | protected void | updateCitationFromParams(Citation citation, ParameterParser params) | protected String | validateURL(String url) |
DEFAULT_LIST_PAGE_SIZE | final public static Integer DEFAULT_LIST_PAGE_SIZE(Code) | | |
DEFAULT_RESULTS_PAGE_SIZE | final public static Integer DEFAULT_RESULTS_PAGE_SIZE(Code) | | |
ELEMENT_ID_CREATE_FORM | final protected static String ELEMENT_ID_CREATE_FORM(Code) | | |
ELEMENT_ID_EDIT_FORM | final protected static String ELEMENT_ID_EDIT_FORM(Code) | | |
ELEMENT_ID_LIST_FORM | final protected static String ELEMENT_ID_LIST_FORM(Code) | | |
ELEMENT_ID_RESULTS_FORM | final protected static String ELEMENT_ID_RESULTS_FORM(Code) | | |
ELEMENT_ID_SEARCH_FORM | final protected static String ELEMENT_ID_SEARCH_FORM(Code) | | |
ELEMENT_ID_VIEW_FORM | final protected static String ELEMENT_ID_VIEW_FORM(Code) | | |
PARAM_FORM_NAME | final protected static String PARAM_FORM_NAME(Code) | | |
STATE_BACK_BUTTON_STACK | final protected static String STATE_BACK_BUTTON_STACK(Code) | | |
STATE_BASIC_SEARCH | final protected static String STATE_BASIC_SEARCH(Code) | | |
STATE_CITATION_ID | final protected static String STATE_CITATION_ID(Code) | | |
STATE_COLLECTION_ID | final protected static String STATE_COLLECTION_ID(Code) | | |
STATE_COLLECTION_TITLE | final protected static String STATE_COLLECTION_TITLE(Code) | | |
STATE_CURRENT_DATABASES | final protected static String STATE_CURRENT_DATABASES(Code) | | |
STATE_CURRENT_REPOSITORY | final protected static String STATE_CURRENT_REPOSITORY(Code) | | |
STATE_CURRENT_RESULTS | final protected static String STATE_CURRENT_RESULTS(Code) | | |
STATE_DEFAULT_CATEGORY | final protected static String STATE_DEFAULT_CATEGORY(Code) | | |
STATE_KEYWORDS | final protected static String STATE_KEYWORDS(Code) | | |
STATE_LIST_ITERATOR | final protected static String STATE_LIST_ITERATOR(Code) | | |
STATE_LIST_NO_SCROLL | final protected static String STATE_LIST_NO_SCROLL(Code) | | |
STATE_LIST_PAGE | final protected static String STATE_LIST_PAGE(Code) | | |
STATE_LIST_PAGE_SIZE | final protected static String STATE_LIST_PAGE_SIZE(Code) | | |
STATE_NO_DATABASES | final protected static String STATE_NO_DATABASES(Code) | | |
STATE_NO_KEYWORDS | final protected static String STATE_NO_KEYWORDS(Code) | | |
STATE_NO_RESULTS | final protected static String STATE_NO_RESULTS(Code) | | |
STATE_REPOSITORY_MAP | final protected static String STATE_REPOSITORY_MAP(Code) | | |
STATE_RESOURCES_ADD | final protected static String STATE_RESOURCES_ADD(Code) | | |
STATE_RESULTS_PAGE_SIZE | final protected static String STATE_RESULTS_PAGE_SIZE(Code) | | |
STATE_SEARCH_HIERARCHY | final protected static String STATE_SEARCH_HIERARCHY(Code) | | |
STATE_SEARCH_INFO | final protected static String STATE_SEARCH_INFO(Code) | | |
STATE_SEARCH_RESULTS | final protected static String STATE_SEARCH_RESULTS(Code) | | |
STATE_SELECTED_CATEGORY | final protected static String STATE_SELECTED_CATEGORY(Code) | | |
STATE_UNAUTHORIZED_DB | final protected static String STATE_UNAUTHORIZED_DB(Code) | | |
TEMPLATE_ADD_CITATIONS | final protected static String TEMPLATE_ADD_CITATIONS(Code) | | |
TEMPLATE_CREATE | final protected static String TEMPLATE_CREATE(Code) | | |
TEMPLATE_DATABASE | final protected static String TEMPLATE_DATABASE(Code) | | |
TEMPLATE_EDIT | final protected static String TEMPLATE_EDIT(Code) | | |
TEMPLATE_ERROR | final protected static String TEMPLATE_ERROR(Code) | | |
TEMPLATE_LIST | final protected static String TEMPLATE_LIST(Code) | | |
TEMPLATE_MESSAGE | final protected static String TEMPLATE_MESSAGE(Code) | | |
TEMPLATE_RESULTS | final protected static String TEMPLATE_RESULTS(Code) | | |
TEMPLATE_SEARCH | final protected static String TEMPLATE_SEARCH(Code) | | |
TEMPLATE_VIEW | final protected static String TEMPLATE_VIEW(Code) | | |
ignoreModes | protected static Set<Mode> ignoreModes(Code) | | |
logger | final protected static Log logger(Code) | | |
cleanup | protected void cleanup(ToolSession toolSession, String prefix)(Code) | | Iterate over attributes in ToolSession and remove all attributes starting with a particular prefix.
Parameters: toolSession - Parameters: prefix - |
doAddCitation | public void doAddCitation(RunData data)(Code) | | Adds a citation to the current citation collection. Called from the search-results popup.
|
doAdvancedSearch | protected void doAdvancedSearch(ParameterParser params, SessionState state, ActiveSearch search)(Code) | | Sets up an advanced search.
Parameters: params - request parameters from doBeginSearch Parameters: state - session state Parameters: search - current search |
doBasicSearch | protected void doBasicSearch(ParameterParser params, SessionState state, ActiveSearch search)(Code) | | Sets up a basic search.
Parameters: params - request parameters from doBeginSearch Parameters: state - session state Parameters: search - current search |
doCancel | public void doCancel(RunData data)(Code) | | Cancel the action for which the helper was launched.
|
doCancelSearch | public void doCancelSearch(RunData data)(Code) | | Parameters: data - |
doChangeListPageSize | public void doChangeListPageSize(RunData data)(Code) | | |
doChangeSearchPageSize | public void doChangeSearchPageSize(RunData data)(Code) | | |
doDatabasePopulate | public void doDatabasePopulate(RunData data)(Code) | | |
doFirstSearchPage | public void doFirstSearchPage(RunData data)(Code) | | |
doRemove | public void doRemove(RunData data)(Code) | | Removes a citation from the current citation collection. Called from the search-results popup.
|
doRemoveAllCitations | public void doRemoveAllCitations(RunData data)(Code) | | |
doRemoveSelectedCitations | public void doRemoveSelectedCitations(RunData data)(Code) | | |
loadSearchFormState | protected void loadSearchFormState(Context context, SessionState state)(Code) | | Parameters: context - Parameters: state - |
pushMode | protected void pushMode(SessionState state, Mode toPush)(Code) | | Pushes a non-ignorable Mode onto the back-button stack within the given
state object. Checks toPush against ignoreModes Set.
Parameters: state - this session's state with non-null back-button stack Parameters: toPush - Mode to push on the stack |
setMode | protected void setMode(SessionState state, Mode new_mode)(Code) | | Parameters: state - Parameters: new_mode - |
updateCitationFromParams | protected void updateCitationFromParams(Citation citation, ParameterParser params)(Code) | | Parameters: citation - Parameters: params - |
Methods inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction | protected void actionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) public static void addAlert(SessionState state, String message)(Code)(Java Doc) protected void addOptionsMenu(Menu bar, JetspeedRunData data)(Code)(Java Doc) protected boolean allowedToOptions()(Code)(Java Doc) protected void cancelOptions()(Code)(Java Doc) protected String clientWindowId(SessionState state, String toolId)(Code)(Java Doc) public static void disableObservers(SessionState state)(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) public void doOptions(RunData runData, Context context)(Code)(Java Doc) public void doReset(RunData runData, Context context)(Code)(Java Doc) public static void enableObservers(SessionState state)(Code)(Java Doc) protected Map getContext(RunData data)(Code)(Java Doc) protected void helperActionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res, String className)(Code)(Java Doc) protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)(Java Doc) protected void initState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) public static void justDelivered(SessionState state)(Code)(Java Doc) public static String mainPanelUpdateId(String toolId)(Code)(Java Doc) protected String panelMethodName(String panel)(Code)(Java Doc) public void processAction(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void resetTool(SessionState state)(Code)(Java Doc) protected void saveOptions()(Code)(Java Doc) protected void scheduleFocusRefresh(String[] path)(Code)(Java Doc) protected void schedulePeerFrameRefresh(String id)(Code)(Java Doc) protected void scheduleTopRefresh()(Code)(Java Doc) protected void setVmCourier(HttpServletRequest request, int refresh)(Code)(Java Doc) protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc) public static String titlePanelUpdateId(String toolId)(Code)(Java Doc) protected void toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) throws ToolException(Code)(Java Doc) protected void updateState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
|
|
|