PREV CLASS NEXT CLASS
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.websphere.personalization.transformation
Class PznTransformationModeljava.lang.Objectcom.ibm.websphere.personalization.transformation.PznTransformationModel
- All Implemented Interfaces:
- com.ibm.portal.runtime.RuntimeLocatorProvider
public abstract class PznTransformationModel- extends java.lang.Object
- implements com.ibm.portal.runtime.RuntimeLocatorProvider
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 RuntimeLocator getBaseRuntimeLocator()
RuntimeLocator getRuntimeLocator()
void invalidate()
Clears the results of all visibility rules executed by this PznTransformationModelstatic void invalidate(javax.servlet.http.HttpServletRequest request)
Clears the results of all visibility rules run in a sessionstatic void invalidate(javax.servlet.http.HttpServletRequest request, java.lang.String rule)
Clears the results of a visibiliity rulevoid invalidate(ObjectID object)
Invalidates the results of the visibilty rule assigned to a page or portletstatic void invalidate(org.apache.jetspeed.portlet.PortletRequest request)
Clears the results of all visibility rules run in a sessionstatic void invalidate(javax.portlet.PortletRequest request)
Clears the results of all visibility rules run in a sessionstatic void invalidate(org.apache.jetspeed.portlet.PortletRequest request, java.lang.String rule)
Clears the results of a visibility rule run in a sessionstatic 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 PznTransformationModel
public PznTransformationModel()
Method Detail invalidate
public static void invalidate(org.apache.jetspeed.portlet.PortletRequest request)
- Clears the results of all visibility rules run in a session
- Parameters:
- request - A request created during the session to be cleared
invalidate
public static void invalidate(javax.portlet.PortletRequest request)
- Clears the results of all visibility rules run in a session
- Parameters:
- request - A request created during the session to be cleared
invalidate
public static void invalidate(javax.servlet.http.HttpServletRequest request)
- Clears the results of all visibility rules run in a session
- Parameters:
- request - A request created during the session to be cleared
invalidate
public static void invalidate(org.apache.jetspeed.portlet.PortletRequest request, java.lang.String rule) throws PersonalizationException
- Clears the results of a visibility rule run in a session
- Parameters:
- request - A request created during the session to be cleared
- rule - The full path to the rule to be cleared
- Throws:
- PersonalizationException
invalidate
public static void invalidate(javax.portlet.PortletRequest request, java.lang.String rule) throws PersonalizationException
- Clears the results of a visibility rule run in a session
- Parameters:
- request - A request created during the session to be cleared
- rule - The full path to the rule to be cleared
- Throws:
- PersonalizationException
invalidate
public static void invalidate(javax.servlet.http.HttpServletRequest request, java.lang.String rule) throws PersonalizationException
- Clears the results of a visibiliity rule
- Parameters:
- request - A request created during the session to be cleared
- rule - The full path to the rule to be cleared
- Throws:
- PersonalizationException
invalidate
public void invalidate(ObjectID object)
- Invalidates the results of the visibilty rule assigned to a page or portlet
- Parameters:
- object - The ObjectID of the page or portlet the rule is assigned to
invalidate
public void invalidate()
- Clears the results of all visibility rules executed by this PznTransformationModel
getBaseRuntimeLocator
protected abstract RuntimeLocator getBaseRuntimeLocator()
getRuntimeLocator
public RuntimeLocator getRuntimeLocator()PREV CLASS NEXT CLASS
- Specified by:
- getRuntimeLocator in interface com.ibm.portal.runtime.RuntimeLocatorProvider
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD