|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customerorder.impl.ReturnReasonImpl
Nested Class Summary |
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
DistributedObjectImpl.DtoBurgular |
Field Summary |
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl |
context |
Constructor Summary | |
ReturnReasonImpl(DistributedContext context,
DistributedReference ref,
boolean createHollow)
|
|
ReturnReasonImpl(DistributedContext context,
DistributedReference ref,
java.lang.String description)
|
Method Summary | |
java.lang.String |
getDescription()
Return the return reason description. |
ReturnReasonDto |
getDto()
|
boolean |
isRefundGiftingReason()
Returns true if the ReturnReason is one in which the cost of gift wrapping the line item is refundable. |
boolean |
isRefundShippingAndHandlingReason()
Returns true if the ReturnReason is one in which the cost of shipping and handling for the line item is refundable. |
boolean |
isRefundValueAddedServicesReason()
Returns true if the ReturnReason is one in which the cost of value added services for the line item are refundable. |
protected Dto |
readLatest()
|
void |
setDescription(java.lang.String description)
Sets the return reason description. |
void |
setRefundGiftingReason(boolean refundGiftingReason)
Setter to specify if this return reason results in a refund of the gift wrapping charge |
void |
setRefundShippingAndHandlingReason(boolean refundShippingAndHandlingReason)
Setter to specify if this return reason results in a refund of the shipping and handling charge |
void |
setRefundValueAddedServicesReason(boolean refundValueAddedServicesReason)
Setter to specify if this return reason results in a refund of any value added service charges |
void |
submit()
Persists the object. |
java.lang.String |
toDisplayString()
|
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap |
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl |
checkRelation, checkRelation, getBusinessInterface, getContext |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
Methods inherited from interface com.retek.commons.component.BusinessObject |
getBusinessInterface |
Constructor Detail |
public ReturnReasonImpl(DistributedContext context, DistributedReference ref, boolean createHollow) throws SystemException
public ReturnReasonImpl(DistributedContext context, DistributedReference ref, java.lang.String description) throws SystemException
Method Detail |
public ReturnReasonDto getDto() throws SystemException
SystemException
public void submit() throws SystemException, BusinessException
ReturnReason
submit
in interface ReturnReason
BusinessException
SystemException
public boolean isRefundGiftingReason() throws SystemException
ReturnReason
isRefundGiftingReason
in interface ReturnReason
SystemException
public boolean isRefundShippingAndHandlingReason() throws SystemException
ReturnReason
isRefundShippingAndHandlingReason
in interface ReturnReason
SystemException
public boolean isRefundValueAddedServicesReason() throws SystemException
ReturnReason
isRefundValueAddedServicesReason
in interface ReturnReason
SystemException
public void setRefundGiftingReason(boolean refundGiftingReason) throws SystemException
ReturnReason
setRefundGiftingReason
in interface ReturnReason
refundGiftingReason
-
SystemException
public void setRefundShippingAndHandlingReason(boolean refundShippingAndHandlingReason) throws SystemException
ReturnReason
setRefundShippingAndHandlingReason
in interface ReturnReason
SystemException
public void setRefundValueAddedServicesReason(boolean refundValueAddedServicesReason) throws SystemException
ReturnReason
setRefundValueAddedServicesReason
in interface ReturnReason
SystemException
protected Dto readLatest() throws SystemException
readLatest
in class DistributedObjectImpl
SystemException
public java.lang.String getDescription() throws SystemException
ReturnReason
getDescription
in interface ReturnReason
SystemException
public void setDescription(java.lang.String description) throws SystemException
ReturnReason
setDescription
in interface ReturnReason
description
-
SystemException
public java.lang.String toDisplayString()
toDisplayString
in interface com.retek.swing11.commons.type.Displayable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |