|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.personalization.transformation.PznTransformationModel
public abstract class PznTransformationModel
When visibility rule caching is enabled, visibility rules are only executed once per session. If that rule is encountered later in the session, the original results of the rule execution are used. This class can be used to clear the results of those previous execution.
Visibility rule caching can be enabled or disabled by setting rulesEngine.attributeBasedAdmin.enableCaching to true or false in PersonalizationService.properties.
Constructor Summary | |
---|---|
PznTransformationModel()
|
Method Summary | |
---|---|
protected abstract com.ibm.portal.runtime.RuntimeLocator |
getBaseRuntimeLocator()
|
com.ibm.portal.runtime.RuntimeLocator |
getRuntimeLocator()
|
void |
invalidate()
Clears the results of all visibility rules executed by this PznTransformationModel |
static void |
invalidate(javax.servlet.http.HttpServletRequest request)
Clears the results of all visibility rules run in a session |
static void |
invalidate(javax.servlet.http.HttpServletRequest request,
java.lang.String rule)
Clears the results of a visibiliity rule |
void |
invalidate(ObjectID object)
Invalidates the results of the visibilty rule assigned to a page or portlet |
static void |
invalidate(org.apache.jetspeed.portlet.PortletRequest request)
Clears the results of all visibility rules run in a session |
static void |
invalidate(javax.portlet.PortletRequest request)
Clears the results of all visibility rules run in a session |
static void |
invalidate(org.apache.jetspeed.portlet.PortletRequest request,
java.lang.String rule)
Clears the results of a visibility rule run in a session |
static void |
invalidate(javax.portlet.PortletRequest request,
java.lang.String rule)
Clears the results of a visibility rule run in a session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PznTransformationModel()
Method Detail |
---|
public static void invalidate(org.apache.jetspeed.portlet.PortletRequest request)
request
- A request created during the session to be clearedpublic static void invalidate(javax.portlet.PortletRequest request)
request
- A request created during the session to be clearedpublic static void invalidate(javax.servlet.http.HttpServletRequest request)
request
- A request created during the session to be clearedpublic static void invalidate(org.apache.jetspeed.portlet.PortletRequest request, java.lang.String rule) throws PersonalizationException
request
- A request created during the session to be clearedrule
- The full path to the rule to be cleared
PersonalizationException
public static void invalidate(javax.portlet.PortletRequest request, java.lang.String rule) throws PersonalizationException
request
- A request created during the session to be clearedrule
- The full path to the rule to be cleared
PersonalizationException
public static void invalidate(javax.servlet.http.HttpServletRequest request, java.lang.String rule) throws PersonalizationException
request
- A request created during the session to be clearedrule
- The full path to the rule to be cleared
PersonalizationException
public void invalidate(ObjectID object)
object
- The ObjectID of the page or portlet the rule is assigned topublic void invalidate()
protected abstract com.ibm.portal.runtime.RuntimeLocator getBaseRuntimeLocator()
public com.ibm.portal.runtime.RuntimeLocator getRuntimeLocator()
getRuntimeLocator
in interface com.ibm.portal.runtime.RuntimeLocatorProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |