|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObjMetacontentDAO
Defines the interfaces for all methods needed to insert, modify and deleting object's metadata.
Method Summary | |
---|---|
void |
eraseObjMetadata(ObjMetacontent aObjMetacontent)
Implements the query to erase an object's metadata content. |
void |
insertObjMetacontent(ObjMetacontent aObjMetacontent)
Implements the query to insert an object's metadata content. |
java.util.List |
loadAllObjMetacontent()
Loads all detail information for all object's metadata. |
ObjMetacontent |
loadObjMetacontent(java.lang.Integer objMetaId,
java.lang.Integer biObjId,
java.lang.Integer subObjId)
Loads all detail information for object's metadata content whose objMetaId is equal to objMetaId
and biobj_id is equal to biObjId . |
ObjMetacontent |
loadObjMetaContentByID(java.lang.Integer id)
Loads all detail information for a metadata content identified by its id . |
java.util.List |
loadObjMetacontentByObjMetaId(java.lang.Integer objMetaId)
Loads all detail information for object's metadata content whose objMetaId is equal to objMetaId . |
java.util.List |
loadObjOrSubObjMetacontents(java.lang.Integer biObjId,
java.lang.Integer subObjId)
Loads all metacontent for one object or for one subobject, if biObjId is not null load all metacontents for object, if subObjId is not null load all metacontents for subobject |
void |
modifyObjMetacontent(ObjMetacontent aObjMetacontent)
Implements the query to modify an object's metadata content. |
Method Detail |
---|
ObjMetacontent loadObjMetaContentByID(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
.
All these information, achived by a query to the DB, are stored
into a metadata
object, which is returned.
id
- The id for the metadata to load
objMetadata
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadObjMetacontentByObjMetaId(java.lang.Integer objMetaId) throws it.eng.spago.error.EMFUserError
objMetaId
.
objMetaId
- The objMetaId for the metadata to load
it.eng.spago.error.EMFUserError
- If an Exception occurredObjMetacontent loadObjMetacontent(java.lang.Integer objMetaId, java.lang.Integer biObjId, java.lang.Integer subObjId) throws it.eng.spago.error.EMFUserError
objMetaId
and biobj_id is equal to biObjId
.
objMetaId
- The objMetaId for the metadata to loadbiObjId
- The biObjId for the object to loadsubObjId
- The subObjId for the subObject to load
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadObjOrSubObjMetacontents(java.lang.Integer biObjId, java.lang.Integer subObjId) throws it.eng.spago.error.EMFUserError
biObjId
- The biObjId for the object to loadsubObjId
- The subObjId for the subObject to load
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllObjMetacontent() throws it.eng.spago.error.EMFUserError
ObjMetadata
object. After that, all metadata
are stored into a List
, which is returned.
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyObjMetacontent(ObjMetacontent aObjMetacontent) throws it.eng.spago.error.EMFUserError
ObjMetacontent
object.
aObjMetacontent
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertObjMetacontent(ObjMetacontent aObjMetacontent) throws it.eng.spago.error.EMFUserError
ObjMetacontent
object.
aObjMetacontent
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseObjMetadata(ObjMetacontent aObjMetacontent) throws it.eng.spago.error.EMFUserError
ObjMetacontent
object.
aObjMetacontent
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |