Package com.avoka.fc.core.service
Class MetadataService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.CayenneService
com.avoka.fc.core.service.MetadataService
Provides a meta data service.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadListValuesFromStream
(InputStream stream, MetadataTag tag, boolean isHierarchyList) Load metadata from a input stream and return a list of metadata values.Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
MetadataService
public MetadataService()
-
-
Method Details
-
loadListValuesFromStream
public List<MetadataListValue> loadListValuesFromStream(InputStream stream, MetadataTag tag, boolean isHierarchyList) Load metadata from a input stream and return a list of metadata values. Note that this method contains database transactions.- Parameters:
stream
- input streamtag
- the metadata tag to getisHierarchyList
- whether the list is a hierarchy list- Returns:
- a list of metadata values
-