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 LinkRemotecreate(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr)PKejbCreate(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr)java.util.CollectionejbFindAll()java.util.CollectionejbFindByPKList(java.util.Collection<PK> pkList)PKejbFindByPrimaryKey(PK pkValue)java.util.CollectionejbFindByType(PK typePK)java.util.CollectionejbFindChangedAfter(java.util.Date param0)voidejbHomeLoadItemData(java.sql.ResultSet rs)voidejbLoad()voidejbPostCreate(java.lang.String param0, PK param2, PK param3, int param4, int param5)voidejbRemove()voidejbStore()java.util.CollectionfindAll()All item beans have a 'findAll' finder.java.util.CollectionfindByPKList(java.util.Collection pks)LinkRemotefindByPrimaryKey(PK pk)java.util.CollectionfindByType(PK typePK)java.util.CollectionfindChangedAfter(java.util.Date param0)A finder which selects all bean modified after a given time.longgetACLTimestampInternal()protected java.lang.ObjectgetCachedValueForModification(ItemCacheKey key)protected java.util.MapgetCacheKeyMap()java.util.DategetCreationTimestampInternal()longgetHJMPTS()protected java.lang.StringgetItemTableNameImpl()instance method impljava.util.DategetModifiedTimestampInternal()PKgetOwnerPkString()java.lang.StringgetOwnJNDIName()instance method implPKgetPkString()java.lang.StringgetPropertyTableNameImpl()longgetPropertyTimestampInternal()java.lang.StringgetQualifierInternal()intgetReverseSequenceNumberInternal()intgetSequenceNumberInternal()PKgetSourcePKInternal()PKgetTargetPKInternal()PKgetTypePkString()booleanisBeforeCreate()Special method indicating that the entity instance is currently within its ejbCreate() state and has not been written to database yet.voidsetACLTimestampInternal(long newvalue)voidsetCreationTimestampInternal(java.util.Date newvalue)voidsetModifiedTimestampInternal(java.util.Date newvalue)voidsetOwnerPkString(PK newvalue)voidsetPkString(PK newvalue)voidsetPropertyTimestampInternal(long newvalue)voidsetQualifierInternal(java.lang.String newvalue)voidsetReverseSequenceNumberInternal(int newvalue)voidsetSequenceNumberInternal(int newvalue)voidsetSourcePKInternal(PK newvalue)voidsetTargetPKInternal(PK newvalue)voidsetTypePkString(PK newvalue)protected inttypeCode()-
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:
getHJMPTSin interfaceItemRemote- Specified by:
getHJMPTSin classItemEJB
-
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoadin interfaceEntityInstance- Overrides:
ejbLoadin classItemEJB
-
ejbStore
public void ejbStore()
- Specified by:
ejbStorein interfaceEntityInstance- Overrides:
ejbStorein classItemEJB
-
isBeforeCreate
public boolean isBeforeCreate()
Description copied from class:ItemEJBSpecial method indicating that the entity instance is currently within its ejbCreate() state and has not been written to database yet.- Specified by:
isBeforeCreatein classItemEJB
-
ejbCreate
public PK ejbCreate(java.lang.String quali, PK scrPK, PK tgtPK, int seqNr, int revSeqNr) throws EJBInvalidParameterException
- Overrides:
ejbCreatein 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:
ejbPostCreatein classLinkEJB
-
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemovein interfaceEntityInstance- Overrides:
ejbRemovein classExtensibleItemEJB
-
ejbHomeLoadItemData
public void ejbHomeLoadItemData(java.sql.ResultSet rs)
- Overrides:
ejbHomeLoadItemDatain classItemEJB
-
getPkString
public PK getPkString()
- Specified by:
getPkStringin interfaceItemRemote- Specified by:
getPkStringin classItemEJB
-
setPkString
public void setPkString(PK newvalue)
- Specified by:
setPkStringin classItemEJB
-
getCreationTimestampInternal
public java.util.Date getCreationTimestampInternal()
- Specified by:
getCreationTimestampInternalin classItemEJB
-
setCreationTimestampInternal
public void setCreationTimestampInternal(java.util.Date newvalue)
- Specified by:
setCreationTimestampInternalin classItemEJB
-
getModifiedTimestampInternal
public java.util.Date getModifiedTimestampInternal()
- Specified by:
getModifiedTimestampInternalin classItemEJB
-
setModifiedTimestampInternal
public void setModifiedTimestampInternal(java.util.Date newvalue)
- Specified by:
setModifiedTimestampInternalin classItemEJB
-
getACLTimestampInternal
public long getACLTimestampInternal()
- Specified by:
getACLTimestampInternalin classItemEJB
-
setACLTimestampInternal
public void setACLTimestampInternal(long newvalue)
- Specified by:
setACLTimestampInternalin classItemEJB
-
getTypePkString
public PK getTypePkString()
- Specified by:
getTypePkStringin classItemEJB
-
setTypePkString
public void setTypePkString(PK newvalue)
- Specified by:
setTypePkStringin classItemEJB
-
getOwnerPkString
public PK getOwnerPkString()
- Specified by:
getOwnerPkStringin classItemEJB
-
setOwnerPkString
public void setOwnerPkString(PK newvalue)
- Specified by:
setOwnerPkStringin classItemEJB
-
getPropertyTimestampInternal
public long getPropertyTimestampInternal()
- Specified by:
getPropertyTimestampInternalin classExtensibleItemEJB
-
setPropertyTimestampInternal
public void setPropertyTimestampInternal(long newvalue)
- Specified by:
setPropertyTimestampInternalin classExtensibleItemEJB
-
getSourcePKInternal
public PK getSourcePKInternal()
- Specified by:
getSourcePKInternalin classLinkEJB
-
setSourcePKInternal
public void setSourcePKInternal(PK newvalue)
- Specified by:
setSourcePKInternalin classLinkEJB
-
getTargetPKInternal
public PK getTargetPKInternal()
- Specified by:
getTargetPKInternalin classLinkEJB
-
setTargetPKInternal
public void setTargetPKInternal(PK newvalue)
- Specified by:
setTargetPKInternalin classLinkEJB
-
getQualifierInternal
public java.lang.String getQualifierInternal()
- Specified by:
getQualifierInternalin classLinkEJB
-
setQualifierInternal
public void setQualifierInternal(java.lang.String newvalue)
- Specified by:
setQualifierInternalin classLinkEJB
-
getReverseSequenceNumberInternal
public int getReverseSequenceNumberInternal()
- Specified by:
getReverseSequenceNumberInternalin classLinkEJB
-
setReverseSequenceNumberInternal
public void setReverseSequenceNumberInternal(int newvalue)
- Specified by:
setReverseSequenceNumberInternalin classLinkEJB
-
getSequenceNumberInternal
public int getSequenceNumberInternal()
- Specified by:
getSequenceNumberInternalin classLinkEJB
-
setSequenceNumberInternal
public void setSequenceNumberInternal(int newvalue)
- Specified by:
setSequenceNumberInternalin 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 YFinderExceptionDescription copied from interface:ItemHomeA 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 YFinderExceptionDescription copied from interface:ItemHomeAll 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:ItemEJBinstance method impl- Specified by:
getItemTableNameImplin classItemEJB
-
getOwnJNDIName
public java.lang.String getOwnJNDIName()
Description copied from class:ItemEJBinstance method impl- Specified by:
getOwnJNDINamein interfaceItemHome- Specified by:
getOwnJNDINamein classItemEJB- Returns:
- the item's JNDI name
-
typeCode
protected final int typeCode()
-
getPropertyTableNameImpl
public java.lang.String getPropertyTableNameImpl()
- Specified by:
getPropertyTableNameImplin classExtensibleItemEJB
-
getCachedValueForModification
protected java.lang.Object getCachedValueForModification(ItemCacheKey key)
- Overrides:
getCachedValueForModificationin classItemEJB
-
getCacheKeyMap
protected java.util.Map getCacheKeyMap()
- Specified by:
getCacheKeyMapin 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
-
-