|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObjMetadataDAO
Defines the interfaces for all methods needed to insert, modify and deleting object's metadata.
Method Summary | |
---|---|
void |
eraseObjMetadata(ObjMetadata aObjMetadata)
Implements the query to erase an object's metadata. |
boolean |
hasBIObjAssociated(java.lang.String id)
Tells if a objMetadata is associated to any BI Objects. |
boolean |
hasSubObjAssociated(java.lang.String id)
Tells if a objMetadata is associated to any BI SubObjects. |
void |
insertObjMetadata(ObjMetadata aObjMetadata)
Implements the query to insert an object's metadata. |
java.util.List |
loadAllObjMetadata()
Loads all detail information for all object's metadata. |
ObjMetadata |
loadObjMetaDataByID(java.lang.Integer id)
Loads all detail information for a metadata identified by its id . |
ObjMetadata |
loadObjMetadataByLabel(java.lang.String label)
Loads all detail information for object's metadata whose label is equal to label . |
java.util.List |
loadObjMetaDataListByType(java.lang.String type)
Loads all detail information for a metadata identified by its type . |
void |
modifyObjMetadata(ObjMetadata aObjMetadata)
Implements the query to modify an object's metadata. |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setTenant, setUserID, setUserProfile |
Method Detail |
---|
java.util.List loadObjMetaDataListByType(java.lang.String type) throws it.eng.spago.error.EMFUserError
type
.
All these informations, achived by a query to the DB, are stored
into a metadata
object, which is returned.
type
- The type of metadata to load (LONG_TEXT or SHORT_TEXT)
objMetadata
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredObjMetadata loadObjMetaDataByID(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 occurredObjMetadata loadObjMetadataByLabel(java.lang.String label) throws it.eng.spago.error.EMFUserError
label
.
label
- The label for the metadata to load
ObjMetada
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllObjMetadata() 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 modifyObjMetadata(ObjMetadata aObjMetadata) throws it.eng.spago.error.EMFUserError
ObjMetadata
object.
aObjMetadata
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertObjMetadata(ObjMetadata aObjMetadata) throws it.eng.spago.error.EMFUserError
ObjMetadata
object.
aObjMetadata
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseObjMetadata(ObjMetadata aObjMetadata) throws it.eng.spago.error.EMFUserError
ObjMetadata
object.
aObjMetadata
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurredboolean hasBIObjAssociated(java.lang.String id) throws it.eng.spago.error.EMFUserError
id
- The objMetadata identifier
it.eng.spago.error.EMFUserError
- If any exception occurredboolean hasSubObjAssociated(java.lang.String id) throws it.eng.spago.error.EMFUserError
id
- The objMetadata identifier
it.eng.spago.error.EMFUserError
- If any exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |