|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommonService
| Method Summary | ||
|---|---|---|
|
findMatching(T objectToMatch,
IMatchStrategy matchStrategy)
Returns all objects that match the object to match according to the given match strategy. |
|
Map<CdmMetaData.MetaDataPropertyName,CdmMetaData> |
getCdmMetaData()
Returns all meta data. |
|
List |
getHqlResult(String hqlQuery)
|
|
Set<CdmBase> |
getReferencingObjects(CdmBase referencedCdmBase)
Returns all CdmBase objects that reference the referencedCdmBase. |
|
ISourceable |
getSourcedObjectByIdInSource(Class clazz,
String idInSource,
String idNamespace)
Returns a list of identifiable entities according to their class, idInSource and idNamespace |
|
Map<String,? extends ISourceable> |
getSourcedObjectsByIdInSource(Class clazz,
Set<String> idInSourceSet,
String idNamespace)
Returns a map of identifiable entities of class clazz which have an original source of
with namespace idNamespace and with an idInSource in idInSourceSet The key of the map is the idInSource. |
|
|
merge(T mergeFirst,
T mergeSecond,
IMergeStrategy mergeStrategy)
Merges mergeSecond into mergeFirst. |
|
void |
saveAllMetaData(Collection<CdmMetaData> metaData)
Saves all meta data |
|
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IService |
|---|
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update |
| Method Detail |
|---|
void saveAllMetaData(Collection<CdmMetaData> metaData)
metaData - Map<CdmMetaData.MetaDataPropertyName,CdmMetaData> getCdmMetaData()
Map<String,? extends ISourceable> getSourcedObjectsByIdInSource(Class clazz,
Set<String> idInSourceSet,
String idNamespace)
clazz which have an original source of
with namespace idNamespace and with an idInSource in idInSourceSet
clazz - idInSourceSet - idNamespace -
ISourceable getSourcedObjectByIdInSource(Class clazz,
String idInSource,
String idNamespace)
clazz - idInSource - idNamespace -
Set<CdmBase> getReferencingObjects(CdmBase referencedCdmBase)
referencedCdmBase -
<T extends IMergable> void merge(T mergeFirst,
T mergeSecond,
IMergeStrategy mergeStrategy)
throws MergeException
T - mergeFirst - mergeSecond - mergeStrategy -
MergeException
<T extends IMatchable> List<T> findMatching(T objectToMatch,
IMatchStrategy matchStrategy)
throws MatchException
T - objectToMatch - matchStrategy -
MatchExceptionList getHqlResult(String hqlQuery)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||