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:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
PaymentTransaction
public abstract class GeneratedPaymentTransaction extends GenericItem
Generated class for typePaymentTransaction.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested 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
Fields Modifier and Type Field Description static java.lang.StringCODEQualifier of thePaymentTransaction.codeattributestatic java.lang.StringCURRENCYQualifier of thePaymentTransaction.currencyattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringENTRIESQualifier of thePaymentTransaction.entriesattributeprotected static OneToManyHandler<PaymentTransactionEntry>ENTRIESHANDLEROneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side.static java.lang.StringINFOQualifier of thePaymentTransaction.infoattributestatic java.lang.StringORDERQualifier of thePaymentTransaction.orderattributeprotected static BidirectionalOneToManyHandler<GeneratedPaymentTransaction>ORDERHANDLERBidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.static java.lang.StringPAYMENTPROVIDERQualifier of thePaymentTransaction.paymentProviderattributestatic java.lang.StringPLANNEDAMOUNTQualifier of thePaymentTransaction.plannedAmountattributestatic java.lang.StringREQUESTIDQualifier of thePaymentTransaction.requestIdattributestatic java.lang.StringREQUESTTOKENQualifier of thePaymentTransaction.requestTokenattributestatic java.lang.StringVERSIONIDQualifier of thePaymentTransaction.versionIDattribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields 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, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedPaymentTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToEntries(SessionContext ctx, PaymentTransactionEntry value)Generated method - Addsvalueto entries.voidaddToEntries(PaymentTransactionEntry value)Generated method - Addsvalueto entries.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.lang.StringgetCode()Generated method - Getter of thePaymentTransaction.codeattribute.java.lang.StringgetCode(SessionContext ctx)Generated method - Getter of thePaymentTransaction.codeattribute.CurrencygetCurrency()Generated method - Getter of thePaymentTransaction.currencyattribute.CurrencygetCurrency(SessionContext ctx)Generated method - Getter of thePaymentTransaction.currencyattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.util.List<PaymentTransactionEntry>getEntries()Generated method - Getter of thePaymentTransaction.entriesattribute.java.util.List<PaymentTransactionEntry>getEntries(SessionContext ctx)Generated method - Getter of thePaymentTransaction.entriesattribute.PaymentInfogetInfo()Generated method - Getter of thePaymentTransaction.infoattribute.PaymentInfogetInfo(SessionContext ctx)Generated method - Getter of thePaymentTransaction.infoattribute.AbstractOrdergetOrder()Generated method - Getter of thePaymentTransaction.orderattribute.AbstractOrdergetOrder(SessionContext ctx)Generated method - Getter of thePaymentTransaction.orderattribute.java.lang.StringgetPaymentProvider()Generated method - Getter of thePaymentTransaction.paymentProviderattribute.java.lang.StringgetPaymentProvider(SessionContext ctx)Generated method - Getter of thePaymentTransaction.paymentProviderattribute.java.math.BigDecimalgetPlannedAmount()Generated method - Getter of thePaymentTransaction.plannedAmountattribute.java.math.BigDecimalgetPlannedAmount(SessionContext ctx)Generated method - Getter of thePaymentTransaction.plannedAmountattribute.java.lang.StringgetRequestId()Generated method - Getter of thePaymentTransaction.requestIdattribute.java.lang.StringgetRequestId(SessionContext ctx)Generated method - Getter of thePaymentTransaction.requestIdattribute.java.lang.StringgetRequestToken()Generated method - Getter of thePaymentTransaction.requestTokenattribute.java.lang.StringgetRequestToken(SessionContext ctx)Generated method - Getter of thePaymentTransaction.requestTokenattribute.java.lang.StringgetVersionID()Generated method - Getter of thePaymentTransaction.versionIDattribute.java.lang.StringgetVersionID(SessionContext ctx)Generated method - Getter of thePaymentTransaction.versionIDattribute.voidremoveFromEntries(SessionContext ctx, PaymentTransactionEntry value)Generated method - Removesvaluefrom entries.voidremoveFromEntries(PaymentTransactionEntry value)Generated method - Removesvaluefrom entries.voidsetCode(SessionContext ctx, java.lang.String value)Generated method - Setter of thePaymentTransaction.codeattribute.voidsetCode(java.lang.String value)Generated 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, java.util.List<PaymentTransactionEntry> value)Generated method - Setter of thePaymentTransaction.entriesattribute.voidsetEntries(java.util.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, java.lang.String value)Generated method - Setter of thePaymentTransaction.paymentProviderattribute.voidsetPaymentProvider(java.lang.String value)Generated method - Setter of thePaymentTransaction.paymentProviderattribute.voidsetPlannedAmount(SessionContext ctx, java.math.BigDecimal value)Generated method - Setter of thePaymentTransaction.plannedAmountattribute.voidsetPlannedAmount(java.math.BigDecimal value)Generated method - Setter of thePaymentTransaction.plannedAmountattribute.voidsetRequestId(SessionContext ctx, java.lang.String value)Generated method - Setter of thePaymentTransaction.requestIdattribute.voidsetRequestId(java.lang.String value)Generated method - Setter of thePaymentTransaction.requestIdattribute.voidsetRequestToken(SessionContext ctx, java.lang.String value)Generated method - Setter of thePaymentTransaction.requestTokenattribute.voidsetRequestToken(java.lang.String value)Generated method - Setter of thePaymentTransaction.requestTokenattribute.protected voidsetVersionID(SessionContext ctx, java.lang.String value)Generated method - Setter of thePaymentTransaction.versionIDattribute.protected voidsetVersionID(java.lang.String value)Generated method - Setter of thePaymentTransaction.versionIDattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItems
-
Methods 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, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods 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, 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, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
CODE
public static final java.lang.String CODE
Qualifier of thePaymentTransaction.codeattribute- See Also:
- Constant Field Values
-
REQUESTID
public static final java.lang.String REQUESTID
Qualifier of thePaymentTransaction.requestIdattribute- See Also:
- Constant Field Values
-
REQUESTTOKEN
public static final java.lang.String REQUESTTOKEN
Qualifier of thePaymentTransaction.requestTokenattribute- See Also:
- Constant Field Values
-
PAYMENTPROVIDER
public static final java.lang.String PAYMENTPROVIDER
Qualifier of thePaymentTransaction.paymentProviderattribute- See Also:
- Constant Field Values
-
PLANNEDAMOUNT
public static final java.lang.String PLANNEDAMOUNT
Qualifier of thePaymentTransaction.plannedAmountattribute- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Qualifier of thePaymentTransaction.currencyattribute- See Also:
- Constant Field Values
-
INFO
public static final java.lang.String INFO
Qualifier of thePaymentTransaction.infoattribute- See Also:
- Constant Field Values
-
VERSIONID
public static final java.lang.String VERSIONID
Qualifier of thePaymentTransaction.versionIDattribute- See Also:
- Constant Field Values
-
ENTRIES
public static final java.lang.String ENTRIES
Qualifier of thePaymentTransaction.entriesattribute- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Qualifier of thePaymentTransaction.orderattribute- See Also:
- Constant Field Values
-
ENTRIESHANDLER
protected static final OneToManyHandler<PaymentTransactionEntry> ENTRIESHANDLER
OneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side.
-
ORDERHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedPaymentTransaction> ORDERHANDLER
BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
getCode
public java.lang.String getCode(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.codeattribute.- Returns:
- the code
-
getCode
public java.lang.String getCode()
Generated method - Getter of thePaymentTransaction.codeattribute.- Returns:
- the code
-
setCode
public void setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePaymentTransaction.codeattribute.- Parameters:
value- the code
-
setCode
public void setCode(java.lang.String value)
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
public Currency getCurrency(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.currencyattribute.- Returns:
- the currency
-
getCurrency
public Currency getCurrency()
Generated method - Getter of thePaymentTransaction.currencyattribute.- Returns:
- the currency
-
setCurrency
public void setCurrency(SessionContext ctx, Currency value)
Generated method - Setter of thePaymentTransaction.currencyattribute.- Parameters:
value- the currency
-
setCurrency
public void setCurrency(Currency value)
Generated method - Setter of thePaymentTransaction.currencyattribute.- Parameters:
value- the currency
-
getEntries
public java.util.List<PaymentTransactionEntry> getEntries(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.entriesattribute.- Returns:
- the entries
-
getEntries
public java.util.List<PaymentTransactionEntry> getEntries()
Generated method - Getter of thePaymentTransaction.entriesattribute.- Returns:
- the entries
-
setEntries
public void setEntries(SessionContext ctx, java.util.List<PaymentTransactionEntry> value)
Generated method - Setter of thePaymentTransaction.entriesattribute.- Parameters:
value- the entries
-
setEntries
public void setEntries(java.util.List<PaymentTransactionEntry> value)
Generated method - Setter of thePaymentTransaction.entriesattribute.- Parameters:
value- the entries
-
addToEntries
public void addToEntries(SessionContext ctx, PaymentTransactionEntry value)
Generated method - Addsvalueto entries.- Parameters:
value- the item to add to entries
-
addToEntries
public void addToEntries(PaymentTransactionEntry value)
Generated method - Addsvalueto entries.- Parameters:
value- the item to add to entries
-
removeFromEntries
public void removeFromEntries(SessionContext ctx, PaymentTransactionEntry value)
Generated method - Removesvaluefrom entries.- Parameters:
value- the item to remove from entries
-
removeFromEntries
public void removeFromEntries(PaymentTransactionEntry value)
Generated method - Removesvaluefrom entries.- Parameters:
value- the item to remove from entries
-
getInfo
public PaymentInfo getInfo(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.infoattribute.- Returns:
- the info
-
getInfo
public PaymentInfo getInfo()
Generated method - Getter of thePaymentTransaction.infoattribute.- Returns:
- the info
-
setInfo
public void setInfo(SessionContext ctx, PaymentInfo value)
Generated method - Setter of thePaymentTransaction.infoattribute.- Parameters:
value- the info
-
setInfo
public void setInfo(PaymentInfo value)
Generated method - Setter of thePaymentTransaction.infoattribute.- Parameters:
value- the info
-
getOrder
public AbstractOrder getOrder(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.orderattribute.- Returns:
- the order
-
getOrder
public AbstractOrder getOrder()
Generated method - Getter of thePaymentTransaction.orderattribute.- Returns:
- the order
-
setOrder
public void setOrder(SessionContext ctx, AbstractOrder value)
Generated method - Setter of thePaymentTransaction.orderattribute.- Parameters:
value- the order
-
setOrder
public void setOrder(AbstractOrder value)
Generated method - Setter of thePaymentTransaction.orderattribute.- Parameters:
value- the order
-
getPaymentProvider
public java.lang.String getPaymentProvider(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.paymentProviderattribute.- Returns:
- the paymentProvider
-
getPaymentProvider
public java.lang.String getPaymentProvider()
Generated method - Getter of thePaymentTransaction.paymentProviderattribute.- Returns:
- the paymentProvider
-
setPaymentProvider
public void setPaymentProvider(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePaymentTransaction.paymentProviderattribute.- Parameters:
value- the paymentProvider
-
setPaymentProvider
public void setPaymentProvider(java.lang.String value)
Generated method - Setter of thePaymentTransaction.paymentProviderattribute.- Parameters:
value- the paymentProvider
-
getPlannedAmount
public java.math.BigDecimal getPlannedAmount(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.plannedAmountattribute.- Returns:
- the plannedAmount
-
getPlannedAmount
public java.math.BigDecimal getPlannedAmount()
Generated method - Getter of thePaymentTransaction.plannedAmountattribute.- Returns:
- the plannedAmount
-
setPlannedAmount
public void setPlannedAmount(SessionContext ctx, java.math.BigDecimal value)
Generated method - Setter of thePaymentTransaction.plannedAmountattribute.- Parameters:
value- the plannedAmount
-
setPlannedAmount
public void setPlannedAmount(java.math.BigDecimal value)
Generated method - Setter of thePaymentTransaction.plannedAmountattribute.- Parameters:
value- the plannedAmount
-
getRequestId
public java.lang.String getRequestId(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.requestIdattribute.- Returns:
- the requestId
-
getRequestId
public java.lang.String getRequestId()
Generated method - Getter of thePaymentTransaction.requestIdattribute.- Returns:
- the requestId
-
setRequestId
public void setRequestId(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePaymentTransaction.requestIdattribute.- Parameters:
value- the requestId
-
setRequestId
public void setRequestId(java.lang.String value)
Generated method - Setter of thePaymentTransaction.requestIdattribute.- Parameters:
value- the requestId
-
getRequestToken
public java.lang.String getRequestToken(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.requestTokenattribute.- Returns:
- the requestToken
-
getRequestToken
public java.lang.String getRequestToken()
Generated method - Getter of thePaymentTransaction.requestTokenattribute.- Returns:
- the requestToken
-
setRequestToken
public void setRequestToken(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePaymentTransaction.requestTokenattribute.- Parameters:
value- the requestToken
-
setRequestToken
public void setRequestToken(java.lang.String value)
Generated method - Setter of thePaymentTransaction.requestTokenattribute.- Parameters:
value- the requestToken
-
getVersionID
public java.lang.String getVersionID(SessionContext ctx)
Generated method - Getter of thePaymentTransaction.versionIDattribute.- Returns:
- the versionID
-
getVersionID
public java.lang.String getVersionID()
Generated method - Getter of thePaymentTransaction.versionIDattribute.- Returns:
- the versionID
-
setVersionID
protected void setVersionID(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePaymentTransaction.versionIDattribute.- Parameters:
value- the versionID
-
setVersionID
protected void setVersionID(java.lang.String value)
Generated method - Setter of thePaymentTransaction.versionIDattribute.- Parameters:
value- the versionID
-
-