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
Modifier and TypeMethodDescriptionejbFindByPrimaryKey(PK pkValue) voidejbLoad()voidvoidejbStore()booleanvoidvoidsetNeedsStoring(boolean needs)
-
Method Details
-
setEntityContext
-
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
- Throws:
YObjectNotFoundException
-