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/DataBeansModifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
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.
|
public static final java.lang.String COPYRIGHT
public RFQNotificationMonitorBaseCmdImpl()
public boolean getNotifyRFQOwner()
public java.sql.Timestamp getScheduledJobLastCompletionTimestamp() throws ECException
public java.lang.String getSellerMemberGroupNameToNotify()
public java.lang.Long getSellerMemberGroupToNotifyOwnerId()
public UserAccessBean[] getUsersToNotify(RFQAccessBean rfq) throws ECException
public void setNotifyRFQOwner(boolean aFlag)
public void setSellerMemberGroupNameToNotify(java.lang.String mbrGroup)
public void setSellerMemberGroupToNotifyOwnerId(java.lang.Long mbrGrpOwnerId)
public void updateCommandContextWithUsersPreferredLanguage(UserAccessBean user) throws ECException
public void validateParameters() throws ECException
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.