|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmdImpl
This class implements the CheckUserInMemberGroupCmd interface to provide the task command that checks if a specified user belongs to a specified member group.
Field Summary | |
protected AddressAccessBean |
_address
An instance of AddressAccessBean. |
protected CheckUserInMemberGroupCmd |
_checkUserInMemberGroupCmd
An instance of CheckUserInMemberGroup. |
protected DemographicsAccessBean |
_demographics
An instance of DemographicsAccessBean. |
protected MemberGroupAccessBean |
_memberGroupAccessBean
An instance of MemberGroupAccessBean. |
protected Condition |
_memberGroupCondition
The member group condition object. |
protected java.lang.String |
_memberGroupName
The member group name. |
protected java.lang.Long |
_memberGroupOwnerId
The member group owner id. |
protected java.util.Vector |
_memberGroups
A vector of member groups IDs to which this user belongs. |
protected com.ibm.commerce.member.helpers.OrgEntityManageBean |
_orgEntityManageBean
An instance of OrgEntityManageBean. |
protected java.util.Vector |
_orgRoles
A vector of role names within the an organization. |
protected java.lang.Long |
_orgRolesOrgId
The ID of the organization that matches _orgRoles. |
protected CheckUserInMemberGroupCmdImpl |
_parent
The instance of CheckUserInMemberGroupCmdImpl that called this instance. |
protected boolean |
_result
The result of this check. |
protected java.util.Vector |
_roles
A vector of role names for this user. |
protected UserAccessBean |
_user
An instance of UserAccessBean. |
protected com.ibm.commerce.member.helpers.UserManageBean |
_userManageBean
An instance of UserManageBean. |
protected UserProfileAccessBean |
_userProfile
An instance of UserProfileAccessBean. |
static java.lang.String |
COPYRIGHT
Copyright. |
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd |
defaultCommandClassName, Name |
Constructor Summary | |
CheckUserInMemberGroupCmdImpl()
|
Method Summary | |
boolean |
evaluate(java.lang.String name,
OpenCondition.Parameter[] parameters)
Evaluate an open condition. |
boolean |
evaluate(java.lang.String variable,
java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate a simple condition. |
protected boolean |
evaluateAccountAmountSpentCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountAmountSpent" condition. |
protected boolean |
evaluateAccountBusinessCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountBusiness" condition. |
protected boolean |
evaluateAccountCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "account" condition. |
protected boolean |
evaluateAccountCountryCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountCountry" condition. |
protected boolean |
evaluateAccountCreditCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountCredit" condition. |
protected boolean |
evaluateAccountIndustryCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountIndustry" condition. |
protected boolean |
evaluateAccountLocationCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountLocation" condition. |
protected boolean |
evaluateAccountSizeCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "accountSize" condition. |
protected boolean |
evaluateAgeGroupCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "ageGroup" condition. |
protected boolean |
evaluateAmountSpentCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "amountSpent" condition. |
protected boolean |
evaluateChildrenCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "children" condition. |
protected boolean |
evaluateCityCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "children" condition. |
protected boolean |
evaluateCompanyCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "company" condition. |
protected boolean |
evaluateCountryCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "country" condition. |
protected boolean |
evaluateCurrencyCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "currency" condition. |
protected boolean |
evaluateDaysSinceLastPurchaseCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "daysSinceLastPurchase" condition. |
protected boolean |
evaluateDaysSinceLastVisitCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "daysSinceLastVisit" condition. |
protected boolean |
evaluateDaysSinceRegistrationChangeCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "daysSinceRegistrationChange" condition. |
protected boolean |
evaluateDaysSinceRegistrationCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "daysSinceRegistration" condition. |
protected boolean |
evaluateEMailCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "eMail" condition. |
protected boolean |
evaluateGenderCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "gender" condition. |
protected boolean |
evaluateHouseholdCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "household" condition. |
protected boolean |
evaluateIncomeGroupCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "incomeGroup" condition. |
protected boolean |
evaluateInterestsCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "interests" condition. |
protected boolean |
evaluateJobFunctionCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "jobFunction" condition. |
protected boolean |
evaluateLanguageCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "language" condition. |
protected boolean |
evaluateLastPurchaseDateCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "lastPurchaseDate" condition. |
protected boolean |
evaluateLastVisitDateCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "lastVisitDate" condition. |
protected boolean |
evaluateLocaleCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "locale" condition. |
protected boolean |
evaluateMaritalStatusCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "maritalStatus" condition. |
protected boolean |
evaluateMemberGroupsCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "memberGroups" condition. |
protected boolean |
evaluateOrdersCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "orders" condition. |
protected boolean |
evaluateOrgCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "org" condition. |
protected boolean |
evaluateOrgDNCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "orgDN" condition. |
protected boolean |
evaluatePhoneCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "phone" condition. |
protected boolean |
evaluatePreferredCommunicationCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "preferredCommunication" condition. |
protected boolean |
evaluateRegistrationChangeDateCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "registrationChangeDate" condition. |
protected boolean |
evaluateRegistrationDateCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "registrationDate" condition. |
protected boolean |
evaluateRegistrationStatusCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "registrationStatus" condition. |
protected boolean |
evaluateRoleCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "role" condition. |
protected boolean |
evaluateRoleListCondition(OpenCondition.Parameter[] parameters)
Evaluate the "roleList" condition. |
protected boolean |
evaluateSegmentCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "segment" condition. |
protected boolean |
evaluateStateCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "state" condition. |
protected boolean |
evaluateStatusCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "status" condition. |
protected boolean |
evaluateZipCodeCondition(java.lang.String operator,
java.lang.String value,
SimpleCondition.Qualifier[] qualifiers)
Evaluate the "zipCode" condition. |
protected java.lang.Long |
getAccountOrganizationId(java.lang.String accountName)
Gets the organization ID for the specified account. |
protected AddressAccessBean |
getAddress()
Get the address access bean for the user. |
protected CheckUserInMemberGroupCmd |
getCheckUserInMemberGroupCmd()
Get an instance of the CheckUserInMemberGroupCmd task command. |
protected DemographicsAccessBean |
getDemographics()
Get the demographics access bean for the user. |
protected java.util.Vector |
getMemberGroups()
Get all the member groups for the user. |
protected com.ibm.commerce.member.helpers.OrgEntityManageBean |
getOrgEntityManageBean()
Get an instance of OrgEntityManageBean for the user's organization. |
boolean |
getResult()
Returns true if the current user belongs to the specified member group. |
protected java.util.Vector |
getRoles()
Get the roles for the user. |
protected java.util.Vector |
getRoles(java.lang.Long orgId)
Get the roles for the user and a specified organization. |
protected com.ibm.commerce.member.helpers.UserManageBean |
getUserManageBean()
Get an instance of UserManageBean for the user. |
protected UserProfileAccessBean |
getUserProfile()
Get the user profile access bean for the user. |
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call. |
void |
performExecute()
Performs the execution of the command. |
void |
setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
Sets the member group access bean. |
void |
setMemberGroupCondition(Condition memberGroupCondition)
Sets the condition object. |
void |
setMemberGroupName(java.lang.String memberGroupName)
Sets the member group name. |
void |
setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
Sets the owner of the member group. |
void |
setUser(UserAccessBean user)
Sets the user that you want to test. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
protected AddressAccessBean _address
protected CheckUserInMemberGroupCmd _checkUserInMemberGroupCmd
protected DemographicsAccessBean _demographics
protected MemberGroupAccessBean _memberGroupAccessBean
protected Condition _memberGroupCondition
protected java.lang.String _memberGroupName
protected java.lang.Long _memberGroupOwnerId
protected java.util.Vector _memberGroups
protected com.ibm.commerce.member.helpers.OrgEntityManageBean _orgEntityManageBean
protected java.util.Vector _orgRoles
protected java.lang.Long _orgRolesOrgId
protected CheckUserInMemberGroupCmdImpl _parent
protected boolean _result
protected java.util.Vector _roles
protected UserAccessBean _user
protected com.ibm.commerce.member.helpers.UserManageBean _userManageBean
protected UserProfileAccessBean _userProfile
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CheckUserInMemberGroupCmdImpl()
Method Detail |
public boolean evaluate(java.lang.String name, OpenCondition.Parameter[] parameters)
<openCondition name="testCondition">
<parameter name="parameter1" value="100"/>
</openCondition>
evaluate
in interface Evaluator
name
- The name of the open condition.parameters
- An array of parameters.true
if the condition evaluates to true.public boolean evaluate(java.lang.String variable, java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
<simpleCondition>
<variable name="gender"/>
<operator name="="/>
<value data="M"/>
</simpleCondition>
evaluate
in interface Evaluator
variable
- The name of the variable.operator
- The name of the operator.value
- The data for the value.qualifires
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountAmountSpentCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountBusinessCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountCountryCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountCreditCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountIndustryCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountLocationCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAccountSizeCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAgeGroupCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateAmountSpentCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateChildrenCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateCityCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateCompanyCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateCountryCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateCurrencyCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateDaysSinceLastPurchaseCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateDaysSinceLastVisitCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateDaysSinceRegistrationChangeCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateDaysSinceRegistrationCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateEMailCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateGenderCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateHouseholdCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateIncomeGroupCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateInterestsCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateJobFunctionCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateLanguageCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateLastPurchaseDateCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateLastVisitDateCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateLocaleCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateMaritalStatusCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateMemberGroupsCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateOrdersCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateOrgCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateOrgDNCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluatePhoneCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluatePreferredCommunicationCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateRegistrationChangeDateCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateRegistrationDateCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateRegistrationStatusCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateRoleCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateRoleListCondition(OpenCondition.Parameter[] parameters)
parameters
- An array of parameters.true
if the condition evaluates to true.protected boolean evaluateSegmentCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateStateCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateStatusCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected boolean evaluateZipCodeCondition(java.lang.String operator, java.lang.String value, SimpleCondition.Qualifier[] qualifiers)
operator
- The name of the operator.value
- The data for the value.qualifiers
- An array of qualifiers.true
if the condition evaluates to true.protected java.lang.Long getAccountOrganizationId(java.lang.String accountName)
accountName
- protected AddressAccessBean getAddress()
protected CheckUserInMemberGroupCmd getCheckUserInMemberGroupCmd()
protected DemographicsAccessBean getDemographics()
protected java.util.Vector getMemberGroups()
protected com.ibm.commerce.member.helpers.OrgEntityManageBean getOrgEntityManageBean()
public boolean getResult()
CheckUserInMemberGroupCmd
getResult
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
true
if the current user belongs to the member group.protected java.util.Vector getRoles()
protected java.util.Vector getRoles(java.lang.Long orgId)
org
- The organization id.protected com.ibm.commerce.member.helpers.UserManageBean getUserManageBean()
protected UserProfileAccessBean getUserProfile()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class AbstractECCommand
true
if the command is ready to go.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
CheckUserInMemberGroupCmd
setMemberGroupAccessBean
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
memberGroupAccessBean
- The member group access bean.public void setMemberGroupCondition(Condition memberGroupCondition)
CheckUserInMemberGroupCmd
setMemberGroupCondition
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
memberGroupCondition
- The condition used for implicit membership.public void setMemberGroupName(java.lang.String memberGroupName)
CheckUserInMemberGroupCmd
setMemberGroupName
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
memberGroupName
- The name of the member group.public void setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
CheckUserInMemberGroupCmd
setMemberGroupOwnerId
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
memberGroupOwnerId
- The member id of the owner of the member group.public void setUser(UserAccessBean user)
CheckUserInMemberGroupCmd
setUser
in interface CheckUserInMemberGroupCmd
com.ibm.commerce.membergroup.commands.CheckUserInMemberGroupCmd
user
- The user access bean.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |