|
|
|
|
|
||||||||||
| 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.site.content.filter.admin.FilterRulesEditor
public class FilterRulesEditor
the editor for the filter-rules.
FilterRule| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
FilterRulesEditor()
|
|
| Method Summary | |
|---|---|
void |
createFilterRule(Bundle bundle, ServiceRequest request)
creates a FilterRule for a Filter specified by parameter
id within the request. |
void |
createFilterRuleProperty(Bundle bundle, ServiceRequest request)
creates a FilterRuleProperty with name specified by parameter
"name" in request for a FilterRule specified by parameter "id" in
request. |
void |
init(ConfigBean c)
initializes this controller. |
FilterRulesEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
starts the editor for a FilterRule specified by parameter id
within the request. |
void |
loadFilterRuleLocalizations(Bundle bundle, ServiceRequest request)
returns the localizations for a FilterRule as JSONResponse. |
void |
loadFilterRuleProperties(Bundle bundle, ServiceRequest request)
returns the FilterRuleProperty-localizations for a FilterRule as JSONResponse. |
void |
loadFilterRules(Bundle bundle, ServiceRequest request)
loads the requested FilterRules of a Filter specified by
parameter id within the request. |
void |
moveFilterRule(Bundle bundle, ServiceRequest request)
moves a FilterRule specified by parameter "id", "dir" within the
request. |
void |
moveFilterRuleProperty(Bundle bundle, ServiceRequest request)
moves a FilterRuleProperty specified by parameter "id", "dir",
"ruleid" within the request. |
void |
removeFilterRule(Bundle bundle, ServiceRequest request)
removes a FilterRule specified by parameter id within the
request. |
void |
removeFilterRuleProperty(Bundle bundle, ServiceRequest request)
removes a FilterRuleProperty specified by parameter "id" in
request from a FilterRule specified by parameter "id" in request. |
void |
saveFilterRule(Bundle bundle, ServiceRequest request)
saves a FilterRule specified by parameter "id" in. |
| 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 FilterRulesEditor()
| Method Detail |
|---|
@RequireToken
@Action(value="loadFilterRules", generate=true)
@Permission(value="viewFilterRules")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void loadFilterRules(Bundle bundle, ServiceRequest request)
FilterRules of a Filter specified by
parameter id within the request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="createFilterRule", generate=true)
@Permission(value="editFilterRules")
@Groups(values={"FilterRuleEditor","FilterEditor"})
public final void createFilterRule(Bundle bundle, ServiceRequest request)
FilterRule for a Filter specified by parameter
id within the request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="moveFilterRule", generate=true)
@Permission(value="editFilterRules")
@Groups(values={"FilterRuleEditor","FilterEditor"})
public final void moveFilterRule(Bundle bundle, ServiceRequest request)
FilterRule specified by parameter "id", "dir" within the
request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="removeFilterRule", generate=true)
@Permission(value="editFilterRules")
@Groups(values={"FilterRuleEditor","FilterEditor"})
public final void removeFilterRule(Bundle bundle, ServiceRequest request)
FilterRule specified by parameter id within the
request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="initFilterRuleEditor", generate=true)
@Permission(value="viewFilterRules")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final FilterRulesEditorResult initEditor(Bundle bundle, ServiceRequest request)
FilterRule specified by parameter id
within the request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadFilterRuleLocalizations", generate=true)
@Permission(value="viewFilterRuleLocalizations")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void loadFilterRuleLocalizations(Bundle bundle, ServiceRequest request)
FilterRule as JSONResponse.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadFilterRuleProperties", generate=true)
@Permission(value="viewFilterRuleProperties")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void loadFilterRuleProperties(Bundle bundle, ServiceRequest request)
FilterRuleProperty-localizations for a FilterRule as JSONResponse.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="createFilterRuleProperty", generate=true)
@Permission(value="editFilterRuleProperties")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void createFilterRuleProperty(Bundle bundle, ServiceRequest request)
FilterRuleProperty with name specified by parameter
"name" in request for a FilterRule specified by parameter "id" in
request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="removeFilterRuleProperty", generate=true)
@Permission(value="editFilterRuleProperties")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void removeFilterRuleProperty(Bundle bundle, ServiceRequest request)
FilterRuleProperty specified by parameter "id" in
request from a FilterRule specified by parameter "id" in request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="saveFilterRule", generate=true)
@Permission(value="editFilterRules")
@Groups(values={"FilterRuleEditor","FilterEditor"})
public final void saveFilterRule(Bundle bundle, ServiceRequest request)
FilterRule specified by parameter "id" in.
saves: - name - rule-localizations - rule-property-localizations
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="moveFilterRuleProperty", generate=true)
@Permission(value="editFilterRuleProperties")
@Groups(values={"FilterPropertyEditor","FilterRuleEditor","FilterEditor"})
public final void moveFilterRuleProperty(Bundle bundle, ServiceRequest request)
FilterRuleProperty specified by parameter "id", "dir",
"ruleid" within the request.
bundle - the current Bundlerequest - the current ServiceRequestpublic void init(ConfigBean c)
init in interface DeprecatedConfigurablec - the configuration-bean of this controller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||