Package de.hybris.platform.payment.jalo
Class GeneratedPaymentTransaction
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.payment.jalo.GeneratedPaymentTransaction
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
PaymentTransaction
Generated class for type
PaymentTransaction.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of thePaymentTransaction.codeattributestatic final StringQualifier of thePaymentTransaction.currencyattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of thePaymentTransaction.entriesattributeprotected static final OneToManyHandler<PaymentTransactionEntry>OneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side.static final StringQualifier of thePaymentTransaction.infoattributestatic final StringQualifier of thePaymentTransaction.orderattributeprotected static final BidirectionalOneToManyHandler<GeneratedPaymentTransaction>BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.static final StringQualifier of thePaymentTransaction.paymentProviderattributestatic final StringQualifier of thePaymentTransaction.plannedAmountattributestatic final StringQualifier of thePaymentTransaction.requestIdattributestatic final StringQualifier of thePaymentTransaction.requestTokenattributestatic final StringQualifier of thePaymentTransaction.versionIDattributeFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToEntries(SessionContext ctx, PaymentTransactionEntry value) Generated method - Addsvalueto entries.voidGenerated method - Addsvalueto entries.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.getCode()Generated method - Getter of thePaymentTransaction.codeattribute.getCode(SessionContext ctx) Generated method - Getter of thePaymentTransaction.codeattribute.Generated method - Getter of thePaymentTransaction.currencyattribute.Generated method - Getter of thePaymentTransaction.currencyattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of thePaymentTransaction.entriesattribute.getEntries(SessionContext ctx) Generated method - Getter of thePaymentTransaction.entriesattribute.getInfo()Generated method - Getter of thePaymentTransaction.infoattribute.getInfo(SessionContext ctx) Generated method - Getter of thePaymentTransaction.infoattribute.getOrder()Generated method - Getter of thePaymentTransaction.orderattribute.getOrder(SessionContext ctx) Generated method - Getter of thePaymentTransaction.orderattribute.Generated method - Getter of thePaymentTransaction.paymentProviderattribute.Generated method - Getter of thePaymentTransaction.paymentProviderattribute.Generated method - Getter of thePaymentTransaction.plannedAmountattribute.Generated method - Getter of thePaymentTransaction.plannedAmountattribute.Generated method - Getter of thePaymentTransaction.requestIdattribute.Generated method - Getter of thePaymentTransaction.requestIdattribute.Generated method - Getter of thePaymentTransaction.requestTokenattribute.Generated method - Getter of thePaymentTransaction.requestTokenattribute.Generated method - Getter of thePaymentTransaction.versionIDattribute.Generated method - Getter of thePaymentTransaction.versionIDattribute.voidremoveFromEntries(SessionContext ctx, PaymentTransactionEntry value) Generated method - Removesvaluefrom entries.voidGenerated method - Removesvaluefrom entries.voidsetCode(SessionContext ctx, String value) Generated method - Setter of thePaymentTransaction.codeattribute.voidGenerated method - Setter of thePaymentTransaction.codeattribute.voidsetCurrency(Currency value) Generated method - Setter of thePaymentTransaction.currencyattribute.voidsetCurrency(SessionContext ctx, Currency value) Generated method - Setter of thePaymentTransaction.currencyattribute.voidsetEntries(SessionContext ctx, List<PaymentTransactionEntry> value) Generated method - Setter of thePaymentTransaction.entriesattribute.voidsetEntries(List<PaymentTransactionEntry> value) Generated method - Setter of thePaymentTransaction.entriesattribute.voidsetInfo(PaymentInfo value) Generated method - Setter of thePaymentTransaction.infoattribute.voidsetInfo(SessionContext ctx, PaymentInfo value) Generated method - Setter of thePaymentTransaction.infoattribute.voidsetOrder(AbstractOrder value) Generated method - Setter of thePaymentTransaction.orderattribute.voidsetOrder(SessionContext ctx, AbstractOrder value) Generated method - Setter of thePaymentTransaction.orderattribute.voidsetPaymentProvider(SessionContext ctx, String value) Generated method - Setter of thePaymentTransaction.paymentProviderattribute.voidsetPaymentProvider(String value) Generated method - Setter of thePaymentTransaction.paymentProviderattribute.voidsetPlannedAmount(SessionContext ctx, BigDecimal value) Generated method - Setter of thePaymentTransaction.plannedAmountattribute.voidsetPlannedAmount(BigDecimal value) Generated method - Setter of thePaymentTransaction.plannedAmountattribute.voidsetRequestId(SessionContext ctx, String value) Generated method - Setter of thePaymentTransaction.requestIdattribute.voidsetRequestId(String value) Generated method - Setter of thePaymentTransaction.requestIdattribute.voidsetRequestToken(SessionContext ctx, String value) Generated method - Setter of thePaymentTransaction.requestTokenattribute.voidsetRequestToken(String value) Generated method - Setter of thePaymentTransaction.requestTokenattribute.protected voidsetVersionID(SessionContext ctx, String value) Generated method - Setter of thePaymentTransaction.versionIDattribute.protected voidsetVersionID(String value) Generated method - Setter of thePaymentTransaction.versionIDattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPartOfRemovedSessionMarker, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
CODE
Qualifier of thePaymentTransaction.codeattribute- See Also:
-
REQUESTID
Qualifier of thePaymentTransaction.requestIdattribute- See Also:
-
REQUESTTOKEN
Qualifier of thePaymentTransaction.requestTokenattribute- See Also:
-
PAYMENTPROVIDER
Qualifier of thePaymentTransaction.paymentProviderattribute- See Also:
-
PLANNEDAMOUNT
Qualifier of thePaymentTransaction.plannedAmountattribute- See Also:
-
CURRENCY
Qualifier of thePaymentTransaction.currencyattribute- See Also:
-
INFO
Qualifier of thePaymentTransaction.infoattribute- See Also:
-
VERSIONID
Qualifier of thePaymentTransaction.versionIDattribute- See Also:
-
ENTRIES
Qualifier of thePaymentTransaction.entriesattribute- See Also:
-
ORDER
Qualifier of thePaymentTransaction.orderattribute- See Also:
-
ENTRIESHANDLER
OneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side. -
ORDERHANDLER
BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedPaymentTransaction
public GeneratedPaymentTransaction()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getCode
Generated method - Getter of thePaymentTransaction.codeattribute.- Returns:
- the code
-
getCode
Generated method - Getter of thePaymentTransaction.codeattribute.- Returns:
- the code
-
setCode
Generated method - Setter of thePaymentTransaction.codeattribute.- Parameters:
value- the code
-
setCode
Generated method - Setter of thePaymentTransaction.codeattribute.- Parameters:
value- the code
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getCurrency
Generated method - Getter of thePaymentTransaction.currencyattribute.- Returns:
- the currency
-
getCurrency
Generated method - Getter of thePaymentTransaction.currencyattribute.- Returns:
- the currency
-
setCurrency
Generated method - Setter of thePaymentTransaction.currencyattribute.- Parameters:
value- the currency
-
setCurrency
Generated method - Setter of thePaymentTransaction.currencyattribute.- Parameters:
value- the currency
-
getEntries
Generated method - Getter of thePaymentTransaction.entriesattribute.- Returns:
- the entries
-
getEntries
Generated method - Getter of thePaymentTransaction.entriesattribute.- Returns:
- the entries
-
setEntries
Generated method - Setter of thePaymentTransaction.entriesattribute.- Parameters:
value- the entries
-
setEntries
Generated method - Setter of thePaymentTransaction.entriesattribute.- Parameters:
value- the entries
-
addToEntries
Generated method - Addsvalueto entries.- Parameters:
value- the item to add to entries
-
addToEntries
Generated method - Addsvalueto entries.- Parameters:
value- the item to add to entries
-
removeFromEntries
Generated method - Removesvaluefrom entries.- Parameters:
value- the item to remove from entries
-
removeFromEntries
Generated method - Removesvaluefrom entries.- Parameters:
value- the item to remove from entries
-
getInfo
Generated method - Getter of thePaymentTransaction.infoattribute.- Returns:
- the info
-
getInfo
Generated method - Getter of thePaymentTransaction.infoattribute.- Returns:
- the info
-
setInfo
Generated method - Setter of thePaymentTransaction.infoattribute.- Parameters:
value- the info
-
setInfo
Generated method - Setter of thePaymentTransaction.infoattribute.- Parameters:
value- the info
-
getOrder
Generated method - Getter of thePaymentTransaction.orderattribute.- Returns:
- the order
-
getOrder
Generated method - Getter of thePaymentTransaction.orderattribute.- Returns:
- the order
-
setOrder
Generated method - Setter of thePaymentTransaction.orderattribute.- Parameters:
value- the order
-
setOrder
Generated method - Setter of thePaymentTransaction.orderattribute.- Parameters:
value- the order
-
getPaymentProvider
Generated method - Getter of thePaymentTransaction.paymentProviderattribute.- Returns:
- the paymentProvider
-
getPaymentProvider
Generated method - Getter of thePaymentTransaction.paymentProviderattribute.- Returns:
- the paymentProvider
-
setPaymentProvider
Generated method - Setter of thePaymentTransaction.paymentProviderattribute.- Parameters:
value- the paymentProvider
-
setPaymentProvider
Generated method - Setter of thePaymentTransaction.paymentProviderattribute.- Parameters:
value- the paymentProvider
-
getPlannedAmount
Generated method - Getter of thePaymentTransaction.plannedAmountattribute.- Returns:
- the plannedAmount
-
getPlannedAmount
Generated method - Getter of thePaymentTransaction.plannedAmountattribute.- Returns:
- the plannedAmount
-
setPlannedAmount
Generated method - Setter of thePaymentTransaction.plannedAmountattribute.- Parameters:
value- the plannedAmount
-
setPlannedAmount
Generated method - Setter of thePaymentTransaction.plannedAmountattribute.- Parameters:
value- the plannedAmount
-
getRequestId
Generated method - Getter of thePaymentTransaction.requestIdattribute.- Returns:
- the requestId
-
getRequestId
Generated method - Getter of thePaymentTransaction.requestIdattribute.- Returns:
- the requestId
-
setRequestId
Generated method - Setter of thePaymentTransaction.requestIdattribute.- Parameters:
value- the requestId
-
setRequestId
Generated method - Setter of thePaymentTransaction.requestIdattribute.- Parameters:
value- the requestId
-
getRequestToken
Generated method - Getter of thePaymentTransaction.requestTokenattribute.- Returns:
- the requestToken
-
getRequestToken
Generated method - Getter of thePaymentTransaction.requestTokenattribute.- Returns:
- the requestToken
-
setRequestToken
Generated method - Setter of thePaymentTransaction.requestTokenattribute.- Parameters:
value- the requestToken
-
setRequestToken
Generated method - Setter of thePaymentTransaction.requestTokenattribute.- Parameters:
value- the requestToken
-
getVersionID
Generated method - Getter of thePaymentTransaction.versionIDattribute.- Returns:
- the versionID
-
getVersionID
Generated method - Getter of thePaymentTransaction.versionIDattribute.- Returns:
- the versionID
-
setVersionID
Generated method - Setter of thePaymentTransaction.versionIDattribute.- Parameters:
value- the versionID
-
setVersionID
Generated method - Setter of thePaymentTransaction.versionIDattribute.- Parameters:
value- the versionID
-