Class BaseTransferCache<K extends BaseEntity,V extends BaseTransfer>
java.lang.Object
com.echothree.util.server.transfer.BaseTransferCache<K,V>
- Direct Known Subclasses:
BaseAccountingTransferCache
,BaseAssociateTransferCache
,BaseBatchTransferCache
,BaseCampaignTransferCache
,BaseCancellationPolicyTransferCache
,BaseCarrierTransferCache
,BaseChainTransferCache
,BaseClubTransferCache
,BaseCommentTransferCache
,BaseCommunicationTransferCache
,BaseContactListTransferCache
,BaseContactTransferCache
,BaseContentTransferCache
,BaseCoreTransferCache
,BaseCustomerTransferCache
,BaseDocumentTransferCache
,BaseEmployeeTransferCache
,BaseFilterTransferCache
,BaseFinancialTransferCache
,BaseForumTransferCache
,BaseGeoTransferCache
,BaseIconTransferCache
,BaseIndexTransferCache
,BaseInventoryTransferCache
,BaseInvoiceTransferCache
,BaseItemTransferCache
,BaseJobTransferCache
,BaseLetterTransferCache
,BaseLicenseTransferCache
,BaseMessageTransferCache
,BaseOfferTransferCache
,BaseOrderTransferCache
,BasePartyTransferCache
,BasePaymentTransferCache
,BasePeriodTransferCache
,BasePicklistTransferCache
,BasePrinterTransferCache
,BasePurchaseTransferCache
,BaseQueueTransferCache
,BaseRatingTransferCache
,BaseReturnPolicyTransferCache
,BaseSalesTransferCache
,BaseScaleTransferCache
,BaseSearchTransferCache
,BaseSecurityTransferCache
,BaseSelectorTransferCache
,BaseSequenceTransferCache
,BaseShipmentTransferCache
,BaseShippingTransferCache
,BaseSubscriptionTransferCache
,BaseTagTransferCache
,BaseTaxTransferCache
,BaseTermTransferCache
,BaseTrackTransferCache
,BaseTrainingTransferCache
,BaseUomTransferCache
,BaseUserTransferCache
,BaseVendorTransferCache
,BaseWarehouseTransferCache
,BaseWishlistTransferCache
,BaseWorkEffortTransferCache
,BaseWorkflowTransferCache
,BaseWorkRequirementTransferCache
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseTransferCache
(UserVisit userVisit) Creates a new instance of BaseTransferCache -
Method Summary
Modifier and TypeMethodDescriptionprotected String
formatFractionalPercent
(Integer percent) protected String
formatInet4Address
(Integer inet4Address) protected String
formatTypicalDateTime
(Long time) protected String
formatUnitOfMeasure
(UnitOfMeasureKind unitOfMeasureKind, Long measure) protected V
protected Currency
protected DateTimeFormat
protected boolean
Returns the includeEntityAliasTypes.protected boolean
Returns the includeEntityAppearance.protected boolean
Returns the includeEntityAttributeGroups.protected boolean
Returns the includeEntityInstance.protected boolean
Returns the includeEntityVisit.protected boolean
Returns the includeGuid.protected boolean
Returns the includeKey.protected boolean
Returns the includeNames.protected boolean
Returns the includeTagScopes.protected Language
protected org.apache.commons.logging.Log
getLog()
protected Party
getParty()
protected PartyPK
protected TimeZone
protected UomControl
protected UserControl
protected void
protected void
put
(K key, V value, EntityInstance entityInstance) protected void
setIncludeEntityAliasTypes
(boolean includeEntityAliasTypes) Sets the includeEntityAliasTypes.protected void
setIncludeEntityAppearance
(boolean includeEntityAppearance) Sets the includeEntityAppearance.protected void
setIncludeEntityAttributeGroups
(boolean includeEntityAttributeGroups) Sets the includeEntityAttributeGroups.protected void
setIncludeEntityInstance
(boolean includeEntityInstance) Sets the setupBaseTransfer.protected void
setIncludeEntityVisit
(boolean includeEntityVisit) Sets the includeEntityVisit.protected void
setIncludeGuid
(boolean includeGuid) Sets the includeGuid.protected void
setIncludeKey
(boolean includeKey) Sets the includeKey.protected void
setIncludeNames
(boolean includeNames) Sets the includeNames.protected void
setIncludeTagScopes
(boolean includeTagScopes) Sets the includeTagScopes.protected void
setIncludeUlid
(boolean includeUlid) Sets the includeUlid.protected EntityInstance
setupComments
(K commentedEntity, EntityInstance commentedEntityInstance, V transfer, String commentTypeName) protected void
setupEntityAliasTypes
(CoreControl coreControl, EntityInstance entityInstance, V transfer) protected void
setupEntityAttributeGroups
(CoreControl coreControl, EntityInstance entityInstance, V transfer) protected void
setupEntityInstance
(K baseEntity, EntityInstance entityInstance, V transfer) protected EntityInstance
setupOwnedWorkEfforts
(K baseEntity, EntityInstance owningEntityInstance, V transfer) protected EntityInstance
setupRatings
(K ratedEntity, EntityInstance ratedEntityInstance, V transfer, String ratingTypeName) protected void
setupTagScopes
(CoreControl coreControl, EntityInstance entityInstance, V transfer) protected void
verifyOptionDependency
(String dependentOption, String dependsOnOption)
-
Field Details
-
userVisit
-
session
-
transferCache
-
-
Constructor Details
-
BaseTransferCache
Creates a new instance of BaseTransferCache
-
-
Method Details
-
getLog
-
put
-
put
-
get
-
getUomControl
-
getUserControl
-
getPartyPK
-
getParty
-
getLanguage
-
getCurrency
-
getTimeZone
-
getDateTimeFormat
-
formatTypicalDateTime
-
formatFractionalPercent
-
formatInet4Address
-
formatUnitOfMeasure
-
getIncludeEntityAliasTypes
Returns the includeEntityAliasTypes.- Returns:
- the includeEntityAliasTypes
-
setIncludeEntityAliasTypes
Sets the includeEntityAliasTypes.- Parameters:
includeEntityAliasTypes
- the includeEntityAliasTypes to set
-
setupEntityAliasTypes
protected void setupEntityAliasTypes(CoreControl coreControl, EntityInstance entityInstance, V transfer) -
getIncludeEntityAttributeGroups
Returns the includeEntityAttributeGroups.- Returns:
- the includeEntityAttributeGroups
-
setIncludeEntityAttributeGroups
Sets the includeEntityAttributeGroups.- Parameters:
includeEntityAttributeGroups
- the includeEntityAttributeGroups to set
-
setupEntityAttributeGroups
protected void setupEntityAttributeGroups(CoreControl coreControl, EntityInstance entityInstance, V transfer) -
getIncludeTagScopes
Returns the includeTagScopes.- Returns:
- the includeTagScopes
-
setIncludeTagScopes
Sets the includeTagScopes.- Parameters:
includeTagScopes
- the includeTagScopes to set
-
setupTagScopes
-
getIncludeEntityInstance
Returns the includeEntityInstance.- Returns:
- the includeEntityInstance
-
setIncludeEntityInstance
Sets the setupBaseTransfer.- Parameters:
includeEntityInstance
- the setupBaseTransfer to set
-
getIncludeEntityAppearance
Returns the includeEntityAppearance.- Returns:
- the includeEntityAppearance
-
setIncludeEntityAppearance
Sets the includeEntityAppearance.- Parameters:
includeEntityAppearance
- the includeEntityAppearance to set
-
getIncludeEntityVisit
Returns the includeEntityVisit.- Returns:
- the includeEntityVisit
-
setIncludeEntityVisit
Sets the includeEntityVisit.- Parameters:
includeEntityVisit
- the includeEntityVisit to set
-
getIncludeNames
Returns the includeNames.- Returns:
- the includeNames
-
setIncludeNames
Sets the includeNames.- Parameters:
includeNames
- the includeNames to set
-
getIncludeKey
Returns the includeKey.- Returns:
- the includeKey
-
setIncludeKey
Sets the includeKey.- Parameters:
includeKey
- the includeKey to set
-
getIncludeGuid
Returns the includeGuid.- Returns:
- the includeGuid
-
setIncludeGuid
Sets the includeGuid.- Parameters:
includeGuid
- the includeGuid to set
-
setIncludeUlid
Sets the includeUlid.- Parameters:
includeUlid
- the includeUlid to set
-
setupEntityInstance
-
setupComments
protected EntityInstance setupComments(K commentedEntity, EntityInstance commentedEntityInstance, V transfer, String commentTypeName) -
setupRatings
protected EntityInstance setupRatings(K ratedEntity, EntityInstance ratedEntityInstance, V transfer, String ratingTypeName) -
setupOwnedWorkEfforts
protected EntityInstance setupOwnedWorkEfforts(K baseEntity, EntityInstance owningEntityInstance, V transfer) -
verifyOptionDependency
-