Class CollectionTypeEJB
- java.lang.Object
-
- All Implemented Interfaces:
LocalizableItemRemote
,ExtensibleItemRemote
,EntityInstance
,EntityProxy
,HomeProxy
,ItemHome
,ItemPermissionFacade
,ItemRemote
,CollectionTypeHome
,CollectionTypeRemote
,TypeHome
,TypeManagerManagedRemote
,TypeRemote
- Direct Known Subclasses:
CollectionType_HJMPWrapper
public abstract class CollectionTypeEJB extends TypeEJB implements CollectionTypeRemote, CollectionTypeHome
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.persistence.type.TypeEJB
INTERNAL_DESCRIPTION_PROPERTY
-
Fields inherited from class de.hybris.platform.persistence.ItemEJB
entityContext, READ, WRITE
-
-
Constructor Summary
Constructors Constructor Description CollectionTypeEJB()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PK
ejbCreate(PK pkBase, java.lang.String code, TypeRemote elementType, int collectionType)
void
ejbPostCreate(PK pkBase, java.lang.String code, TypeRemote elementType, int collectionType)
TypeRemote
getElementType()
abstract PK
getElementTypePK()
abstract int
getTypeOfCollection()
protected boolean
isAdmissibleCollection(java.lang.Object o)
boolean
isAssignableFrom(TypeRemote type)
void
reinitializeType(TypeRemote elementType, int typeOfCollection)
abstract void
setElementTypePK(PK elementTypePK)
abstract void
setTypeOfCollection(int collectionType)
protected int
typeCode()
-
Methods inherited from class de.hybris.platform.persistence.type.TypeEJB
ejbCreate, ejbPostCreate, getCode, getInternalCode, getInternalCodeLowerCase, setCode, setInternalCode, setInternalCodeLowerCase
-
Methods inherited from class de.hybris.platform.persistence.type.TypeManagerManagedEJB
equals, getTypeManager, pGetInternalProperty, pSetInternalProperty
-
Methods inherited from class de.hybris.platform.persistence.c2l.LocalizableItemEJB
copyLocalizablePropertiesFrom, createFromTemplate, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, getLocPropertyAccess, hintPropertyCache, postCreateFromTemplate, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty, setLocPropertiesFromContainer
-
Methods inherited from class de.hybris.platform.persistence.ExtensibleItemEJB
clearEntityCaches, copyPropertiesFrom, decryptIfNecessaryWithFallback, decryptValueWithFallback, doCreateInternal, ejbHomeGetPropertyTableName, ejbRemove, getAllLanguagePKs, getAllProperties, getAllPropertyAccesses, getModifiedUnlocalizedPropertyCache, getProperty, getPropertyAccess, getPropertyAccess, getPropertyAccessInternal, getPropertyNames, getPropertyRaw, getPropertyTableNameImpl, getPropertyTimestamp, getPropertyTimestampInternal, getTypeInfoMap, hasModifiedCaches, preLoadUnlocalizedProperties, removeProperty, removePropertyData, setAllProperties, setPropertiesFromContainer, setProperty, setPropertyTimestampInternal, typeChanged, updatePropertyVersion, warnOnDecryptionError, writePropertyCaches
-
Methods inherited from class de.hybris.platform.persistence.ItemEJB
checkItemPermission, checkOwnGlobalPermission, copyComposedTypeFromTemplate, doCreateInternal, doPostCreateInternal, ejbHomeGetItemTableName, ejbHomeGetOwnJNDIName, ejbHomeLoadItemData, ejbLoad, ejbStore, getACLTimestampInternal, getCachedValueForModification, getCachedValueForReading, getCachedValueForReadingIfAvailable, getCachedValuesStartingWith, getCacheKey, getCacheKeyMap, getComposedType, getCreationTime, getCreationTimestampInternal, getDefaultType, getEntityContext, getGlobalPermissionPKs, getHJMPTS, getItemTableNameImpl, getModifiedTime, getModifiedTimestampInternal, getOrAddCacheKey, getOwner, getOwnerPkString, getOwnJNDIName, getPermissionPKs, getPK, getPkString, getPrincipalToBooleanListMap, getRestrictedPrincipalPKs, getTypeKey, getTypePkString, hasJNDIName, isBeforeCreate, loadItemData, logACLCacheChange, needsStoring, quoteSQLStringLiteralForQuery, remove, removeACLEntries, removeGlobalPermission, removeGlobalPermissions, removePermission, removePermissions, setACLTimestampInternal, setComposedType, setCreationTime, setCreationTimestampInternal, setEntityContext, setGlobalPermission, setGlobalPermissions, setModifiedTime, setModifiedTimestamp, setModifiedTimestampInternal, setNeedsStoring, setOwner, setOwnerPkString, setOwnerRef, setPermission, setPermissions, setPkString, setPrincipalToBooleanListMap, setTypePkString, 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.type.CollectionTypeHome
create, findByElementType, findByPrimaryKey
-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityInstance
ejbFindByPrimaryKey
-
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
findAll, findByPKList, findByType, findChangedAfter, getOwnJNDIName, loadItemData
-
Methods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
Methods inherited from interface de.hybris.platform.persistence.c2l.LocalizableItemRemote
copyLocalizablePropertiesFrom, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, hintPropertyCache, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty
-
Methods inherited from interface de.hybris.platform.persistence.type.TypeHome
findByCodeExact
-
Methods inherited from interface de.hybris.platform.persistence.type.TypeRemote
getCode
-
-
-
-
Method Detail
-
getElementTypePK
public abstract PK getElementTypePK()
-
setElementTypePK
public abstract void setElementTypePK(PK elementTypePK)
-
getTypeOfCollection
public abstract int getTypeOfCollection()
- Specified by:
getTypeOfCollection
in interfaceCollectionTypeRemote
-
setTypeOfCollection
public abstract void setTypeOfCollection(int collectionType)
-
typeCode
protected int typeCode()
-
ejbCreate
public PK ejbCreate(PK pkBase, java.lang.String code, TypeRemote elementType, int collectionType) throws EJBDuplicateCodeException, EJBInvalidParameterException
-
ejbPostCreate
public void ejbPostCreate(PK pkBase, java.lang.String code, TypeRemote elementType, int collectionType) throws EJBDuplicateCodeException, EJBInvalidParameterException
-
reinitializeType
public void reinitializeType(TypeRemote elementType, int typeOfCollection) throws EJBInvalidParameterException
- Specified by:
reinitializeType
in interfaceCollectionTypeRemote
- Throws:
EJBInvalidParameterException
-
getElementType
public TypeRemote getElementType()
- Specified by:
getElementType
in interfaceCollectionTypeRemote
-
isAssignableFrom
public boolean isAssignableFrom(TypeRemote type)
- Specified by:
isAssignableFrom
in interfaceTypeRemote
- Specified by:
isAssignableFrom
in classTypeEJB
-
isAdmissibleCollection
protected boolean isAdmissibleCollection(java.lang.Object o)
-
-