@Service @Transactional(readOnly=false) public class WorkingSetService extends AnnotatableServiceBase<WorkingSet,IWorkingSetDao> implements IWorkingSetService
commonService
appContext, dao
Constructor and Description |
---|
WorkingSetService() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<DescriptionBase,java.util.Set<DescriptionElementBase>> |
getDescriptionElements(WorkingSet workingSet,
java.util.Set<Feature> features,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Returns a Map of descriptions each with the descriptionelements that match the supplied features (or all description elements if no features are supplied)
|
<T extends DescriptionElementBase> |
getTaxonFeatureDescriptionElementMap(java.lang.Class<T> clazz,
java.util.UUID workingSetUuid,
DescriptiveSystemRole role) |
java.util.List<UuidAndTitleCache<WorkingSet>> |
getWorkingSetUuidAndTitleCache(java.lang.Integer limitOfInitialElements,
java.lang.String pattern) |
protected void |
setDao(IWorkingSetDao dao) |
countMarkers, getAnnotations, getMarkers, groupMarkers
getNextAuditEvent, getPreviousAuditEvent, isDeletable, pageAuditEvents, pageAuditEvents
clear, count, delete, delete, delete, exists, find, find, find, findById, findWithoutFlush, getSession, group, list, list, load, load, load, load, loadByIds, loadWithUpdate, lock, merge, merge, merge, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, setApplicationContext, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countMarkers, getAnnotations, getMarkers, groupMarkers
getNextAuditEvent, getPreviousAuditEvent, isDeletable, pageAuditEvents, pageAuditEvents
clear, count, delete, delete, delete, exists, find, find, find, findById, findWithoutFlush, getSession, group, list, list, load, load, load, load, loadByIds, loadWithUpdate, lock, merge, merge, merge, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update
@Autowired protected void setDao(IWorkingSetDao dao)
setDao
in class ServiceBase<WorkingSet,IWorkingSetDao>
public java.util.Map<DescriptionBase,java.util.Set<DescriptionElementBase>> getDescriptionElements(WorkingSet workingSet, java.util.Set<Feature> features, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
IWorkingSetService
getDescriptionElements
in interface IWorkingSetService
workingSet
- the working set which the descriptions belong tofeatures
- restrict the returned description elements to those which have features in this setpageSize
- The maximum number of descriptions returned (can be null for all descriptions that belong to the working set)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based,
can be null, equivalent of starting at the beginning of the recordset). Descriptions are sorted by titleCachepropertyPaths
- properties to be initialized (applied to the descriptionElements)public <T extends DescriptionElementBase> java.util.Map<UuidAndTitleCache,java.util.Map<java.util.UUID,java.util.Set<T>>> getTaxonFeatureDescriptionElementMap(java.lang.Class<T> clazz, java.util.UUID workingSetUuid, DescriptiveSystemRole role)
getTaxonFeatureDescriptionElementMap
in interface IWorkingSetService
public java.util.List<UuidAndTitleCache<WorkingSet>> getWorkingSetUuidAndTitleCache(java.lang.Integer limitOfInitialElements, java.lang.String pattern)
getWorkingSetUuidAndTitleCache
in interface IWorkingSetService
Copyright © 2007-2018 EDIT. All Rights Reserved.