com.ibm.commerce.order.beans
Class RequisitionDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.order.objects.OrderAccessBean
-
- com.ibm.commerce.order.beansrc.RequisitionDataBeanBase
-
- com.ibm.commerce.order.beans.RequisitionDataBean
-
- All Implemented Interfaces:
- DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.RequisitionInputDataBean, com.ibm.commerce.order.beans.RequisitionSmartDataBean, Delegator, java.io.Serializable
public class RequisitionDataBean extends RequisitionDataBeanBase implements com.ibm.commerce.order.beans.RequisitionInputDataBean, com.ibm.commerce.order.beans.RequisitionSmartDataBean
This data bean represents a requisition object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
-
-
Constructor Summary
Constructors Constructor and Description RequisitionDataBean()
Databean constructor.RequisitionDataBean(java.lang.String aOrderId)
Databean constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CommandContext
getCommandContext()
This method gets the command context set within this bean.java.lang.String
getDataBeanKeyOrderId()
This method returns the order id.java.lang.String
getFormattedLastUpdate()
This method formats the last-update date according to the current locale.TypedProperty
getRequestProperties()
This method gets the request property set within this bean.UserRegistrationDataBean
getUserRegistrationDataBean()
This method retrieves the user registration for the owner of this requisition list.void
populate()
This method is used to populate the RequisitionDataBean.void
setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.void
setDataBeanKeyOrderId(java.lang.String aOrderId)
This method sets the order id.void
setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.-
Methods inherited from class com.ibm.commerce.order.beansrc.RequisitionDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.order.objects.OrderAccessBean
clearOrderItemsCache, findByMember, findByMemberForUpdate, findByOrderForUpdate, findByOrderIds, findByStatus, findByStatusAndMember, findByStatusAndMemberScopedByLastUpdate, findByStatusAndMemberScopedByTimePlaced, findByStatusesMemberStoreHostedAtChannelStartEndDateAndDateField, findByStatusesMemberStoresRelTypeStartEndDateAndDateField, findByStatusesMemberStoresStartEndDateAndDateField, findByStatusMemberAndRelType, findByStatusMemberAndRelTypeScopedByLastUpdate, findByStatusMemberAndRelTypeScopedByTimePlaced, findByStatusMemberAndStore, findByStatusMemberAndStoreForUpdate, findByStatusMemberAndStoreHostedAtChannel, findByStatusMemberAndStoreScopedByLastUpdate, findByStatusMemberAndStoreScopedByTimePlaced, findByStatusMemberRelTypeAndStore, findByStatusMemberRelTypeAndStoreScopedByLastUpdate, findByStatusMemberRelTypeAndStoreScopedByTimePlaced, findByStatusStoreentIdAndDescription, findByStoreIdMemberIdAndStatus, findChildOrderByDistributorStoreIdsAndOrdersIdAndRelType, findCurrentPendingOrders, findCurrentPendingOrdersByMember, findCurrentPendingOrdersByMemberAndStore, findFullyTransferredOrdersByChannelStoreIdAndShopperId, findFullyTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findNotTransferredOrdersByChannelStoreIdAndShopperId, findNotTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findOrders, findOrderTemplatesByMember, findOrderTemplatesByMemberAndUsage, findOrderTemplatesByStoreAndMember, findOrderTemplatesByStoreMemberAndUsage, findParentOrderByOrdersId, findPartlyTransferredOrdersByChannelStoreIdAndShopperId, findPartlyTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findPendingOrders, findPrivateRequisitionListByMember, findPrivateRequisitionListByMember, findPrivateRequisitionListByMemberAndStore, findPrivateRequisitionListByMemberAndStore, findPrivateRequisitionListByMemberAndStoreHostedAtChannel, findPrivateRequisitionListByMemberAndStoreHostedAtChannel, findPrivateRequisitionListByMemberOrderByLastUpdate, findProcessedOrdersByChannelStoreIdAndShopperId, findProcessedOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findShareableRequisitionListByMember, findShareableRequisitionListByMemberAndStore, findShareableRequisitionListByMemberAndStoreHostedAtChannel, findShareableRequisitionListByOrg, findShareableRequisitionListByOrgAndStore, findShareableRequisitionListByOrgAndStoreHostedAtChannel, findShareableRequisitionListOwnedByMember, findShareableRequisitionListOwnedByMember, findShareableRequisitionListOwnedByMemberAndStore, findShareableRequisitionListOwnedByMemberAndStore, findShareableRequisitionListOwnedByMemberAndStoreHostedAtChannel, findShareableRequisitionListOwnedByMemberAndStoreHostedAtChannel, findTemplatedOrdersByStoreIdMemberIdAndUsage, findWithParameterizedPushDownQuery, findWithPushDownQuery, fulfills, getActualShipDate, getAddressId, getAddressIdInEntityType, getBuschnId, getComment, getCurrency, getDescription, getEditorId, getEntity, getEstimatedOrPromisedShipDate, getEstimatedShipDate, getExpireDate, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getGroupingAttributeValue, getIsBlocked, getIsBlockedInEntityType, getLastUpdate, getLastUpdateInEntityType, getLock, getMemberId, getMemberIdInEntityType, getMerchantOrderId, getNotificationId, getNotificationIdInEntityType, getOrderChannelTypeId, getOrderChannelTypeIdInEntityType, getOrderId, getOrderIdInEntityType, getOrderItems, getOrderItemsByFulfillmentStatus, getOrderItemsByFulfillmentStatusForUpdate, getOrderItemsForUpdate, getOrderItemsSortedByCatalogEntryId, getOrderItemsSortedByOrderItemId, getOrderProcessSystemId, getOrganizationId, getOrganizationIdInEntityType, getOwner, getPlaceOrderTime, getPlaceOrderTimeInEntityType, getPromisedShipDate, getProviderOrderNumber, getProviderOrderNumberInEntityType, getPurchaseOrderId, getSequence, getSequenceInEntityType, getShipAsComplete, getSourceId, getStatus, getStoreEntityId, getStoreEntityIdInEntityType, getSubOrders, getTotalAdjustment, getTotalAdjustmentByCalculationUsageId, getTotalAdjustmentByCalculationUsageIdAndDisplayLevel, getTotalAdjustmentByDisplayLevel, getTotalAdjustmentInEntityType, getTotalProductPrice, getTotalProductPriceInEntityType, getTotalShippingCharge, getTotalShippingChargeInEntityType, getTotalShippingTax, getTotalShippingTaxInEntityType, getTotalTax, getTotalTaxInEntityType, getTransferStatus, getType, instantiateEntity, setAddressId, setAddressId, setBuschnId, setComment, setCurrency, setDescription, setEditorId, setExpireDate, setField1, setField1, setField2, setField2, setField3, setInitKey_orderId, setInitKey_orderId, setIsBlocked, setIsBlocked, setLastUpdate, setLastUpdate, setLastUpdateWithoutCheck, setLock, setMemberId, setMemberId, setMerchantOrderId, setNotificationId, setNotificationId, setOrderChannelTypeId, setOrderChannelTypeId, setOrderProcessSystemId, setOrganizationId, setOrganizationId, setPlaceOrderTime, setPlaceOrderTime, setProviderOrderNumber, setProviderOrderNumber, setPurchaseOrderId, setSequence, setSequence, setShipAsComplete, setSourceId, setStatus, setStoreEntityId, setStoreEntityId, setTotalAdjustment, setTotalAdjustment, setTotalProductPrice, setTotalProductPrice, setTotalShippingCharge, setTotalShippingCharge, setTotalShippingTax, setTotalShippingTax, setTotalTax, setTotalTax, setTransferStatus, setType
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequisitionDataBean
public RequisitionDataBean()
Databean constructor.
-
RequisitionDataBean
public RequisitionDataBean(java.lang.String aOrderId)
Databean constructor.- Parameters:
aOrderId
- order id
-
-
Method Detail
-
getRequestProperties
public TypedProperty getRequestProperties()
This method gets the request property set within this bean.- Specified by:
getRequestProperties
in interfaceInputDataBean
- Returns:
- iRequestProperties request property
-
setRequestProperties
public void setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.- Specified by:
setRequestProperties
in interfaceInputDataBean
- Parameters:
aRequestProperty
- request property
-
getDataBeanKeyOrderId
public java.lang.String getDataBeanKeyOrderId()
This method returns the order id.- Specified by:
getDataBeanKeyOrderId
in interfacecom.ibm.commerce.order.beans.RequisitionSmartDataBean
- Returns:
- iDataBeanKeyOrderId order id
-
getCommandContext
public CommandContext getCommandContext()
This method gets the command context set within this bean.- Specified by:
getCommandContext
in interfaceSmartDataBean
- Returns:
- iCommandContext command context
-
setCommandContext
public void setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.- Specified by:
setCommandContext
in interfaceSmartDataBean
- Parameters:
aCommandContext
- command context
-
setDataBeanKeyOrderId
public void setDataBeanKeyOrderId(java.lang.String aOrderId)
This method sets the order id.- Specified by:
setDataBeanKeyOrderId
in interfacecom.ibm.commerce.order.beans.RequisitionInputDataBean
- Parameters:
aOrderId
- order id
-
populate
public void populate()
This method is used to populate the RequisitionDataBean. You must set OrderId using the setDataBeanKeyOrderId method before running thepopulate()
method.- Specified by:
populate
in interfaceSmartDataBean
- Throws:
java.lang.Exception
- See Also:
setDataBeanKeyOrderId(String)
-
getFormattedLastUpdate
public java.lang.String getFormattedLastUpdate()
This method formats the last-update date according to the current locale.- Returns:
- String formatted last-update date
-
getUserRegistrationDataBean
public UserRegistrationDataBean getUserRegistrationDataBean()
This method retrieves the user registration for the owner of this requisition list.- Returns:
- UserRegistrationDataBean requisition list owner.
-
-