Interface EntityInstance
-
- All Known Implementing Classes:
AtomicType_HJMPWrapper,AtomicTypeEJB,AttributeDescriptor_HJMPWrapper,AttributeDescriptorEJB,CollectionType_HJMPWrapper,CollectionTypeEJB,ComposedType_HJMPWrapper,ComposedTypeEJB,EnumerationValue_HJMPWrapper,EnumerationValueEJB,ExtensibleItemEJB,GenericBMPBean,GenericItemEJB,GenericLinkBMPBean,HierarchieTypeEJB,ItemEJB,LinkEJB,LocalizableItemEJB,MapType_HJMPWrapper,MapTypeEJB,MetaInformation_HJMPWrapper,MetaInformationEJB,SearchRestriction_HJMPWrapper,SearchRestrictionEJB,TestItem_HJMPWrapper,TestItemEJB,TypeEJB,TypeManagerManagedEJB
public interface EntityInstancethis is the "remote" interface for our persistence system
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PKejbFindByPrimaryKey(PK pkValue)voidejbLoad()voidejbRemove()voidejbStore()EntityInstanceContextgetEntityContext()booleanneedsStoring()voidsetEntityContext(EntityInstanceContext ctx)voidsetNeedsStoring(boolean needs)
-
-
-
Method Detail
-
setEntityContext
void setEntityContext(EntityInstanceContext ctx)
-
getEntityContext
EntityInstanceContext getEntityContext()
-
ejbLoad
void ejbLoad()
- Throws:
YNoSuchEntityException- is there is no item for the given pk
-
ejbRemove
void ejbRemove()
-
ejbStore
void ejbStore()
-
setNeedsStoring
void setNeedsStoring(boolean needs)
-
needsStoring
boolean needsStoring()
-
ejbFindByPrimaryKey
PK ejbFindByPrimaryKey(PK pkValue) throws YObjectNotFoundException
- Throws:
YObjectNotFoundException
-
-