java.lang.Object | +--com.ibm.commerce.tools.segmentation.SegmentCache
This class contains static methods that allow you to get a cached instance of a member group condition object.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Constructor Summary | |
---|---|
SegmentCache() |
Method Summary | |
---|---|
static
Condition |
getSegmentCondition(java.lang.Long memberGroupOwnerId,
java.lang.String memberGroupName) This method returns the Condition object for the specified member group. |
static java.util.Vector |
getSegmentExplicitlyExcludedMembers(java.lang.Long memberGroupOwnerId,
java.lang.String memberGroupName) Gets a Vector object of all of the explictly excluded members of the member group. |
static java.util.Vector |
getSegmentExplicitlyIncludedMembers(java.lang.Long memberGroupOwnerId,
java.lang.String memberGroupName) Gets a Vector object of all of the explictly included members of the member group. |
static void |
localRefresh() Perform refresh of local cache. |
static void |
refresh(
CommandContext commandContext) Perform refresh of cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public SegmentCache()
Method Detail |
---|
public static Condition getSegmentCondition(java.lang.Long memberGroupOwnerId, java.lang.String memberGroupName)
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.public static java.util.Vector getSegmentExplicitlyIncludedMembers(java.lang.Long memberGroupOwnerId, java.lang.String memberGroupName)
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.public static java.util.Vector getSegmentExplicitlyExcludedMembers(java.lang.Long memberGroupOwnerId, java.lang.String memberGroupName)
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.public static void localRefresh()
public static void refresh(CommandContext commandContext) throws ECException
commandContext
- The command context.ECException