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 EntityInstance
this is the "remote" interface for our persistence system
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PK
ejbFindByPrimaryKey(PK pkValue)
void
ejbLoad()
void
ejbRemove()
void
ejbStore()
EntityInstanceContext
getEntityContext()
boolean
needsStoring()
void
setEntityContext(EntityInstanceContext ctx)
void
setNeedsStoring(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
-
-