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
-
public class MetadataService extends CayenneService
Provides a meta data service.- See Also:
MetadataListValue
-
-
Constructor Summary
Constructors Constructor Description MetadataService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MetadataListValue>
loadListValuesFromStream(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
-
-
-
-
Method Detail
-
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
-
-