com.retek.commons.component.impl
Class DistributedObjectImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
All Implemented Interfaces:
BusinessObject, DistributedObject
Direct Known Subclasses:
AbstractMediaThresholdableItem, AccommodationImpl, AccommodationReasonImpl, ActivityRequestImpl, ActivityRequestTypeImpl, AddressCodeImpl, BannerChannelTypeImpl, BannerImpl, BarImpl, CallCenterImpl, CallTagImpl, CarrierImpl, CatalogRequestImpl, CatalogTypeImpl, ChannelImpl, ChannelTypeImpl, CorrespondenceTemplateImpl, CorrespondenceTypeImpl, CorrespondenceTypeTemplateImpl, CountryImpl, CountryNonBusinessDateImpl, CountryZipCodeRangeImpl, CreditCardNumberRuleImpl, CustomerAddressImpl, CustomerChangeReasonImpl, CustomerCreditCardImpl, CustomerCreditPreApprovalImpl, CustomerEmailAddressImpl, CustomerImpl, CustomerInactiveReasonImpl, CustomerMergeRequestImpl, CustomerOrderAddressImpl, CustomerOrderCorrespondenceRequestImpl, CustomerOrderImpl, CustomerOrderLineImpl, CustomerOrderPaymentHistoryEventImpl, CustomerOrderPaymentImpl, CustomerOrderPendReasonImpl, CustomerOrderServiceLineImpl, CustomerOrderTransactionGroupImpl, CustomerPreferenceImpl, CustomerSalutationImpl, CustomerSuffixImpl, CustomerTelephoneImpl, DailyMessageCategoryImpl, DailyMessageImpl, DepictionImpl, DirectShipOrderImpl, DiscountImpl, DropCodeImpl, ECDDRecalculationItemImpl, EventImpl, FooImpl, GenericEventImpl, GiftingSeasonImpl, GiftServiceImpl, HighRiskZipImpl, HistoryEventImpl, HistoryEventTypeImpl, ItemAttributeImpl, ItemAttributeScreenTypeImpl, ItemAttributeScreenTypeRelationImpl, ItemCollectionImpl, ItemSupplierQuantityBlockImpl, LocationImpl, MailOrderBatchImpl, MatchRuleImpl, MediaDemandImpl, MediaImpl, MediaTypeImpl, MessageImpl, NegativeCustomerRecordImpl, NoCustomerInformationReturnImpl, OfferCodeImpl, OrderCancelReasonImpl, OrderDemandRecordImpl, OrderLineDemandRecordImpl, OrderPartialLineReasonImpl, OrderPendReasonImpl, OrderSourceImpl, OriginalOrderSummaryImpl, PaymentPlanCodeImpl, PaymentSettlementFileImpl, PaymentSettlementTransactionContainerImpl, PendRuleImpl, PersonalizationColorImpl, PersonalizationFontImpl, PersonalizationStyleImpl, PersonalizationTypeImpl, ProductInformationAttributeImpl, ProductInformationImpl, PromotionBenefitImpl, PromotionImpl, PromotionThresholdImpl, ReturnLineImpl, ReturnReasonImpl, RoleImpl, RoutingAttributeImpl, SaeStoreDayImpl, SaeStoreTransactionContainerImpl, SaeStoreTransactionCounterImpl, SeasonCodeImpl, SellingItemDepictionImpl, SellingListImpl, SellingListItemImpl, ShipmentRequestImpl, ShipmentRequestLineImpl, ShippedContainerImpl, ShippedContainerLineImpl, ShippingMethodImpl, ShippingRateTableImpl, ShipRestrictionImpl, ShipToImpl, SourceCodeImpl, StoredValueCardCashoutImpl, SubConceptImpl, SupplierReturnDispositionImpl, TaskImpl, TaskTypeImpl, TenderTypeGroupImpl, TenderTypeImpl, UserImpl, ValueAddedServiceImpl, WorkTaskImpl

public abstract class DistributedObjectImpl
extends BusinessObjectImpl
implements DistributedObject


Nested Class Summary
static class DistributedObjectImpl.DtoBurgular
           
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Constructor Summary
DistributedObjectImpl(DistributedContext context, DistributedReference reference)
          Called by buildInstance methods.
DistributedObjectImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
          Used when resolving a reference.
 
Method Summary
protected  java.lang.String attributesToString()
           
protected  Dto createEmptyDto()
           
 java.lang.String debugToString(boolean verbose)
           
 void discardChanges()
           
 void discardChangesShallow()
           
 boolean equals(java.lang.Object that)
           
protected  Dto getGenericDto()
           
 java.lang.String getId()
          Deprecated. until Q/XJ : OID migration : use getReference() : Paul C.
 DistributedReference getReference()
           
static DistributedReference getReference(DistributedObject obj)
           
 long getVersion()
           
 int hashCode()
           
 boolean isDeleted()
           
 boolean isDirty()
           
 boolean isDirtyDeep()
           
 boolean isDirtyIgnoreFields(java.util.Set ignoreFields)
           
protected  boolean isHollow()
           
 boolean isPersisted()
           
static void markAllDeleted(java.util.Collection deletableDtoCollection)
           
protected  Dto readLatest()
           
 void refresh()
           
 java.lang.String toString()
           
static java.util.List wrap(DistributedContext context, java.util.Collection dtos)
           
static DistributedObjectImpl wrap(DistributedContext context, Dto dto)
           
static java.util.Set wrap(DistributedContext context, java.util.Set dtos)
           
static java.util.List wrap(DistributedContext context, java.util.SortedSet dtos)
           
 
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
getContext
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

DistributedObjectImpl

public DistributedObjectImpl(DistributedContext context,
                             DistributedReference reference,
                             boolean createHollow)
                      throws SystemException
Used when resolving a reference. Should typically be public in subclasses (so that DistributedContext#resolve(DistributedObjectReference) can access it).


DistributedObjectImpl

public DistributedObjectImpl(DistributedContext context,
                             DistributedReference reference)
                      throws SystemException
Called by buildInstance methods.

Method Detail

wrap

public static DistributedObjectImpl wrap(DistributedContext context,
                                         Dto dto)
                                  throws SystemException
Throws:
SystemException

wrap

public static java.util.List wrap(DistributedContext context,
                                  java.util.Collection dtos)
                           throws SystemException
Throws:
SystemException

wrap

public static java.util.List wrap(DistributedContext context,
                                  java.util.SortedSet dtos)
                           throws SystemException
Throws:
SystemException

wrap

public static java.util.Set wrap(DistributedContext context,
                                 java.util.Set dtos)
                          throws SystemException
Throws:
SystemException

getReference

public static DistributedReference getReference(DistributedObject obj)

getGenericDto

protected final Dto getGenericDto()
                           throws SystemException
Throws:
SystemException

createEmptyDto

protected Dto createEmptyDto()
                      throws SystemException
Throws:
SystemException

getReference

public final DistributedReference getReference()
Specified by:
getReference in interface DistributedObject

getId

public java.lang.String getId()
Deprecated. until Q/XJ : OID migration : use getReference() : Paul C.

Specified by:
getId in interface DistributedObject

isHollow

protected final boolean isHollow()

isPersisted

public final boolean isPersisted()
Specified by:
isPersisted in interface DistributedObject

isDirty

public final boolean isDirty()
Specified by:
isDirty in interface DistributedObject

isDeleted

public boolean isDeleted()
Specified by:
isDeleted in interface DistributedObject

isDirtyIgnoreFields

public final boolean isDirtyIgnoreFields(java.util.Set ignoreFields)
Specified by:
isDirtyIgnoreFields in interface DistributedObject

isDirtyDeep

public final boolean isDirtyDeep()
Specified by:
isDirtyDeep in interface DistributedObject

getVersion

public final long getVersion()

refresh

public final void refresh()
                   throws SystemException
Specified by:
refresh in interface DistributedObject
Throws:
SystemException

discardChanges

public void discardChanges()
                    throws SystemException
Specified by:
discardChanges in interface DistributedObject
Throws:
SystemException

discardChangesShallow

public void discardChangesShallow()
                           throws SystemException
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Throws:
SystemException

toString

public java.lang.String toString()

debugToString

public java.lang.String debugToString(boolean verbose)
Specified by:
debugToString in interface DistributedObject

attributesToString

protected java.lang.String attributesToString()
                                       throws SystemException
Throws:
SystemException

markAllDeleted

public static void markAllDeleted(java.util.Collection deletableDtoCollection)

equals

public final boolean equals(java.lang.Object that)

hashCode

public final int hashCode()


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28