|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.accesscontrol.admin.AbstractAccessControlEditor
org.torweg.pulse.component.core.accesscontrol.admin.CommandMatcherEditor
public class CommandMatcherEditor
the editor for the CommandMatchers of a Permission. This
editor is shown in a modal Ext.Window as part of the permission-editor within
the pulse-web-site-administration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
CommandMatcherEditor()
|
|
| Method Summary | |
|---|---|
void |
createCommandMatcher(Bundle bundle, ServiceRequest request)
creates a new CommandMatcher for a Permission. |
void |
deleteCommandMatcher(Bundle bundle, ServiceRequest request)
removes a CommandMatcher/CommandMatchers from a
Permission. |
void |
init(ConfigBean c)
initializes the CommandMatcherEditor. |
AccessControlEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
loads a CommandMatcher specified by request-parameter "id" for
the initialization of the command-matcher-editor-window within
pulse-web-site-administration. |
java.lang.Object |
loadCommandMatchersOverviewGrid(Bundle bundle, ServiceRequest request)
loads the grid for the command-matcher-overview for a Permission
specified by request-parameter "id" within the permission-editor of the
pulse-web-site-administration. |
void |
loadParameters(Bundle bundle, ServiceRequest request)
loads the Parameters of the command-matcher. |
void |
saveCommandMatcher(Bundle bundle, ServiceRequest request)
saves changes of the values of a CommandMatcher. |
| Methods inherited from class org.torweg.pulse.component.core.accesscontrol.admin.AbstractAccessControlEditor |
|---|
buildCriterionFromRequest, buildIdCriterionFromRequest, buildLoadAssorterCriteria, buildLoadAssorterCriteria, getReqParamIgnoreEmptyValue, getReqParamOrNullIfValueEmpty, loadAssorterData, loadAssorterData, processCriteriaForPaging, retrieveAssorterObjects |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandMatcherEditor()
| Method Detail |
|---|
@RequireToken
@Action(value="initCommandMatcherEditor", generate=true)
@Permission(value="initCommandMatcherEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final AccessControlEditorResult initEditor(Bundle bundle, ServiceRequest request)
CommandMatcher specified by request-parameter "id" for
the initialization of the command-matcher-editor-window within
pulse-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadCommandMatchersOverviewGrid", generate=true)
@Permission(value="loadCommandMatchersOverviewGrid")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final java.lang.Object loadCommandMatchersOverviewGrid(Bundle bundle, ServiceRequest request)
Permission
specified by request-parameter "id" within the permission-editor of the
pulse-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadParametersCommandMatcherEditor", generate=true)
@Permission(value="loadParametersCommandMatcherEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final void loadParameters(Bundle bundle, ServiceRequest request)
Parameters of the command-matcher. Used the load the
parameter-grid of the command-matcher-editor-window within pulse
-web-site-administration.
possible errors:
Returns a JSON-response with the parameters of the command-matcher on
success, basic JSONObject error (status=false) otherwise
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="createCommandMatcherEditor", generate=true)
@Permission(value="createCommandMatcherEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final void createCommandMatcher(Bundle bundle, ServiceRequest request)
CommandMatcher for a Permission.
possible errors:
Sends a JSON-response with id and FQ-class-name of the new
command-matcher if create succeeds, JSONObject error otherwise.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="deleteCommandMatcherEditor", generate=true)
@Permission(value="deleteCommandMatcherEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final void deleteCommandMatcher(Bundle bundle, ServiceRequest request)
CommandMatcher/CommandMatchers from a
Permission.
expects: request-parameter "ids" as Array of ids always
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="saveCommandMatcherEditor", generate=true)
@Permission(value="saveCommandMatcherEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:CommandMatcherEditor"})
public final void saveCommandMatcher(Bundle bundle, ServiceRequest request)
CommandMatcher.
possible errors:
bundle - the current Bundlerequest - the current ServiceRequestpublic final void init(ConfigBean c)
CommandMatcherEditor.
init in interface DeprecatedConfigurablec - the ConfigBean of this Controller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||