| |
|
| org.apache.jetspeed.profiler.rules.ProfilingRule
All known Subclasses: org.apache.jetspeed.profiler.rules.impl.RoleFallbackProfilingRule, org.apache.jetspeed.profiler.rules.impl.StandardProfilingRule, org.apache.jetspeed.profiler.rules.impl.AbstractProfilingRule,
ProfilingRule | public interface ProfilingRule extends Serializable(Code) | | A ProfilingRule defines a list of criteria used when evaluating a request
to determine the location of a specific resource. Profiling rules are
used by the Profiler Service to generically locate portal resources
based on the decoupled criteria for known portlet request data.
A rule consists of an ordered list of criteria which should be applied
in the given order of the SortedMap provided by this rule.
Following this order, fallback searches may be applied to find resources
using a less-specific algorithm until the least specific resource criterion
is considered. When all criteria are exhausted, the rule will fail.
author: David Sean Taylor version: $Id: ProfilingRule.java 516448 2007-03-09 16:25:47Z ate $ |
CCPP_PROPERTY | final public static String CCPP_PROPERTY(Code) | | Composite Capabilities and Preference Profile as defined http://www.w3.org/TR/NOTE-CCPP/
|
REQUEST_ATTRIBUTE | final public static String REQUEST_ATTRIBUTE(Code) | | Request attributes as defined in the Portlet spec 1.0 PLT.11.1.3
|
REQUEST_PARAMETER | final public static String REQUEST_PARAMETER(Code) | | Request parameters as defined in the Portlet spec 1.0 PLT.11.1.1
|
SESSION_ATTRIBUTE | final public static String SESSION_ATTRIBUTE(Code) | | Session Attribute
|
STANDARD | final public static String STANDARD(Code) | | Standard rule criteria used by Jetspeed traditionally such as media type, language, username, role
|
STANDARD_COUNTRY | final public static String STANDARD_COUNTRY(Code) | | |
STANDARD_GROUP | final public static String STANDARD_GROUP(Code) | | |
STANDARD_GROUP_ROLE_USER | final public static String STANDARD_GROUP_ROLE_USER(Code) | | |
STANDARD_LANGUAGE | final public static String STANDARD_LANGUAGE(Code) | | |
STANDARD_MEDIATYPE | final public static String STANDARD_MEDIATYPE(Code) | | |
STANDARD_PAGE | final public static String STANDARD_PAGE(Code) | | Standard properties used traditionally in Jetspeed
|
STANDARD_ROLE_FALLBACK | final public static String STANDARD_ROLE_FALLBACK(Code) | | |
USER_ATTRIBUTE | final public static String USER_ATTRIBUTE(Code) | | User attributes as defined in the Portlet spec 1.0 PLT.17
|
apply | ProfileLocator apply(RequestContext context, Profiler service)(Code) | | Applying the profiling rule generates a generic profile locator.
With this locator we can then locate a profiling resource.
Parameters: context - Parameters: service - |
getClassname | String getClassname()(Code) | | Get the implementing classname of this rule from the database.
The class must exist in the hiearchy and in fact refers to itself when instantiated.
The classname of this instance. |
getId | String getId()(Code) | | Gets the unique identifier for this rule
The unique identifier |
getRuleCriteria | Collection getRuleCriteria()(Code) | | Returns a sorted map (ordered) of rule criteria.
Each criteria consists of a normalized property/attribute/parameter
associated with a request type.
a sorted map of rule criteria. |
getTitle | String getTitle()(Code) | | Gets the title used for with the rule for displaying descriptive text.
The title of this rule. |
setClassname | void setClassname(String classname)(Code) | | Sets the implementing classname of this rule from the database.
The class must exist in the hiearchy and in fact refers to itself when instantiated.
Parameters: classname - The classname of this instance. |
setId | void setId(String id)(Code) | | Sets the unique identifier for this rule
Parameters: id - The unique identifier |
setTitle | void setTitle(String title)(Code) | | Set the title used for with the rule for displaying descriptive text.
Parameters: title - The title of this rule. |
|
|
|