com.ibm.portal.outbound.config
Interface CookieRuleLocator

All Superinterfaces:
AdministrableLocator<CookieRule>

public interface CookieRuleLocator
extends AdministrableLocator<CookieRule>

This interface procides methods to create lists of CookieRule instances.
CookieRules are owned by a PolicyRule. A locator for CookieRule objects must get the PolicyRule instance that owns the cookie rules that should be returned.

OutboundConnectionModel model;
PolicyRule thePolicyRule;
˙˙˙
ListModelcookies = model.getCookieRuleLocator(thePolicyRule).listAll();

Since:
8.5.0
See Also:
OutboundConnectionModel, CookieRuleLocator, PolicyRule

Method Summary
 CookieRule findByCookieName(java.lang.String name)
          Locate the cookie rule that applies to the given cookie name
 
Methods inherited from interface com.ibm.portal.outbound.config.AdministrableLocator
collectAllMatching, findByName, listAll
 

Method Detail

findByCookieName

CookieRule findByCookieName(java.lang.String name)
Locate the cookie rule that applies to the given cookie name

Parameters:
name - The cookie name. Note that this method does not perform any wildcard resolution. The presented name must exactly match to one of the cookie names that are owned by a cookie rule. For example, if a cookie name of a CookieRule instance is "myCookie*", then the CookieRule is only returned if the name parameter is "myCookie*".
Returns:
CookieRule the cookie rule,or null if no cookie rule could be found.