| |
|
| org.opencms.workplace.CmsDialog org.opencms.workplace.CmsWidgetDialog org.opencms.workplace.tools.accounts.A_CmsEditGroupDialog
All known Subclasses: org.opencms.workplace.tools.accounts.CmsEditGroupDialog, com.alkacon.opencms.newsletter.admin.CmsEditMailinglistDialog,
A_CmsEditGroupDialog | abstract public class A_CmsEditGroupDialog extends CmsWidgetDialog (Code) | | Skeleton dialog to create a new group or edit an existing group in the administration view.
author: Michael Moossen version: $Revision: 1.8 $ since: 6.0.0 |
KEY_PREFIX | final public static String KEY_PREFIX(Code) | | localized messages Keys prefix.
|
PAGES | final public static String[] PAGES(Code) | | Defines which pages are valid for this dialog.
|
PARAM_GROUPID | final public static String PARAM_GROUPID(Code) | | Request parameter name for the group id.
|
PARAM_GROUPNAME | final public static String PARAM_GROUPNAME(Code) | | Request parameter name for the group name.
|
m_group | protected CmsGroup m_group(Code) | | The user object that is edited on this dialog.
|
A_CmsEditGroupDialog | public A_CmsEditGroupDialog(CmsJspActionElement jsp)(Code) | | Public constructor with JSP action element.
Parameters: jsp - an initialized JSP action element |
actionCommit | public void actionCommit()(Code) | | Commits the edited group to the db.
|
createDialogHtml | protected String createDialogHtml(String dialog)(Code) | | Creates the dialog HTML for all defined widgets of the named dialog (page).
This overwrites the method from the super class to create a layout variation for the widgets.
Parameters: dialog - the dialog (page) to get the HTML for the dialog HTML for all defined widgets of the named dialog (page) |
defineWidgets | protected void defineWidgets()(Code) | | Creates the list of widgets for this dialog.
|
getAssignedOu | public String getAssignedOu()(Code) | | Returns the description of the parent ou.
the description of the parent ou |
getDescription | public String getDescription()(Code) | | Returns the localized description of a group.
the localized description of a group |
getListClass | abstract protected String getListClass()(Code) | | Returns the dialog class name of the list to refresh.
the list dialog class name |
getListRootPath | abstract protected String getListRootPath()(Code) | | Returns the root path for the list tool.
the root path |
getName | public String getName()(Code) | | Returns the simple name of the group object.
the simple name of the group object |
getParamGroupid | public String getParamGroupid()(Code) | | Returns the user id parameter value.
the user id parameter value |
getParamOufqn | public String getParamOufqn()(Code) | | Returns the organizational unit parameter value.
the organizational unit parameter value |
getParentGroup | public String getParentGroup()(Code) | | Returns the parent Group name.
the parent Group name |
initGroupObject | protected void initGroupObject()(Code) | | Initializes the group object to work with depending on the dialog state and request parameters.
Two initializations of the group object on first dialog call are possible:
- edit an existing group
- create a new group
- view an existing group overview
- view an existing group short info
|
isEditable | abstract protected boolean isEditable(CmsGroup group)(Code) | | Tests if the given group is editable or not.
Not editable means that no property can be changed.
Parameters: group - the group to test the editable flag |
setAssignedOu | public void setAssignedOu(String assignedOu)(Code) | | The method is just needed for displaying reasons.
Parameters: assignedOu - nothing to do with this parameter |
setDescription | public void setDescription(String description)(Code) | | Sets the description for a group.
Parameters: description - the description for a group |
setName | public void setName(String name)(Code) | | Sets the name of the group object.
Parameters: name - the name of the group object |
setParamGroupid | public void setParamGroupid(String userId)(Code) | | Sets the user id parameter value.
Parameters: userId - the user id parameter value |
setParamOufqn | public void setParamOufqn(String ouFqn)(Code) | | Sets the organizational unit parameter value.
Parameters: ouFqn - the organizational unit parameter value |
setParentGroup | public void setParentGroup(String parentGroup)(Code) | | Sets the parent Group name.
Parameters: parentGroup - the parent Group name to set |
Methods inherited from org.opencms.workplace.CmsWidgetDialog | public void actionCancel()(Code)(Java Doc) abstract public void actionCommit() throws IOException, ServletException(Code)(Java Doc) public void actionToggleElement()(Code)(Java Doc) protected void addCommitError(Exception error)(Code)(Java Doc) protected void addWidget(CmsWidgetDialogParameter param)(Code)(Java Doc) public String buildAddElement(String elementName, int insertAfter, boolean enabled)(Code)(Java Doc) public String buildDialogForm()(Code)(Java Doc) public String buildRemoveElement(String elementName, int index, boolean enabled)(Code)(Java Doc) public void clearDialogObject()(Code)(Java Doc) protected boolean closeDialogOnCommit()(Code)(Java Doc) protected List commitWidgetValues()(Code)(Java Doc) protected List commitWidgetValues(String dialogPage)(Code)(Java Doc) protected String createDialogHtml()(Code)(Java Doc) protected String createDialogHtml(String dialog)(Code)(Java Doc) protected String createDialogRowHtml(CmsWidgetDialogParameter base)(Code)(Java Doc) protected String createDialogRowsHtml(int startIndex, int endIndex)(Code)(Java Doc) protected String createWidgetBlockEnd()(Code)(Java Doc) protected String createWidgetBlockStart(String headline)(Code)(Java Doc) protected String createWidgetErrorHeader()(Code)(Java Doc) protected String createWidgetTableEnd()(Code)(Java Doc) protected String createWidgetTableStart()(Code)(Java Doc) protected String defaultActionHtml() throws JspException(Code)(Java Doc) protected String defaultActionHtmlContent()(Code)(Java Doc) protected String defaultActionHtmlEnd()(Code)(Java Doc) protected String defaultActionHtmlStart() throws JspException(Code)(Java Doc) abstract protected void defineWidgets()(Code)(Java Doc) public String dialogBlockEnd()(Code)(Java Doc) public String dialogBlockStart(String headline)(Code)(Java Doc) public String dialogButtonsCustom()(Code)(Java Doc) public void displayDialog() throws JspException, IOException, ServletException(Code)(Java Doc) public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException(Code)(Java Doc) protected void fillWidgetValues(HttpServletRequest request)(Code)(Java Doc) public int getButtonStyle()(Code)(Java Doc) public List getCommitErrors()(Code)(Java Doc) public Object getDialogObject()(Code)(Java Doc) protected String getDialogTitle()(Code)(Java Doc) public Set getHelpMessageIds()(Code)(Java Doc) abstract protected String[] getPageArray()(Code)(Java Doc) protected List getPages()(Code)(Java Doc) public String getParamElementIndex()(Code)(Java Doc) public String getParamElementName()(Code)(Java Doc) public String getParamPage()(Code)(Java Doc) public String getParamValue(String name)(Code)(Java Doc) public String getParamValue(String name, int index)(Code)(Java Doc) protected CmsWidgetDialogParameter getParameterDefinition(String name)(Code)(Java Doc) protected Map getParameters()(Code)(Java Doc) public String getUserAgent()(Code)(Java Doc) protected List getValidationErrorList()(Code)(Java Doc) protected String getWidget(CmsWidgetDialogParameter param)(Code)(Java Doc) public String getWidgetHtmlEnd()(Code)(Java Doc) public String getWidgetIncludes() throws JspException(Code)(Java Doc) public String getWidgetInitCalls() throws JspException(Code)(Java Doc) public String getWidgetInitMethods() throws JspException(Code)(Java Doc) protected List getWidgets()(Code)(Java Doc) protected boolean hasCommitErrors()(Code)(Java Doc) protected boolean hasValidationErrors()(Code)(Java Doc) protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc) public String paramsAsHidden()(Code)(Java Doc) protected void setCommitErrors(List errors)(Code)(Java Doc) public void setDialogObject(Object dialogObject)(Code)(Java Doc) protected void setKeyPrefix(String prefix)(Code)(Java Doc) protected void setPages(List pages)(Code)(Java Doc) public void setParamElementIndex(String elementIndex)(Code)(Java Doc) public void setParamElementName(String elementName)(Code)(Java Doc) public void setParamPage(String paramPage)(Code)(Java Doc) protected void setValidationErrorList(List errors)(Code)(Java Doc) protected void validateParamaters() throws Exception(Code)(Java Doc) public String widgetParamsAsHidden()(Code)(Java Doc) public String widgetParamsAsHidden(String excludeDialogPage)(Code)(Java Doc) public void writeDialog() throws IOException, JspException(Code)(Java Doc)
|
Methods inherited from org.opencms.workplace.CmsDialog | public void actionCloseDialog() throws JspException(Code)(Java Doc) protected String appendDelimiter(String attribute)(Code)(Java Doc) public String buildAjaxResultContainer(String title)(Code)(Java Doc) protected String buildAjaxWaitMessage()(Code)(Java Doc) public String buildLockAdditionalOptions()(Code)(Java Doc) public String buildLockConfirmationMessageJS()(Code)(Java Doc) public String buildLockDialog() throws CmsException(Code)(Java Doc) public String buildLockDialog(CmsLockFilter nonBlockingFilter, CmsLockFilter blockingFilter, int hiddenTimeout, boolean includeRelated) throws CmsException(Code)(Java Doc) public String buildLockHeaderBox() throws CmsException(Code)(Java Doc) protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder)(Code)(Java Doc) protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder, CmsMessageContainer errorMessage)(Code)(Java Doc) protected String computeCurrentFolder()(Code)(Java Doc) public String dialog(int segment, String attributes)(Code)(Java Doc) public String dialogBlock(int segment, String headline, boolean error)(Code)(Java Doc) public String dialogBlockEnd()(Code)(Java Doc) public String dialogBlockStart(String headline)(Code)(Java Doc) public String dialogButtonRow(int segment)(Code)(Java Doc) public String dialogButtonRowEnd()(Code)(Java Doc) public String dialogButtonRowStart()(Code)(Java Doc) public String dialogButtons(int[] buttons, String[] attributes)(Code)(Java Doc) public String dialogButtonsClose()(Code)(Java Doc) public String dialogButtonsClose(String closeAttribute)(Code)(Java Doc) public String dialogButtonsCloseDetails(String closeAttribute, String detailsAttribute)(Code)(Java Doc) protected void dialogButtonsHtml(StringBuffer result, int button, String attribute)(Code)(Java Doc) public String dialogButtonsOk()(Code)(Java Doc) public String dialogButtonsOk(String okAttribute)(Code)(Java Doc) public String dialogButtonsOkCancel()(Code)(Java Doc) public String dialogButtonsOkCancel(String okAttributes, String cancelAttributes)(Code)(Java Doc) public String dialogButtonsOkCancelAdvanced(String okAttributes, String cancelAttributes, String advancedAttributes)(Code)(Java Doc) public String dialogButtonsSetOkCancel(String setAttributes, String okAttributes, String cancelAttributes)(Code)(Java Doc) public String dialogContent(int segment, String title)(Code)(Java Doc) public String dialogContentEnd()(Code)(Java Doc) public String dialogContentStart(String title)(Code)(Java Doc) public String dialogEnd()(Code)(Java Doc) public String dialogHead(String title)(Code)(Java Doc) public String dialogHorizontalSpacer(int width)(Code)(Java Doc) public String dialogLockButtons()(Code)(Java Doc) public String dialogRow(int segment)(Code)(Java Doc) public String dialogRowEnd()(Code)(Java Doc) public String dialogRowStart()(Code)(Java Doc) public String dialogScriptSubmit()(Code)(Java Doc) public String dialogSeparator()(Code)(Java Doc) public String dialogSpacer()(Code)(Java Doc) public String dialogStart()(Code)(Java Doc) public String dialogStart(String attributes)(Code)(Java Doc) public String dialogSubheadline(String headline)(Code)(Java Doc) public String dialogToggleStart(String headline, String id, boolean show)(Code)(Java Doc) public String dialogWhiteBox(int segment)(Code)(Java Doc) public String dialogWhiteBoxEnd()(Code)(Java Doc) public String dialogWhiteBoxStart()(Code)(Java Doc) public int getAction()(Code)(Java Doc) protected String getAdministrationBackLink()(Code)(Java Doc) public String getCancelAction()(Code)(Java Doc) public String getDialogRealUri()(Code)(Java Doc) public String getDialogUri()(Code)(Java Doc) public String getOnlineHelpUriCustom()(Code)(Java Doc) public String getParamAction()(Code)(Java Doc) public String getParamCloseLink()(Code)(Java Doc) public String getParamDialogtype()(Code)(Java Doc) public String getParamFramename()(Code)(Java Doc) public String getParamIsPopup()(Code)(Java Doc) public String getParamMessage()(Code)(Java Doc) public String getParamOriginalParams()(Code)(Java Doc) public String getParamPreActionDone()(Code)(Java Doc) public String getParamRedirect()(Code)(Java Doc) public String getParamResource()(Code)(Java Doc) public String getParamTitle()(Code)(Java Doc) public String getState() throws CmsException(Code)(Java Doc) public boolean hasCorrectLockstate()(Code)(Java Doc) public boolean hasSiblings()(Code)(Java Doc) public String htmlStart()(Code)(Java Doc) public String htmlStart(String helpUrl)(Code)(Java Doc) public String htmlStart(String helpUrl, String title)(Code)(Java Doc) public String htmlStartStyle(String title, String stylesheet)(Code)(Java Doc) public void includeErrorpage(CmsWorkplace wp, Throwable t) throws JspException(Code)(Java Doc) public static CmsDialog initCmsDialog(PageContext context, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc) public boolean isPopup()(Code)(Java Doc) public boolean isPreEditor()(Code)(Java Doc) public String pageHtml(int segment, String helpUrl)(Code)(Java Doc) public String pageHtml(int segment, String helpUrl, String title)(Code)(Java Doc) protected void setAction(int value)(Code)(Java Doc) public void setOnlineHelpUriCustom(String uri)(Code)(Java Doc) public void setParamAction(String value)(Code)(Java Doc) public void setParamCloseLink(String value)(Code)(Java Doc) public void setParamDialogtype(String value)(Code)(Java Doc) public void setParamFramename(String value)(Code)(Java Doc) public void setParamIsPopup(String value)(Code)(Java Doc) public void setParamMessage(String value)(Code)(Java Doc) public void setParamOriginalParams(String paramOriginalParams)(Code)(Java Doc) public void setParamPreActionDone(String paramPreActionDone)(Code)(Java Doc) public void setParamRedirect(String redirect)(Code)(Java Doc) public void setParamResource(String value)(Code)(Java Doc) public void setParamTitle(String value)(Code)(Java Doc)
|
|
|
|