pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site.content.filter.admin
Class FilterMatchesEditor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.core.site.content.filter.admin.FilterMatchesEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class FilterMatchesEditor
extends Controller
implements DeprecatedConfigurable

Version:
$Revision: 1914 $
Author:
Daniel Dietz
See Also:
FilterMatches

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
FilterMatchesEditor()
           
 
Method Summary
 void createFilterMatch(Bundle bundle, ServiceRequest request)
          creates a FilterMatches for a Filter specified by parameter id within the request.
 void init(ConfigBean c)
          initializes this controller.
 FilterMatchesEditorResult initEditor(Bundle bundle, ServiceRequest request)
          starts the editing of a FilterMatches specified by parameter id within the request.
 void loadFilterMatches(Bundle bundle, ServiceRequest request)
          loads the requested FilterMatches of a Filter specified by parameter id within the request.
 void loadFilterMatchesRules(Bundle bundle, ServiceRequest request)
          loads the rules of a FilterMatches.
 FilterMatchesEditorResult loadPropertiesForRule(Bundle bundle, ServiceRequest request)
          loads the properties of a FilterRule.
 void moveFilterMatch(Bundle bundle, ServiceRequest request)
          moves a FilterMatches specified by parameter id within the request of a Filter.
 void removeFilterMatch(Bundle bundle, ServiceRequest request)
          removes a FilterMatches specified by parameter id within the request from a Filter.
 void saveRulePropertiesForMatch(Bundle bundle, ServiceRequest request)
          saves the properties for a FilterMatches.
 
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

FilterMatchesEditor

public FilterMatchesEditor()
Method Detail

loadFilterMatches

@RequireToken
@Action(value="loadFilterMatches", generate=true)
@Permission(value="viewFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void loadFilterMatches(Bundle bundle, ServiceRequest request)
loads the requested FilterMatches of a Filter specified by parameter id within the request.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

createFilterMatch

@RequireToken
@Action(value="createFilterMatch", generate=true)
@Permission(value="editFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void createFilterMatch(Bundle bundle, ServiceRequest request)
creates a FilterMatches for a Filter specified by parameter id within the request.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

removeFilterMatch

@RequireToken
@Action(value="removeFilterMatch", generate=true)
@Permission(value="editFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void removeFilterMatch(Bundle bundle, ServiceRequest request)
removes a FilterMatches specified by parameter id within the request from a Filter.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

moveFilterMatch

@RequireToken
@Action(value="moveFilterMatch", generate=true)
@Permission(value="editFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void moveFilterMatch(Bundle bundle, ServiceRequest request)
moves a FilterMatches specified by parameter id within the request of a Filter.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

initEditor

@RequireToken
@Action(value="initFilterMatchEditor", generate=true)
@Permission(value="viewFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final FilterMatchesEditorResult initEditor(Bundle bundle, ServiceRequest request)
starts the editing of a FilterMatches specified by parameter id within the request.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result

loadFilterMatchesRules

@RequireToken
@Action(value="loadFilterMatchesRules", generate=true)
@Permission(value="viewFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void loadFilterMatchesRules(Bundle bundle, ServiceRequest request)
loads the rules of a FilterMatches.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

loadPropertiesForRule

@RequireToken
@Action(value="loadPropertiesForRule", generate=true)
@Permission(value="viewFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final FilterMatchesEditorResult loadPropertiesForRule(Bundle bundle, ServiceRequest request)
loads the properties of a FilterRule.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result

saveRulePropertiesForMatch

@RequireToken
@Action(value="saveRulePropertiesForMatch", generate=true)
@Permission(value="editFilterMatches")
@Groups(values={"FilterMatchesEditor","FilterEditor"})
public final void saveRulePropertiesForMatch(Bundle bundle, ServiceRequest request)
saves the properties for a FilterMatches.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

init

public void init(ConfigBean c)
initializes this controller.

Specified by:
init in interface DeprecatedConfigurable
Parameters:
c - the configuration-bean of this controller