com.ibm.commerce.tools.segmentation
Class SegmentCache
java.lang.Object
|
+--com.ibm.commerce.tools.segmentation.SegmentCache
- public final class SegmentCache
- extends java.lang.Object
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. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
SegmentCache
public SegmentCache()
getSegmentCondition
public static Condition getSegmentCondition(java.lang.Long memberGroupOwnerId,
java.lang.String memberGroupName)
- This method returns the Condition object for the specified member group.
- Parameters:
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.- Returns:
- The Condition object for the member group.
getSegmentExplicitlyExcludedMembers
public 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.
- Parameters:
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.- Returns:
- A Vector of explicitly included members.
getSegmentExplicitlyIncludedMembers
public 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.
- Parameters:
memberGroupOwnerId
- The member group owner ID.memberGroupName
- The member group name.- Returns:
- A Vector of explicitly included members.
localRefresh
public static void localRefresh()
- Perform refresh of local cache.
refresh
public static void refresh(CommandContext commandContext)
throws ECException
- Perform refresh of cache.
- Parameters:
commandContext
- The command context.