Class GenericLinkBMPBean
- java.lang.Object
-
- de.hybris.platform.persistence.ItemEJB
-
- de.hybris.platform.persistence.ExtensibleItemEJB
-
- de.hybris.platform.persistence.link.LinkEJB
-
- de.hybris.platform.persistence.link.GenericLinkBMPBean
-
- All Implemented Interfaces:
ExtensibleItemRemote
,EntityInstance
,EntityProxy
,HomeProxy
,ItemHome
,ItemPermissionFacade
,ItemRemote
,LinkHome
,LinkRemote
public class GenericLinkBMPBean extends LinkEJB
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.persistence.ItemEJB
entityContext, READ, WRITE
-
-
Constructor Summary
Constructors Constructor Description GenericLinkBMPBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkRemote
create(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr)
PK
ejbCreate(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr)
java.util.Collection
ejbFindAll()
java.util.Collection
ejbFindByPKList(java.util.Collection<PK> pkList)
PK
ejbFindByPrimaryKey(PK pkValue)
java.util.Collection
ejbFindByType(PK typePK)
java.util.Collection
ejbFindChangedAfter(java.util.Date param0)
void
ejbHomeLoadItemData(java.sql.ResultSet rs)
void
ejbLoad()
void
ejbPostCreate(java.lang.String param0, PK param2, PK param3, int param4, int param5)
void
ejbRemove()
void
ejbStore()
java.util.Collection
findAll()
All item beans have a 'findAll' finder.java.util.Collection
findByPKList(java.util.Collection pks)
LinkRemote
findByPrimaryKey(PK pk)
java.util.Collection
findByType(PK typePK)
java.util.Collection
findChangedAfter(java.util.Date param0)
A finder which selects all bean modified after a given time.long
getACLTimestampInternal()
protected java.lang.Object
getCachedValueForModification(ItemCacheKey key)
protected java.util.Map
getCacheKeyMap()
java.util.Date
getCreationTimestampInternal()
long
getHJMPTS()
protected java.lang.String
getItemTableNameImpl()
instance method impljava.util.Date
getModifiedTimestampInternal()
PK
getOwnerPkString()
java.lang.String
getOwnJNDIName()
instance method implPK
getPkString()
java.lang.String
getPropertyTableNameImpl()
long
getPropertyTimestampInternal()
java.lang.String
getQualifierInternal()
int
getReverseSequenceNumberInternal()
int
getSequenceNumberInternal()
PK
getSourcePKInternal()
PK
getTargetPKInternal()
PK
getTypePkString()
boolean
isBeforeCreate()
Special method indicating that the entity instance is currently within its ejbCreate() state and has not been written to database yet.void
setACLTimestampInternal(long newvalue)
void
setCreationTimestampInternal(java.util.Date newvalue)
void
setModifiedTimestampInternal(java.util.Date newvalue)
void
setOwnerPkString(PK newvalue)
void
setPkString(PK newvalue)
void
setPropertyTimestampInternal(long newvalue)
void
setQualifierInternal(java.lang.String newvalue)
void
setReverseSequenceNumberInternal(int newvalue)
void
setSequenceNumberInternal(int newvalue)
void
setSourcePKInternal(PK newvalue)
void
setTargetPKInternal(PK newvalue)
void
setTypePkString(PK newvalue)
protected int
typeCode()
-
Methods inherited from class de.hybris.platform.persistence.link.LinkEJB
getDefaultType, getQualifier, getReverseSequenceNumber, getSequenceNumber, getSource, getSourcePK, getTarget, getTargetPK, setQualifier, setReverseSequenceNumber, setSequenceNumber, setSource, setSourcePK, setTarget, setTargetPK
-
Methods inherited from class de.hybris.platform.persistence.ExtensibleItemEJB
clearEntityCaches, copyPropertiesFrom, createFromTemplate, decryptIfNecessaryWithFallback, decryptValueWithFallback, doCreateInternal, ejbHomeGetPropertyTableName, getAllLanguagePKs, getAllProperties, getAllPropertyAccesses, getModifiedUnlocalizedPropertyCache, getProperty, getPropertyAccess, getPropertyAccess, getPropertyAccessInternal, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, hasModifiedCaches, postCreateFromTemplate, preLoadUnlocalizedProperties, removeProperty, removePropertyData, setAllProperties, setPropertiesFromContainer, setProperty, typeChanged, updatePropertyVersion, warnOnDecryptionError, writePropertyCaches
-
Methods inherited from class de.hybris.platform.persistence.ItemEJB
checkItemPermission, checkOwnGlobalPermission, copyComposedTypeFromTemplate, doCreateInternal, doPostCreateInternal, ejbHomeGetItemTableName, ejbHomeGetOwnJNDIName, getCachedValueForReading, getCachedValueForReadingIfAvailable, getCachedValuesStartingWith, getCacheKey, getComposedType, getCreationTime, getEntityContext, getGlobalPermissionPKs, getModifiedTime, getOrAddCacheKey, getOwner, getPermissionPKs, getPK, getPrincipalToBooleanListMap, getRestrictedPrincipalPKs, getTypeKey, hasJNDIName, loadItemData, logACLCacheChange, needsStoring, quoteSQLStringLiteralForQuery, remove, removeACLEntries, removeGlobalPermission, removeGlobalPermissions, removePermission, removePermissions, setComposedType, setCreationTime, setEntityContext, setGlobalPermission, setGlobalPermissions, setModifiedTime, setModifiedTimestamp, setNeedsStoring, setOwner, setOwnerRef, setPermission, setPermissions, setPrincipalToBooleanListMap, skipRemovePermission, skipSetPermission, storeCaches, wasModifiedSince, writeACLEntries
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPK
-
Methods inherited from interface de.hybris.platform.persistence.ExtensibleItemRemote
copyPropertiesFrom, getAllProperties, getProperty, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, removeProperty, setAllProperties, setProperty
-
Methods inherited from interface de.hybris.platform.persistence.ItemHome
loadItemData
-
Methods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getModifiedTime, getOwner, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
-
-
-
Method Detail
-
getHJMPTS
public long getHJMPTS()
- Specified by:
getHJMPTS
in interfaceItemRemote
- Specified by:
getHJMPTS
in classItemEJB
-
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interfaceEntityInstance
- Overrides:
ejbLoad
in classItemEJB
-
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interfaceEntityInstance
- Overrides:
ejbStore
in classItemEJB
-
isBeforeCreate
public boolean isBeforeCreate()
Description copied from class:ItemEJB
Special method indicating that the entity instance is currently within its ejbCreate() state and has not been written to database yet.- Specified by:
isBeforeCreate
in classItemEJB
-
ejbCreate
public PK ejbCreate(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr) throws EJBInvalidParameterException
- Overrides:
ejbCreate
in classLinkEJB
- Throws:
EJBInvalidParameterException
-
create
public LinkRemote create(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
ejbPostCreate
public void ejbPostCreate(java.lang.String param0, PK param2, PK param3, int param4, int param5)
- Overrides:
ejbPostCreate
in classLinkEJB
-
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interfaceEntityInstance
- Overrides:
ejbRemove
in classExtensibleItemEJB
-
ejbHomeLoadItemData
public void ejbHomeLoadItemData(java.sql.ResultSet rs)
- Overrides:
ejbHomeLoadItemData
in classItemEJB
-
getPkString
public PK getPkString()
- Specified by:
getPkString
in interfaceItemRemote
- Specified by:
getPkString
in classItemEJB
-
setPkString
public void setPkString(PK newvalue)
- Specified by:
setPkString
in classItemEJB
-
getCreationTimestampInternal
public java.util.Date getCreationTimestampInternal()
- Specified by:
getCreationTimestampInternal
in classItemEJB
-
setCreationTimestampInternal
public void setCreationTimestampInternal(java.util.Date newvalue)
- Specified by:
setCreationTimestampInternal
in classItemEJB
-
getModifiedTimestampInternal
public java.util.Date getModifiedTimestampInternal()
- Specified by:
getModifiedTimestampInternal
in classItemEJB
-
setModifiedTimestampInternal
public void setModifiedTimestampInternal(java.util.Date newvalue)
- Specified by:
setModifiedTimestampInternal
in classItemEJB
-
getACLTimestampInternal
public long getACLTimestampInternal()
- Specified by:
getACLTimestampInternal
in classItemEJB
-
setACLTimestampInternal
public void setACLTimestampInternal(long newvalue)
- Specified by:
setACLTimestampInternal
in classItemEJB
-
getTypePkString
public PK getTypePkString()
- Specified by:
getTypePkString
in classItemEJB
-
setTypePkString
public void setTypePkString(PK newvalue)
- Specified by:
setTypePkString
in classItemEJB
-
getOwnerPkString
public PK getOwnerPkString()
- Specified by:
getOwnerPkString
in classItemEJB
-
setOwnerPkString
public void setOwnerPkString(PK newvalue)
- Specified by:
setOwnerPkString
in classItemEJB
-
getPropertyTimestampInternal
public long getPropertyTimestampInternal()
- Specified by:
getPropertyTimestampInternal
in classExtensibleItemEJB
-
setPropertyTimestampInternal
public void setPropertyTimestampInternal(long newvalue)
- Specified by:
setPropertyTimestampInternal
in classExtensibleItemEJB
-
getSourcePKInternal
public PK getSourcePKInternal()
- Specified by:
getSourcePKInternal
in classLinkEJB
-
setSourcePKInternal
public void setSourcePKInternal(PK newvalue)
- Specified by:
setSourcePKInternal
in classLinkEJB
-
getTargetPKInternal
public PK getTargetPKInternal()
- Specified by:
getTargetPKInternal
in classLinkEJB
-
setTargetPKInternal
public void setTargetPKInternal(PK newvalue)
- Specified by:
setTargetPKInternal
in classLinkEJB
-
getQualifierInternal
public java.lang.String getQualifierInternal()
- Specified by:
getQualifierInternal
in classLinkEJB
-
setQualifierInternal
public void setQualifierInternal(java.lang.String newvalue)
- Specified by:
setQualifierInternal
in classLinkEJB
-
getReverseSequenceNumberInternal
public int getReverseSequenceNumberInternal()
- Specified by:
getReverseSequenceNumberInternal
in classLinkEJB
-
setReverseSequenceNumberInternal
public void setReverseSequenceNumberInternal(int newvalue)
- Specified by:
setReverseSequenceNumberInternal
in classLinkEJB
-
getSequenceNumberInternal
public int getSequenceNumberInternal()
- Specified by:
getSequenceNumberInternal
in classLinkEJB
-
setSequenceNumberInternal
public void setSequenceNumberInternal(int newvalue)
- Specified by:
setSequenceNumberInternal
in classLinkEJB
-
ejbFindByPrimaryKey
public PK ejbFindByPrimaryKey(PK pkValue) throws YObjectNotFoundException
- Throws:
YObjectNotFoundException
-
findByPrimaryKey
public LinkRemote findByPrimaryKey(PK pk) throws YObjectNotFoundException, YFinderException
-
ejbFindByType
public java.util.Collection ejbFindByType(PK typePK) throws YFinderException
- Throws:
YFinderException
-
findByType
public java.util.Collection findByType(PK typePK) throws YFinderException
- Throws:
YFinderException
-
ejbFindChangedAfter
public java.util.Collection ejbFindChangedAfter(java.util.Date param0) throws YFinderException
- Throws:
YFinderException
-
findChangedAfter
public java.util.Collection findChangedAfter(java.util.Date param0) throws YFinderException
Description copied from interface:ItemHome
A finder which selects all bean modified after a given time. This uses the modifiedTimestamp field of the item.- Parameters:
param0
- the time to check in milliseconds ( see java.lang.System )- Throws:
YFinderException
-
ejbFindAll
public java.util.Collection ejbFindAll() throws YFinderException
- Throws:
YFinderException
-
findAll
public java.util.Collection findAll() throws YFinderException
Description copied from interface:ItemHome
All item beans have a 'findAll' finder. So dont define another 'findAll' finder in a subclassed item !- Throws:
YFinderException
-
getItemTableNameImpl
protected java.lang.String getItemTableNameImpl()
Description copied from class:ItemEJB
instance method impl- Specified by:
getItemTableNameImpl
in classItemEJB
-
getOwnJNDIName
public java.lang.String getOwnJNDIName()
Description copied from class:ItemEJB
instance method impl- Specified by:
getOwnJNDIName
in interfaceItemHome
- Specified by:
getOwnJNDIName
in classItemEJB
- Returns:
- the item's JNDI name
-
typeCode
protected final int typeCode()
-
getPropertyTableNameImpl
public java.lang.String getPropertyTableNameImpl()
- Specified by:
getPropertyTableNameImpl
in classExtensibleItemEJB
-
getCachedValueForModification
protected java.lang.Object getCachedValueForModification(ItemCacheKey key)
- Overrides:
getCachedValueForModification
in classItemEJB
-
getCacheKeyMap
protected java.util.Map getCacheKeyMap()
- Specified by:
getCacheKeyMap
in classItemEJB
-
findByPKList
public java.util.Collection findByPKList(java.util.Collection pks) throws YFinderException
- Throws:
YFinderException
-
ejbFindByPKList
public java.util.Collection ejbFindByPKList(java.util.Collection<PK> pkList) throws YFinderException
- Throws:
YFinderException
-
-