Class FavoriteItemService
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.AbstractPaginationService<DB_TYPE,String>
systems.dennis.shared.mongo.service.PaginationService<FavoriteItemModel>
systems.dennis.shared.favorite.service.FavoriteItemService
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<FavoriteItemModel,,String> systems.dennis.shared.service.DeleteObject<FavoriteItemModel,String>
@Service
public class FavoriteItemService
extends systems.dennis.shared.mongo.service.PaginationService<FavoriteItemModel>
-
Field Summary
FieldsFields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindBySearchName(String name) booleanbooleanisFavoriteForObject(systems.dennis.shared.mongo.service.StringIdEntity entity) booleanpreAdd(FavoriteItemModel object) Methods inherited from class systems.dennis.shared.mongo.service.PaginationService
getFilterImplMethods inherited from class systems.dennis.shared.service.AbstractPaginationService
afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getRepository, getUtils, isIdSet, preFetchOriginal, saveMethods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface systems.dennis.shared.service.AbstractService
afterAdd, afterDelete, checkMy, count, count, createFromRequest, delete, download, exists, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getAdditionalSpecification, getByIdAndUserDataId, getContext, getFieldOrder, getForm, getInterNalResource, getItemFavoriteType, getModel, getSearchRequestAbstractDataFilter, getSelfCreatedItems, getSelfCreatedItems, getSelfCreatedItemsQuery, getSelfCreatedItemsQuery, isEmpty, isEmpty, isIdSet, isObjectDeleted, isPublicSearchEnabled, modifyQuery, preDelete, preEdit, prepareAbstractDataFilter, preSearch, saveVersionIfRequired, search, search, updateId, updateIdsMethods inherited from interface systems.dennis.shared.service.DeleteObject
delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
-
Field Details
-
GLOBAL_SETTINGS_FAVORITE_ENABLED
- See Also:
-
GLOBAL_SETTINGS_FAVORITE_LIMIT
- See Also:
-
-
Constructor Details
-
Method Details
-
findBySearchName
-
getIsFavoriteEnabled