|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a facade for all profile related operations
Profile
Field Summary | |
static java.lang.String |
SERVICE_NAME
The name of this service |
Method Summary | |
ProfileLocator |
createLocator()
Creates a new ProfileLocator object that can be successfully managed by the current Profiler implementation |
Profile |
createProfile()
Creates a new Profile object that can be successfully managed by the current Profiler implementation |
Profile |
createProfile(ProfileLocator locator)
Creates a new Profile object for a specific locator. |
Profile |
createProfile(ProfileLocator locator,
Portlets portlets)
Create a new profile. |
Profile |
createProfile(org.apache.turbine.util.RunData data,
Profile profile)
Create a new profile. |
Profile |
createProfile(org.apache.turbine.util.RunData data,
Profile profile,
MimeType mt)
Create a new profile. |
Profile |
getProfile(ProfileLocator locator)
get the Profile object using a profile locator |
Profile |
getProfile(org.apache.turbine.util.RunData rundata)
get the Profile object using the Rundata state and capability map this is the mapping functionality of the profiler |
Profile |
getProfile(org.apache.turbine.util.RunData rundata,
CapabilityMap cm)
get the Profile object using the Rundata state and capability map this is the mapping functionality of the profiler |
Profile |
getProfile(org.apache.turbine.util.RunData data,
MimeType mt)
Deprecated. Do not use a profiler method based on MimeType |
org.apache.turbine.util.DynamicURI |
makeDynamicURI(org.apache.turbine.util.RunData data,
ProfileLocator locator)
Creates a dynamic URI |
java.util.Iterator |
query(QueryLocator locator)
Query for a collection of profiles given a profile locator criteria. |
void |
removeProfile(ProfileLocator locator)
Removes a profile. |
boolean |
useRoleProfileMerging()
Returns status of role profile merging feature |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public Profile getProfile(org.apache.turbine.util.RunData rundata, CapabilityMap cm) throws ProfileException
rundata
- The rundata object for the current request.cm
- The device capability map.
ProfileException
public Profile getProfile(org.apache.turbine.util.RunData rundata) throws ProfileException
rundata
- The rundata object for the current request.
ProfileException
public Profile getProfile(org.apache.turbine.util.RunData data, MimeType mt) throws ProfileException
ProfileException
public Profile getProfile(ProfileLocator locator) throws ProfileException
locator
- The locator containing criteria describing the profile.
ProfileException
public org.apache.turbine.util.DynamicURI makeDynamicURI(org.apache.turbine.util.RunData data, ProfileLocator locator) throws ProfileException
locator
- The description of the profile.
ProfileException
public Profile createProfile()
public Profile createProfile(ProfileLocator locator)
locator
- The description of the profile.
public ProfileLocator createLocator()
public Profile createProfile(org.apache.turbine.util.RunData data, Profile profile) throws ProfileException
profile
- The description of the new profile to be created.
ProfileException
public Profile createProfile(org.apache.turbine.util.RunData data, Profile profile, MimeType mt) throws ProfileException
profile
- The description of the new profile to be created.mt
- The specific mime type, which is converted to a mediatype.
ProfileException
public Profile createProfile(ProfileLocator locator, Portlets portlets) throws ProfileException
locator
- The description of the new profile to be created.portlets
- The PSML tree
ProfileException
public void removeProfile(ProfileLocator locator) throws ProfileException
locator
- The profile locator criteria.
ProfileException
public java.util.Iterator query(QueryLocator locator)
locator
- The profile locator criteria.
public boolean useRoleProfileMerging()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |