|
|
|
|
|
||||||||||
| 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.FilterEditor
public class FilterEditor
the editor for the Filters.
Filter| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
FilterEditor()
|
|
| Method Summary | |
|---|---|
void |
createFilter(Bundle bundle, ServiceRequest request)
creates a new Filter with the given name. |
void |
createFilterCopy(Bundle bundle, ServiceRequest request)
creates a copy of a Filter specified by parameter "id" in request
with given name specified by parameter "copyName" in request. |
FilterEditorResult |
editFilter(Bundle bundle, ServiceRequest request)
returns the initialisation result of the content-filter-editor for a single filter. |
void |
init(ConfigBean c)
initializes this controller. |
FilterEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
returns the initialization result of the content-filter-editor. |
FilterEditorResult |
initOverview(Bundle bundle, ServiceRequest request)
returns the initialization result of the content-filter-editor for all filters (overview-page). |
java.lang.Object |
loadFilters(Bundle bundle, ServiceRequest request)
returns the filters for overview-page. |
void |
removeFilter(Bundle bundle, ServiceRequest request)
removes a Filter by parameter id passed with request. |
void |
saveFilter(Bundle bundle, ServiceRequest request)
sets the name of a Filter specified by parameter "id" passed with
request to parameter "name" passed with request. |
| 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 FilterEditor()
| Method Detail |
|---|
@RequireToken
@Action(value="filterAdminInit", generate=true)
@Permission(value="editFilter")
@Groups(values={"FilterEditor","FilterMatchesEditor","FilterRuleEditor","FilterPropertyEditor"})
public final FilterEditorResult initEditor(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="filterOverviewInit", generate=true)
@Permission(value="viewFilter")
@Groups(values={"FilterEditor","FilterMatchesEditor","FilterRuleEditor","FilterPropertyEditor"})
public final FilterEditorResult initOverview(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadFilters", generate=true)
@Permission(value="viewFilter")
@Groups(values={"FilterEditor","FilterMatchesEditor","FilterRuleEditor","FilterPropertyEditor"})
public final java.lang.Object loadFilters(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
null
@RequireToken
@Action(value="editFilter", generate=true)
@Permission(value="viewFilter")
@Groups(values={"FilterEditor","FilterMatchesEditor","FilterRuleEditor","FilterPropertyEditor"})
public final FilterEditorResult editFilter(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken @Action(value="createFilter", generate=true) @Permission(value="editFilter") @Groups(values="FilterEditor") public final void createFilter(Bundle bundle, ServiceRequest request)
Filter with the given name.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="removeFilter", generate=true) @Permission(value="editFilter") @Groups(values="FilterEditor") public final void removeFilter(Bundle bundle, ServiceRequest request)
Filter by parameter id passed with request.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="saveFilter", generate=true) @Permission(value="editFilter") @Groups(values="FilterEditor") public final void saveFilter(Bundle bundle, ServiceRequest request)
Filter specified by parameter "id" passed with
request to parameter "name" passed with request.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="createFilterCopy", generate=true)
@Permission(value="viewFilter")
@Groups(values={"FilterEditor","FilterMatchesEditor","FilterRuleEditor","FilterPropertyEditor"})
public final void createFilterCopy(Bundle bundle, ServiceRequest request)
Filter specified by parameter "id" in request
with given name specified by parameter "copyName" in 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 | |||||||||