Package systems.dennis.auth.service
Class ProfilePageService
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<UserData,,Long> systems.dennis.shared.service.DeleteObject<UserData,Long>
@Service
public class ProfilePageService
extends systems.dennis.shared.postgres.service.PaginationService<UserData>
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcheckVerifiedUser(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope) findByEmail(String email) findByLogin(String login) myRoles(systems.dennis.shared.scopes.model.ScopeModel scope) Methods inherited from class systems.dennis.shared.postgres.service.PaginationService
updateId, updateIdsMethods inherited from class systems.dennis.shared.service.AbstractPaginationService
afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, 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, count, count, createFromRequest, delete, download, exists, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getAdditionalSpecification, getByIdAndUserDataId, getContext, getFieldOrder, getFilterImpl, getForm, getInterNalResource, getItemFavoriteType, getModel, getSearchRequestAbstractDataFilter, getSelfCreatedItems, getSelfCreatedItems, getSelfCreatedItemsQuery, getSelfCreatedItemsQuery, isEmpty, isEmpty, isIdSet, isObjectDeleted, isPublicSearchEnabled, modifyQuery, preDelete, prepareAbstractDataFilter, preSearch, saveVersionIfRequired, search, searchMethods inherited from interface systems.dennis.shared.service.DeleteObject
delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
-
Constructor Details
-
Method Details
-
preAdd
public UserData preAdd(UserData object) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException - Throws:
systems.dennis.shared.exceptions.ItemForAddContainsIdException
-
preEdit
public UserData preEdit(UserData object, UserData original) throws systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptException, systems.dennis.shared.exceptions.ItemNotFoundException - Throws:
systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptExceptionsystems.dennis.shared.exceptions.ItemNotFoundException
-
findByLogin
-
findByEmail
-
getRepository
-
savePhoto
-
getCurrentUserImage
-
checkMy
-