Class TestItemEJB
- java.lang.Object
-
- de.hybris.platform.persistence.ItemEJB
-
- de.hybris.platform.persistence.ExtensibleItemEJB
-
- de.hybris.platform.persistence.c2l.LocalizableItemEJB
-
- de.hybris.platform.persistence.test.TestItemEJB
-
- All Implemented Interfaces:
LocalizableItemRemote
,ExtensibleItemRemote
,EntityInstance
,EntityProxy
,HomeProxy
,ItemHome
,ItemPermissionFacade
,ItemRemote
,TestItemHome
,TestItemRemote
- Direct Known Subclasses:
TestItem_HJMPWrapper
public abstract class TestItemEJB extends LocalizableItemEJB implements TestItemRemote, TestItemHome
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.persistence.ItemEJB
entityContext, READ, WRITE
-
-
Constructor Summary
Constructors Constructor Description TestItemEJB()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
clearEntityCaches()
PK
ejbCreate()
void
ejbLoad()
void
ejbPostCreate()
void
ejbStore()
java.lang.String
getA()
java.lang.String
getB()
java.math.BigDecimal
getBigDecimal()
java.lang.Boolean
getBoolean()
java.lang.Byte
getByte()
java.lang.Character
getCharacter()
java.util.Date
getDate()
java.lang.Double
getDouble()
abstract java.lang.String
getFieldA()
abstract java.lang.String
getFieldB()
abstract java.math.BigDecimal
getFieldBigDecimal()
abstract java.lang.Boolean
getFieldBoolean()
abstract java.lang.Byte
getFieldByte()
abstract java.lang.Character
getFieldCharacter()
abstract java.util.Date
getFieldDate()
abstract java.lang.Double
getFieldDouble()
abstract java.lang.Float
getFieldFloat()
abstract java.lang.Integer
getFieldInteger()
abstract java.lang.Long
getFieldLong()
abstract java.lang.String
getFieldLongString()
abstract boolean
getFieldPrimitiveBoolean()
abstract byte
getFieldPrimitiveByte()
abstract char
getFieldPrimitiveChar()
abstract double
getFieldPrimitiveDouble()
abstract float
getFieldPrimitiveFloat()
abstract int
getFieldPrimitiveInteger()
abstract long
getFieldPrimitiveLong()
abstract short
getFieldPrimitiveShort()
abstract java.io.Serializable
getFieldSerializable()
abstract java.lang.String
getFieldString()
java.lang.Float
getFloat()
java.lang.Integer
getInteger()
java.lang.Long
getLong()
java.lang.String
getLongString()
boolean
getPrimitiveBoolean()
byte
getPrimitiveByte()
char
getPrimitiveChar()
double
getPrimitiveDouble()
float
getPrimitiveFloat()
int
getPrimitiveInteger()
long
getPrimitiveLong()
short
getPrimitiveShort()
java.io.Serializable
getSerializable()
java.lang.String
getString()
protected void
info(java.lang.String action)
protected void
info(java.lang.String action, java.lang.String text)
protected void
markEntityAsModified()
void
setA(java.lang.String a)
void
setB(java.lang.String b)
void
setBigDecimal(java.math.BigDecimal d)
void
setBoolean(java.lang.Boolean b)
void
setByte(java.lang.Byte b)
void
setCharacter(java.lang.Character b)
void
setDate(java.util.Date b)
void
setDouble(java.lang.Double b)
abstract void
setFieldA(java.lang.String field)
abstract void
setFieldB(java.lang.String field)
abstract void
setFieldBigDecimal(java.math.BigDecimal field)
abstract void
setFieldBoolean(java.lang.Boolean field)
abstract void
setFieldByte(java.lang.Byte field)
abstract void
setFieldCharacter(java.lang.Character field)
abstract void
setFieldDate(java.util.Date field)
abstract void
setFieldDouble(java.lang.Double field)
abstract void
setFieldFloat(java.lang.Float field)
abstract void
setFieldInteger(java.lang.Integer field)
abstract void
setFieldLong(java.lang.Long field)
abstract void
setFieldLongString(java.lang.String field)
abstract void
setFieldPrimitiveBoolean(boolean field)
abstract void
setFieldPrimitiveByte(byte field)
abstract void
setFieldPrimitiveChar(char field)
abstract void
setFieldPrimitiveDouble(double field)
abstract void
setFieldPrimitiveFloat(float field)
abstract void
setFieldPrimitiveInteger(int field)
abstract void
setFieldPrimitiveLong(long field)
abstract void
setFieldPrimitiveShort(short field)
abstract void
setFieldSerializable(java.io.Serializable field)
abstract void
setFieldString(java.lang.String field)
void
setFloat(java.lang.Float b)
void
setInteger(java.lang.Integer b)
void
setLong(java.lang.Long b)
void
setLongString(java.lang.String b)
void
setPrimitiveBoolean(boolean b)
void
setPrimitiveByte(byte b)
void
setPrimitiveChar(char b)
void
setPrimitiveDouble(double b)
void
setPrimitiveFloat(float b)
void
setPrimitiveInteger(int b)
void
setPrimitiveLong(long b)
void
setPrimitiveShort(short b)
void
setSerializable(java.io.Serializable b)
void
setString(java.lang.String b)
void
testDeclaredException()
void
testUndeclaredException()
protected int
typeCode()
-
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
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, 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.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.test.TestItemHome
create, findByFieldA, finderTest
-
-
-
-
Method Detail
-
getFieldA
public abstract java.lang.String getFieldA()
-
setFieldA
public abstract void setFieldA(java.lang.String field)
-
getFieldB
public abstract java.lang.String getFieldB()
-
setFieldB
public abstract void setFieldB(java.lang.String field)
-
getFieldInteger
public abstract java.lang.Integer getFieldInteger()
-
setFieldInteger
public abstract void setFieldInteger(java.lang.Integer field)
-
getFieldFloat
public abstract java.lang.Float getFieldFloat()
-
setFieldFloat
public abstract void setFieldFloat(java.lang.Float field)
-
getFieldDouble
public abstract java.lang.Double getFieldDouble()
-
setFieldDouble
public abstract void setFieldDouble(java.lang.Double field)
-
getFieldLong
public abstract java.lang.Long getFieldLong()
-
setFieldLong
public abstract void setFieldLong(java.lang.Long field)
-
getFieldCharacter
public abstract java.lang.Character getFieldCharacter()
-
setFieldCharacter
public abstract void setFieldCharacter(java.lang.Character field)
-
getFieldByte
public abstract java.lang.Byte getFieldByte()
-
setFieldByte
public abstract void setFieldByte(java.lang.Byte field)
-
getFieldSerializable
public abstract java.io.Serializable getFieldSerializable()
-
setFieldSerializable
public abstract void setFieldSerializable(java.io.Serializable field)
-
getFieldString
public abstract java.lang.String getFieldString()
-
setFieldString
public abstract void setFieldString(java.lang.String field)
-
getFieldLongString
public abstract java.lang.String getFieldLongString()
-
setFieldLongString
public abstract void setFieldLongString(java.lang.String field)
-
getFieldBoolean
public abstract java.lang.Boolean getFieldBoolean()
-
setFieldBoolean
public abstract void setFieldBoolean(java.lang.Boolean field)
-
getFieldDate
public abstract java.util.Date getFieldDate()
-
setFieldDate
public abstract void setFieldDate(java.util.Date field)
-
getFieldBigDecimal
public abstract java.math.BigDecimal getFieldBigDecimal()
-
setFieldBigDecimal
public abstract void setFieldBigDecimal(java.math.BigDecimal field)
-
getFieldPrimitiveInteger
public abstract int getFieldPrimitiveInteger()
-
setFieldPrimitiveInteger
public abstract void setFieldPrimitiveInteger(int field)
-
getFieldPrimitiveFloat
public abstract float getFieldPrimitiveFloat()
-
setFieldPrimitiveFloat
public abstract void setFieldPrimitiveFloat(float field)
-
getFieldPrimitiveDouble
public abstract double getFieldPrimitiveDouble()
-
setFieldPrimitiveDouble
public abstract void setFieldPrimitiveDouble(double field)
-
getFieldPrimitiveLong
public abstract long getFieldPrimitiveLong()
-
setFieldPrimitiveLong
public abstract void setFieldPrimitiveLong(long field)
-
getFieldPrimitiveByte
public abstract byte getFieldPrimitiveByte()
-
setFieldPrimitiveByte
public abstract void setFieldPrimitiveByte(byte field)
-
getFieldPrimitiveShort
public abstract short getFieldPrimitiveShort()
-
setFieldPrimitiveShort
public abstract void setFieldPrimitiveShort(short field)
-
getFieldPrimitiveChar
public abstract char getFieldPrimitiveChar()
-
setFieldPrimitiveChar
public abstract void setFieldPrimitiveChar(char field)
-
getFieldPrimitiveBoolean
public abstract boolean getFieldPrimitiveBoolean()
-
setFieldPrimitiveBoolean
public abstract void setFieldPrimitiveBoolean(boolean field)
-
typeCode
protected int typeCode()
-
info
protected void info(java.lang.String action)
-
info
protected void info(java.lang.String action, java.lang.String text)
-
ejbCreate
public PK ejbCreate()
-
ejbPostCreate
public void ejbPostCreate()
-
getA
public java.lang.String getA()
- Specified by:
getA
in interfaceTestItemRemote
-
setA
public void setA(java.lang.String a)
- Specified by:
setA
in interfaceTestItemRemote
-
getB
public java.lang.String getB()
- Specified by:
getB
in interfaceTestItemRemote
-
setB
public void setB(java.lang.String b)
- Specified by:
setB
in interfaceTestItemRemote
-
setCharacter
public void setCharacter(java.lang.Character b)
- Specified by:
setCharacter
in interfaceTestItemRemote
-
getCharacter
public java.lang.Character getCharacter()
- Specified by:
getCharacter
in interfaceTestItemRemote
-
setFloat
public void setFloat(java.lang.Float b)
- Specified by:
setFloat
in interfaceTestItemRemote
-
getFloat
public java.lang.Float getFloat()
- Specified by:
getFloat
in interfaceTestItemRemote
-
setInteger
public void setInteger(java.lang.Integer b)
- Specified by:
setInteger
in interfaceTestItemRemote
-
getInteger
public java.lang.Integer getInteger()
- Specified by:
getInteger
in interfaceTestItemRemote
-
setSerializable
public void setSerializable(java.io.Serializable b)
- Specified by:
setSerializable
in interfaceTestItemRemote
-
getSerializable
public java.io.Serializable getSerializable()
- Specified by:
getSerializable
in interfaceTestItemRemote
-
setDouble
public void setDouble(java.lang.Double b)
- Specified by:
setDouble
in interfaceTestItemRemote
-
getDouble
public java.lang.Double getDouble()
- Specified by:
getDouble
in interfaceTestItemRemote
-
setLong
public void setLong(java.lang.Long b)
- Specified by:
setLong
in interfaceTestItemRemote
-
getLong
public java.lang.Long getLong()
- Specified by:
getLong
in interfaceTestItemRemote
-
setByte
public void setByte(java.lang.Byte b)
- Specified by:
setByte
in interfaceTestItemRemote
-
getByte
public java.lang.Byte getByte()
- Specified by:
getByte
in interfaceTestItemRemote
-
setBoolean
public void setBoolean(java.lang.Boolean b)
- Specified by:
setBoolean
in interfaceTestItemRemote
-
getBoolean
public java.lang.Boolean getBoolean()
- Specified by:
getBoolean
in interfaceTestItemRemote
-
setString
public void setString(java.lang.String b)
- Specified by:
setString
in interfaceTestItemRemote
-
getString
public java.lang.String getString()
- Specified by:
getString
in interfaceTestItemRemote
-
setLongString
public void setLongString(java.lang.String b)
- Specified by:
setLongString
in interfaceTestItemRemote
-
getLongString
public java.lang.String getLongString()
- Specified by:
getLongString
in interfaceTestItemRemote
-
setDate
public void setDate(java.util.Date b)
- Specified by:
setDate
in interfaceTestItemRemote
-
getDate
public java.util.Date getDate()
- Specified by:
getDate
in interfaceTestItemRemote
-
setBigDecimal
public void setBigDecimal(java.math.BigDecimal d)
- Specified by:
setBigDecimal
in interfaceTestItemRemote
-
getBigDecimal
public java.math.BigDecimal getBigDecimal()
- Specified by:
getBigDecimal
in interfaceTestItemRemote
-
setPrimitiveBoolean
public void setPrimitiveBoolean(boolean b)
- Specified by:
setPrimitiveBoolean
in interfaceTestItemRemote
-
getPrimitiveBoolean
public boolean getPrimitiveBoolean()
- Specified by:
getPrimitiveBoolean
in interfaceTestItemRemote
-
setPrimitiveFloat
public void setPrimitiveFloat(float b)
- Specified by:
setPrimitiveFloat
in interfaceTestItemRemote
-
getPrimitiveFloat
public float getPrimitiveFloat()
- Specified by:
getPrimitiveFloat
in interfaceTestItemRemote
-
setPrimitiveInteger
public void setPrimitiveInteger(int b)
- Specified by:
setPrimitiveInteger
in interfaceTestItemRemote
-
getPrimitiveInteger
public int getPrimitiveInteger()
- Specified by:
getPrimitiveInteger
in interfaceTestItemRemote
-
setPrimitiveDouble
public void setPrimitiveDouble(double b)
- Specified by:
setPrimitiveDouble
in interfaceTestItemRemote
-
getPrimitiveDouble
public double getPrimitiveDouble()
- Specified by:
getPrimitiveDouble
in interfaceTestItemRemote
-
setPrimitiveLong
public void setPrimitiveLong(long b)
- Specified by:
setPrimitiveLong
in interfaceTestItemRemote
-
getPrimitiveLong
public long getPrimitiveLong()
- Specified by:
getPrimitiveLong
in interfaceTestItemRemote
-
setPrimitiveByte
public void setPrimitiveByte(byte b)
- Specified by:
setPrimitiveByte
in interfaceTestItemRemote
-
getPrimitiveByte
public byte getPrimitiveByte()
- Specified by:
getPrimitiveByte
in interfaceTestItemRemote
-
setPrimitiveChar
public void setPrimitiveChar(char b)
- Specified by:
setPrimitiveChar
in interfaceTestItemRemote
-
getPrimitiveChar
public char getPrimitiveChar()
- Specified by:
getPrimitiveChar
in interfaceTestItemRemote
-
setPrimitiveShort
public void setPrimitiveShort(short b)
- Specified by:
setPrimitiveShort
in interfaceTestItemRemote
-
getPrimitiveShort
public short getPrimitiveShort()
- Specified by:
getPrimitiveShort
in interfaceTestItemRemote
-
clearEntityCaches
public void clearEntityCaches()
- Overrides:
clearEntityCaches
in classExtensibleItemEJB
-
markEntityAsModified
protected void markEntityAsModified()
-
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
-
testDeclaredException
public void testDeclaredException() throws ConsistencyCheckException
- Specified by:
testDeclaredException
in interfaceTestItemRemote
- Throws:
ConsistencyCheckException
-
testUndeclaredException
public void testUndeclaredException()
- Specified by:
testUndeclaredException
in interfaceTestItemRemote
-
-