Class ComposedTypeEJB
java.lang.Object
de.hybris.platform.persistence.ItemEJB
de.hybris.platform.persistence.ExtensibleItemEJB
de.hybris.platform.persistence.c2l.LocalizableItemEJB
de.hybris.platform.persistence.type.TypeManagerManagedEJB
de.hybris.platform.persistence.type.TypeEJB
de.hybris.platform.persistence.type.HierarchieTypeEJB
de.hybris.platform.persistence.type.ComposedTypeEJB
- All Implemented Interfaces:
LocalizableItemRemote,ExtensibleItemRemote,EntityInstance,EntityProxy,HomeProxy,ItemHome,ItemPermissionFacade,ItemRemote,ComposedTypeHome,ComposedTypeRemote,HierarchieTypeHome,HierarchieTypeRemote,TypeHome,TypeManagerManagedRemote,TypeRemote
- Direct Known Subclasses:
ComposedType_HJMPWrapper
public abstract class ComposedTypeEJB
extends HierarchieTypeEJB
implements ComposedTypeRemote, ComposedTypeHome
-
Field Summary
Fields inherited from class de.hybris.platform.persistence.type.TypeEJB
INTERNAL_DESCRIPTION_PROPERTYFields inherited from class de.hybris.platform.persistence.ItemEJB
entityContext, READ, WRITE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeSTPK(String string) protected voiddoTypeInitialization(ComposedTypeRemote newSuperType, ItemDeployment newDeployment, String jaloClassName, ComposedTypeRemote metaType) ejbCreate(PK pkBase, ComposedTypeRemote superType, String code, String jaloClassName, ItemDeployment deployment, ComposedTypeRemote metaType) voidejbPostCreate(PK pkBase, ComposedTypeRemote superType, String code, String jaloClassName, ItemDeployment deployment, ComposedTypeRemote metaType) voidSuperclass method overridden to escape the 'dummy' type pk which is set during initialization when no matching item type is yet available.protected ItemDeploymentgetDeploymentInternal(boolean warn) abstract Stringreturns the property table name or null if this type isnt assoziated with a real item ejb.the database table assoziated with this type or NULL for abstract types.intabstract intabstract Stringabstract booleanabstract booleanabstract booleanbooleanbooleanisAssignableFrom(TypeRemote type) booleanbooleanprotected booleanoverride to enable/disable unlocalized property cache preloading this applies only when BuildConstants.NO_UP_TABLES = true !voidreinitializeType(ComposedTypeRemote superType, ItemDeployment deployment, String jaloClassName, ComposedTypeRemote metaType) Internal ! Used for reinitialization - dont call directly.voidvoidSuperclass method overridden to escape the 'dummy' type pk which is set during initialization when no matching item type is yet available.voidsetDeployment(ItemDeployment deployment) protected voidsetInheritancePath(List path) voidabstract voidsetItemJNDIName(String jndi) voidsetItemTypeCode(int tc) abstract voidsetItemTypeCodeInt(int tc) abstract voidsetJaloClassName(String className) changes this types assoziated jalo class.abstract voidsetPropertyTableStatus(boolean initialized) abstract voidsetRemovableFlag(boolean removable) voidsetSingleton(boolean isSingleton) abstract voidsetSingletonFlag(boolean singletonFlag) protected inttypeCode()Methods inherited from class de.hybris.platform.persistence.type.HierarchieTypeEJB
getInheritancePathStringInternal, getSuperTypePK, setInheritancePathStringInternal, setSuperTypePKMethods inherited from class de.hybris.platform.persistence.type.TypeEJB
ejbCreate, ejbPostCreate, getCode, getInternalCode, getInternalCodeLowerCase, setCode, setInternalCode, setInternalCodeLowerCaseMethods inherited from class de.hybris.platform.persistence.type.TypeManagerManagedEJB
equals, getTypeManager, pGetInternalProperty, pSetInternalPropertyMethods inherited from class de.hybris.platform.persistence.c2l.LocalizableItemEJB
copyLocalizablePropertiesFrom, createFromTemplate, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, getLocPropertyAccess, hintPropertyCache, postCreateFromTemplate, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty, setLocPropertiesFromContainerMethods inherited from class de.hybris.platform.persistence.ExtensibleItemEJB
clearEntityCaches, copyPropertiesFrom, decryptIfNecessaryWithFallback, decryptValueWithFallback, doCreateInternal, ejbHomeGetPropertyTableName, getAllLanguagePKs, getAllProperties, getAllPropertyAccesses, getModifiedUnlocalizedPropertyCache, getProperty, getPropertyAccess, getPropertyAccess, getPropertyAccessInternal, getPropertyNames, getPropertyRaw, getPropertyTableNameImpl, getPropertyTimestamp, getPropertyTimestampInternal, getTypeInfoMap, hasModifiedCaches, removeProperty, removePropertyData, setAllProperties, setPropertiesFromContainer, setProperty, setPropertyTimestampInternal, typeChanged, updatePropertyVersion, warnOnDecryptionError, writePropertyCachesMethods 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, 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, setCreationTime, setCreationTimestampInternal, setEntityContext, setGlobalPermission, setGlobalPermissions, setModifiedTime, setModifiedTimestamp, setModifiedTimestampInternal, setNeedsStoring, setOwner, setOwnerPkString, setOwnerRef, setPermission, setPermissions, setPkString, setPrincipalToBooleanListMap, setTypePkString, skipRemovePermission, skipSetPermission, storeCaches, wasModifiedSince, writeACLEntriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.persistence.type.ComposedTypeHome
create, findByJaloClassName, findByPrimaryKey, findByTypeCodeMethods inherited from interface de.hybris.platform.persistence.framework.EntityInstance
ejbFindByPrimaryKeyMethods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPKMethods inherited from interface de.hybris.platform.persistence.ExtensibleItemRemote
copyPropertiesFrom, getAllProperties, getProperty, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, removeProperty, setAllProperties, setPropertyMethods inherited from interface de.hybris.platform.persistence.type.HierarchieTypeHome
findByInheritancePath, findBySuperTypeMethods inherited from interface de.hybris.platform.persistence.ItemHome
findAll, findByPKList, findByType, findChangedAfter, getOwnJNDIName, loadItemDataMethods inherited from interface de.hybris.platform.persistence.ItemRemote
getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSinceMethods inherited from interface de.hybris.platform.persistence.c2l.LocalizableItemRemote
copyLocalizablePropertiesFrom, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, hintPropertyCache, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedPropertyMethods inherited from interface de.hybris.platform.persistence.type.TypeHome
findByCodeExactMethods inherited from interface de.hybris.platform.persistence.type.TypeRemote
getCode
-
Constructor Details
-
ComposedTypeEJB
public ComposedTypeEJB()
-
-
Method Details
-
getItemTypeCodeInt
public abstract int getItemTypeCodeInt() -
setItemTypeCodeInt
public abstract void setItemTypeCodeInt(int tc) -
getItemJNDIName
- Specified by:
getItemJNDINamein interfaceComposedTypeRemote
-
setItemJNDIName
- Specified by:
setItemJNDINamein interfaceComposedTypeRemote
-
getJaloClassName
- Specified by:
getJaloClassNamein interfaceComposedTypeRemote- Returns:
- the assoziated jalo class of this type or NULL which means to use its supertype's jaloclass.
-
setJaloClassName
Description copied from interface:ComposedTypeRemotechanges this types assoziated jalo class. NULL means to use its supertype's jaloclass.- Specified by:
setJaloClassNamein interfaceComposedTypeRemote
-
getPropertyTableStatus
public abstract boolean getPropertyTableStatus()- Specified by:
getPropertyTableStatusin interfaceComposedTypeRemote
-
setPropertyTableStatus
public abstract void setPropertyTableStatus(boolean initialized) - Specified by:
setPropertyTableStatusin interfaceComposedTypeRemote
-
getSingletonFlag
public abstract boolean getSingletonFlag() -
setSingletonFlag
public abstract void setSingletonFlag(boolean singletonFlag) -
getRemovableFlag
public abstract boolean getRemovableFlag() -
setRemovableFlag
public abstract void setRemovableFlag(boolean removable) -
getItemTableName
Description copied from interface:ComposedTypeRemotethe database table assoziated with this type or NULL for abstract types.- Specified by:
getItemTableNamein interfaceComposedTypeRemote
-
typeCode
protected int typeCode() -
preLoadUnlocalizedProperties
protected boolean preLoadUnlocalizedProperties()Description copied from class:ExtensibleItemEJBoverride to enable/disable unlocalized property cache preloading this applies only when BuildConstants.NO_UP_TABLES = true !- Overrides:
preLoadUnlocalizedPropertiesin classExtensibleItemEJB
-
getItemTypeCode
public int getItemTypeCode()- Specified by:
getItemTypeCodein interfaceComposedTypeRemote
-
setItemTypeCode
public void setItemTypeCode(int tc) -
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceComposedTypeRemote
-
setAbstract
public void setAbstract()- Specified by:
setAbstractin interfaceComposedTypeRemote
-
getItemPropertyTableName
Description copied from interface:ComposedTypeRemotereturns the property table name or null if this type isnt assoziated with a real item ejb.- Specified by:
getItemPropertyTableNamein interfaceComposedTypeRemote
-
changeSTPK
- Specified by:
changeSTPKin interfaceComposedTypeRemote
-
ejbCreate
public PK ejbCreate(PK pkBase, ComposedTypeRemote superType, String code, String jaloClassName, ItemDeployment deployment, ComposedTypeRemote metaType) throws EJBDuplicateCodeException, EJBInvalidParameterException -
ejbPostCreate
public void ejbPostCreate(PK pkBase, ComposedTypeRemote superType, String code, String jaloClassName, ItemDeployment deployment, ComposedTypeRemote metaType) throws EJBDuplicateCodeException, EJBInvalidParameterException -
getComposedType
Superclass method overridden to escape the 'dummy' type pk which is set during initialization when no matching item type is yet available.- Specified by:
getComposedTypein interfaceItemRemote- Overrides:
getComposedTypein classItemEJB
-
setComposedType
Superclass method overridden to escape the 'dummy' type pk which is set during initialization when no matching item type is yet available.- Specified by:
setComposedTypein interfaceItemRemote- Overrides:
setComposedTypein classItemEJB- Throws:
EJBInvalidParameterException
-
reinitializeType
public void reinitializeType(ComposedTypeRemote superType, ItemDeployment deployment, String jaloClassName, ComposedTypeRemote metaType) Description copied from interface:ComposedTypeRemoteInternal ! Used for reinitialization - dont call directly.- Specified by:
reinitializeTypein interfaceComposedTypeRemote- Parameters:
superType- the new supertype (optional)deployment- the new deployment object (optional)jaloClassName- the new jalo class name (optional)
-
doTypeInitialization
protected void doTypeInitialization(ComposedTypeRemote newSuperType, ItemDeployment newDeployment, String jaloClassName, ComposedTypeRemote metaType) -
ejbRemove
public void ejbRemove()- Specified by:
ejbRemovein interfaceEntityInstance- Overrides:
ejbRemovein classExtensibleItemEJB
-
isRemovable
public boolean isRemovable()- Specified by:
isRemovablein interfaceComposedTypeRemote
-
getDeployment
- Specified by:
getDeploymentin interfaceComposedTypeRemote
-
getDeploymentInternal
-
setDeployment
-
getSuperTypeItemPK
- Specified by:
getSuperTypeItemPKin interfaceComposedTypeRemote- Returns:
- the item pk of this type's supertype
-
getSuperType
- Specified by:
getSuperTypein interfaceComposedTypeRemote
-
getInheritancePathString
- Specified by:
getInheritancePathStringin interfaceComposedTypeRemote- Specified by:
getInheritancePathStringin interfaceHierarchieTypeRemote
-
setInheritancePathString
- Specified by:
setInheritancePathStringin interfaceComposedTypeRemote- Specified by:
setInheritancePathStringin interfaceHierarchieTypeRemote
-
getInheritancePath
- Specified by:
getInheritancePathin interfaceComposedTypeRemote- Specified by:
getInheritancePathin interfaceHierarchieTypeRemote
-
setInheritancePath
-
isAssignableFrom
- Specified by:
isAssignableFromin interfaceTypeRemote- Specified by:
isAssignableFromin classTypeEJB
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceComposedTypeRemote
-
setSingleton
public void setSingleton(boolean isSingleton) - Specified by:
setSingletonin interfaceComposedTypeRemote
-