com.ibm.portal.outbound.config
Interface OutboundConnectionLocatorProvider

All Known Subinterfaces:
OutboundConnectionModel

public interface OutboundConnectionLocatorProvider

This interface provides locators for the different configuration items that are contained in the Outbound Connection Configuration model.
Usage example:

OutboundConnectionModel model;
˙˙˙
// get the global profile settings
OutboundConnectionProfileLocator profiles = model.getProfileLocator();
OutboundConnectionProfile theGlobalProfile = profiles.findGlobalProfile();

Since:
8.5.0
See Also:
OutboundConnectionModel, AdministrableLocator

Method Summary
 CookieRuleLocator getCookieRuleLocator(PolicyRule rule)
          Return a locator for cookie rules
 PolicyMappingLocator getPolicyMappingLocator(OutboundConnectionProfile profile)
          return the policy mappings that belongs to the specified profile
 PolicyRuleLocator getPolicyRuleLocator(PolicyMapping mapping)
          Return a policy rule locator for policies that are in the scope of the presented mapping
 PolicyVariableLocator getPolicyVariableLocator(OutboundConnectionProfile profile)
          Return a locator for policy variables or endpoints.
 OutboundConnectionProfileLocator getProfileLocator()
          Return the Locator for the outbound conenction profile instances.
 

Method Detail

getPolicyMappingLocator

PolicyMappingLocator getPolicyMappingLocator(OutboundConnectionProfile profile)
return the policy mappings that belongs to the specified profile

Parameters:
profile - The selected profile for which the policy mappings are requested. Must not be null.
Returns:
PolicyMappingLocator a locator to access policy mappings. The list contains at least the default policy mapping. Never null.

getProfileLocator

OutboundConnectionProfileLocator getProfileLocator()
Return the Locator for the outbound conenction profile instances.

Returns:
OutboundConnectionProfileLocator A locator of OutboundConnectionProfile objects. Never null.

getPolicyRuleLocator

PolicyRuleLocator getPolicyRuleLocator(PolicyMapping mapping)
Return a policy rule locator for policies that are in the scope of the presented mapping

Parameters:
mapping - The mapping for which the policy rules are requested.
Returns:
PolicyRuleLocator a locator for policy rules. Never null.

getCookieRuleLocator

CookieRuleLocator getCookieRuleLocator(PolicyRule rule)
Return a locator for cookie rules

Parameters:
rule - The policy rule for which the cookie rules are requested
Returns:
CookieRuleLocator the locator. never null.

getPolicyVariableLocator

PolicyVariableLocator getPolicyVariableLocator(OutboundConnectionProfile profile)
Return a locator for policy variables or endpoints.

Parameters:
profile - the profile for which the variables are requested