public class DefaultCockpitObjectAbstractCollectionDao extends DefaultGenericDao<CockpitObjectAbstractCollectionModel> implements CockpitObjectAbstractCollectionDao
CockpitObjectAbstractCollectionDao| Constructor and Description |
|---|
DefaultCockpitObjectAbstractCollectionDao() |
DefaultCockpitObjectAbstractCollectionDao(java.lang.String typeCode) |
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic DefaultCockpitObjectAbstractCollectionDao()
public DefaultCockpitObjectAbstractCollectionDao(java.lang.String typeCode)
public java.util.List<ObjectCollectionItemReferenceModel> findElements(CockpitObjectAbstractCollectionModel collection, int start, int count)
CockpitObjectAbstractCollectionDaofindElements in interface CockpitObjectAbstractCollectionDaocollection - the object collection to search elements ofstart - starting index of the searchcount - max. count of elements to be foundpublic int getElementCount(CockpitObjectAbstractCollectionModel collection)
CockpitObjectAbstractCollectionDaogetElementCount in interface CockpitObjectAbstractCollectionDao@Deprecated public java.util.List<ObjectCollectionItemReferenceModel> getElementsContainingItem(CockpitObjectAbstractCollectionModel collection, ItemModel item)
CockpitObjectAbstractCollectionDaogetElementsContainingItem in interface CockpitObjectAbstractCollectionDaocollection - the collection to search initem - the item to search forpublic java.util.List<ObjectCollectionItemReferenceModel> findElementsContainingItem(CockpitObjectAbstractCollectionModel collection, ItemModel item)
CockpitObjectAbstractCollectionDaofindElementsContainingItem in interface CockpitObjectAbstractCollectionDaocollection - the collection to search initem - the item to search forpublic boolean collectionContains(CockpitObjectAbstractCollectionModel collection, ItemModel item)
CockpitObjectAbstractCollectionDaocollectionContains in interface CockpitObjectAbstractCollectionDaocollection - the collection to search initem - the item to search forprotected SearchResult<ObjectCollectionItemReferenceModel> findElementsInternal(CockpitObjectAbstractCollectionModel collection, int start, int count, boolean needTotal)
public SearchResult<ObjectCollectionItemReferenceModel> getElementsContainingItemInternal(CockpitObjectAbstractCollectionModel collection, ItemModel item, int count)
@Deprecated public java.util.List<CockpitObjectCollectionModel> getCollectionsByUser(UserModel user)
CockpitObjectAbstractCollectionDaogetCollectionsByUser in interface CockpitObjectAbstractCollectionDaouser - the user we look collectionspublic java.util.List<CockpitObjectCollectionModel> findCollectionsByUser(UserModel user)
CockpitObjectAbstractCollectionDaofindCollectionsByUser in interface CockpitObjectAbstractCollectionDaouser - the user we look collections@Deprecated public java.util.List<CockpitObjectCollectionModel> getReadableCollectionsForUser(UserModel userModel)
CockpitObjectAbstractCollectionDaogetReadableCollectionsForUser in interface CockpitObjectAbstractCollectionDaouserModel - the user modelpublic java.util.List<CockpitObjectCollectionModel> findReadableCollectionsByUser(UserModel userModel)
CockpitObjectAbstractCollectionDaofindReadableCollectionsByUser in interface CockpitObjectAbstractCollectionDaouserModel - the user model@Deprecated public java.util.List<CockpitObjectCollectionModel> getWritableCollectionsForUser(UserModel userModel)
CockpitObjectAbstractCollectionDaogetWritableCollectionsForUser in interface CockpitObjectAbstractCollectionDaouserModel - the user modelpublic java.util.List<CockpitObjectCollectionModel> findWritableCollectionsByUser(UserModel userModel)
CockpitObjectAbstractCollectionDaofindWritableCollectionsByUser in interface CockpitObjectAbstractCollectionDaouserModel - the user model@Deprecated public java.util.List<CockpitObjectSpecialCollectionModel> getSpecialCollectionsByUser(UserModel user)
CockpitObjectAbstractCollectionDaogetSpecialCollectionsByUser in interface CockpitObjectAbstractCollectionDaouser - the user we look collectionspublic java.util.List<CockpitObjectSpecialCollectionModel> findSpecialCollectionsByUser(UserModel user)
CockpitObjectAbstractCollectionDaofindSpecialCollectionsByUser in interface CockpitObjectAbstractCollectionDaouser - the user we look collections@Deprecated public java.util.List<CockpitObjectSpecialCollectionModel> getSpecialCollections(UserModel user, CockpitSpecialCollectionType collectionType)
CockpitObjectAbstractCollectionDaogetSpecialCollections in interface CockpitObjectAbstractCollectionDaouser - the user we look collectionscollectionType - the collection type we look forpublic java.util.List<CockpitObjectSpecialCollectionModel> findSpecialCollections(UserModel user, CockpitSpecialCollectionType collectionType)
CockpitObjectAbstractCollectionDaofindSpecialCollections in interface CockpitObjectAbstractCollectionDaouser - the user we look collectionscollectionType - the collection type we look for@Deprecated public java.util.List<CockpitObjectAbstractCollectionModel> getGlobalCollections()
CockpitObjectAbstractCollectionDaogetGlobalCollections in interface CockpitObjectAbstractCollectionDaopublic java.util.List<CockpitObjectAbstractCollectionModel> findGlobalCollections()
CockpitObjectAbstractCollectionDaofindGlobalCollections in interface CockpitObjectAbstractCollectionDaoCopyright © 2018 SAP SE. All Rights Reserved.