public class RFQNotificationMonitorBaseCmdImpl extends ControllerCommandImpl implements RFQNotificationMonitorBaseCmd
This is the default implementation of the RFQNotificationMonitorBaseCmd. This command calls the following TaskCommands:
This command uses the following AccessBeans/DataBeansSchedulerConfigAccessBeanSchedulerStatusAccessBeanUserAccessBeanUserManageBean| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME, NOTIFY_RFQ_OWNER_PARAM, SCHJOB_COMPETED_STATE_FLAG, SCHJOB_REFNUM_PARAM, SELLER_MBR_GROUP_NAME_TO_NOTIFY_OWNERID_PARAM, SELLER_MBR_GROUP_NAME_TO_NOTIFY_PARAM, siteStoreId| Constructor and Description |
|---|
RFQNotificationMonitorBaseCmdImpl()
RFQNotificationMonitorBaseCmdImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNotifyRFQOwner()
Gets the RFQ owner is to be notified.
|
java.sql.Timestamp |
getScheduledJobLastCompletionTimestamp()
Returns the last time the scheduled job was successfully completed.
|
java.lang.String |
getSellerMemberGroupNameToNotify()
Gets member group name defined in the MBRGRP table that is
used to retrieve the users in the seller's organization in order
to send notifications to.
|
java.lang.Long |
getSellerMemberGroupToNotifyOwnerId()
Gets owner id of the member group name defined by the
setSellerMemberGroupNameToNotify() method. |
UserAccessBean[] |
getUsersToNotify(RFQAccessBean rfq)
Return a list of users to notify.
|
void |
setNotifyRFQOwner(boolean aFlag)
Sets whether the RFQ owner is notified.
|
void |
setSellerMemberGroupNameToNotify(java.lang.String mbrGroup)
Sets member group name defined in the MBRGRP table that is
used to retrieve the users in the seller's organization in order
to send notifications to.
|
void |
setSellerMemberGroupToNotifyOwnerId(java.lang.Long mbrGrpOwnerId)
Sets owner id of the member group name defined by the
setSellerMemberGroupNameToNotify() method. |
void |
updateCommandContextWithUsersPreferredLanguage(UserAccessBean user)
Sets the command context language id to that of the user's preferred language.
|
void |
validateParameters()
Checks if the
jobRefNum was specified with command. |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public RFQNotificationMonitorBaseCmdImpl()
public boolean getNotifyRFQOwner()
getNotifyRFQOwner in interface RFQNotificationMonitorBaseCmdpublic java.sql.Timestamp getScheduledJobLastCompletionTimestamp()
throws ECException
ECException.ECExceptionpublic java.lang.String getSellerMemberGroupNameToNotify()
getSellerMemberGroupNameToNotify in interface RFQNotificationMonitorBaseCmdpublic java.lang.Long getSellerMemberGroupToNotifyOwnerId()
setSellerMemberGroupNameToNotify() method.getSellerMemberGroupToNotifyOwnerId in interface RFQNotificationMonitorBaseCmdsetSellerMemberGroupNameToNotify() method.public UserAccessBean[] getUsersToNotify(RFQAccessBean rfq) throws ECException
RFQAccessBean - The RFQs.ECException.ECExceptionpublic void setNotifyRFQOwner(boolean aFlag)
setNotifyRFQOwner in interface RFQNotificationMonitorBaseCmdaFlag - Sets whether the RFQ owner is notified. True the RFQ owner
is notified, false the RFQ owner is not notified.public void setSellerMemberGroupNameToNotify(java.lang.String mbrGroup)
setSellerMemberGroupNameToNotify in interface RFQNotificationMonitorBaseCmdmbrGroup - The member group name defined in the MBRGRP table that is
used to retrieve the users in the seller's organization in order
to send notifications to.public void setSellerMemberGroupToNotifyOwnerId(java.lang.Long mbrGrpOwnerId)
setSellerMemberGroupNameToNotify() method.setSellerMemberGroupToNotifyOwnerId in interface RFQNotificationMonitorBaseCmdmbrGrpOwnerId - The owner id of the member group name defined by the
setSellerMemberGroupNameToNotify() method.public void updateCommandContextWithUsersPreferredLanguage(UserAccessBean user) throws ECException
UserAccessBean - The user.ECExceptionpublic void validateParameters()
throws ECException
jobRefNum was specified with command. This parameter
is the scheduled job in the SCHCONFIG table. The reference number is needed to
retrieve the last successful job completion end time.
Optional parameters are:
sellerMemberGroupNameToNotify, the group name defined in the mbrgrp table that
is used to notify the seller users.
sellerMemberGroupToNotifyOwnerId, the group name owner defined in the mbrgrp table that
is used to notify the seller users. If the sellerMemberGroupToNotify parameter is specified then
this parameter must also be specified.
storeId, the store identifier number in the command context. If the
storeId is 0 then this command works on all the RFQs for the site.
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionECCommand#validateParameters()