Package com.easydesk.om
Class EasyDeskUserImpl
java.lang.Object
com.easydesk.om.BaseEasyDeskUserImpl
com.easydesk.om.EasyDeskUserImpl
- All Implemented Interfaces:
Cacheable,Artifactizable,EasyDeskUser,Identifiable<Long>,SecurityEntity<Long>,User,HttpSessionBindingListener,Serializable,EventListener,ColumnAccessByName,ObjectModel,Persistent
public class EasyDeskUserImpl
extends BaseEasyDeskUserImpl
implements HttpSessionBindingListener, EasyDeskUser, Artifactizable, Cacheable
The skeleton for this class was autogenerated by Torque on:
[Thu Aug 06 20:45:01 KST 2026]
You should add additional methods to this class to meet the application
requirements. This class will only be generated as long as it does not
already exist in the output directory.
- Author:
- Youngho Cho
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.easydesk.security.entity.EasyDeskUser
EasyDeskUser.PropertyKey -
Field Summary
Fields inherited from class com.easydesk.om.BaseEasyDeskUserImpl
collActivitySets, collActivitysRelatedByNewUserId, collActivitysRelatedByOldUserId, collAttachmentsRelatedByCreatedBy, collAttachmentsRelatedByModifiedBy, collAttributeValues, collEasyDeskUserGroupRoles, collMITLists, collModuleUserAttributes, collNotificationFilters, collNotificationStatussRelatedByCreatorId, collNotificationStatussRelatedByReceiverId, collQuerys, collQueryUsers, collReports, collTransitionConditions, collUserAttributeOptions, collWorkflowGroups, collWorkflowsFields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERNFields inherited from interface com.easydesk.security.entity.EasyDeskUser
PASSWORD_PATTERN, UNIQUE_ID_MAX_LEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanChange(Item item, Transition transition, TransitionScopeEnum tScope, Attribute attribute, Map<Integer, AttributeValue> newAttVals) voidclear()ManagerCached annotation 이 붙은 method 이름.getActivityMonitors(ActivitySetType activitySetType) 사용자의 진행중인 ActivitySet(monitor) 목록을 구한다.getArtifact(Module module) 주어진 module 에서 이 사용자를 표현하는 User Item 을 구한다.itemable Object 의 itemTypeDOCUMENT ME!getName()LoginName 과 Name 분리, LoginName 은 외붑에 노출하지 않는다.getNotificationFilter(AttributeOption manager, ActivitySetType activitySetType, Module module) 사용자 AllModule Notificator, AllModule RoleName, Module Notificator, Module RoleName, User NotificationFilter 는 5 개를 구한다.Get an object from temporary storage.booleanhasAnyRoleIn(Group group) 주어진 Module 에 Guest/Anonymous 는 제외한 다른 역할을 가지고 있는지 확인한다.booleanThe user is considered logged in if they have not timed out.booleanhasPermission(Permission perm, Item item) 이 사용자의 주어진 Module 에 대한 주어진 Permission 이 있는지를 확인한다.booleanSystem Anonymous User or Not only check userIdbooleanDOCUMENT ME!booleanChecks if the users password has expired.removeTemp(String name) DOCUMENT ME!voidsave()사용자 정보를 저장한다.voidsetHasLoggedIn(Boolean value) This sets whether or not someone has logged in.voidDOCUMENT ME!voidSets the Name of the SecurityEntity.voidsetPasswordExpire(Calendar expire) Sets the password to expire on the specified date.voidPut an object into temporary storage.voidImplement this method if you wish to be notified when the User has been Bound to the session.voidImplement this method if you wish to be notified when the User has been Unbound from the session.Methods inherited from class com.easydesk.om.BaseEasyDeskUserImpl
addActivityRelatedByNewUserId, addActivityRelatedByNewUserId, addActivityRelatedByOldUserId, addActivityRelatedByOldUserId, addActivitySet, addActivitySet, addAttachmentRelatedByCreatedBy, addAttachmentRelatedByCreatedBy, addAttachmentRelatedByModifiedBy, addAttachmentRelatedByModifiedBy, addAttributeValue, addAttributeValue, addEasyDeskUserGroupRole, addEasyDeskUserGroupRole, addMITList, addMITList, addModuleUserAttribute, addModuleUserAttribute, addNotificationFilter, addNotificationFilter, addNotificationStatusRelatedByCreatorId, addNotificationStatusRelatedByCreatorId, addNotificationStatusRelatedByReceiverId, addNotificationStatusRelatedByReceiverId, addQuery, addQuery, addQueryUser, addQueryUser, addReport, addReport, addTransitionCondition, addTransitionCondition, addUserAttributeOption, addUserAttributeOption, addWorkflow, addWorkflow, addWorkflowGroup, addWorkflowGroup, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getActivityRelatedByNewUserIds, getActivityRelatedByNewUserIds, getActivityRelatedByNewUserIds, getActivityRelatedByNewUserIds, getActivityRelatedByNewUserIdsJoinActivitySet, getActivityRelatedByNewUserIdsJoinActivitySet, getActivityRelatedByNewUserIdsJoinAttachment, getActivityRelatedByNewUserIdsJoinAttachment, getActivityRelatedByNewUserIdsJoinAttribute, getActivityRelatedByNewUserIdsJoinAttribute, getActivityRelatedByNewUserIdsJoinAttributeOptionRelatedByNewOptionId, getActivityRelatedByNewUserIdsJoinAttributeOptionRelatedByNewOptionId, getActivityRelatedByNewUserIdsJoinAttributeOptionRelatedByOldOptionId, getActivityRelatedByNewUserIdsJoinAttributeOptionRelatedByOldOptionId, getActivityRelatedByNewUserIdsJoinDepend, getActivityRelatedByNewUserIdsJoinDepend, getActivityRelatedByNewUserIdsJoinEasyDeskUserImplRelatedByOldUserId, getActivityRelatedByNewUserIdsJoinEasyDeskUserImplRelatedByOldUserId, getActivityRelatedByNewUserIdsJoinItem, getActivityRelatedByNewUserIdsJoinItem, getActivityRelatedByOldUserIds, getActivityRelatedByOldUserIds, getActivityRelatedByOldUserIds, getActivityRelatedByOldUserIds, getActivityRelatedByOldUserIdsJoinActivitySet, getActivityRelatedByOldUserIdsJoinActivitySet, getActivityRelatedByOldUserIdsJoinAttachment, getActivityRelatedByOldUserIdsJoinAttachment, getActivityRelatedByOldUserIdsJoinAttribute, getActivityRelatedByOldUserIdsJoinAttribute, getActivityRelatedByOldUserIdsJoinAttributeOptionRelatedByNewOptionId, getActivityRelatedByOldUserIdsJoinAttributeOptionRelatedByNewOptionId, getActivityRelatedByOldUserIdsJoinAttributeOptionRelatedByOldOptionId, getActivityRelatedByOldUserIdsJoinAttributeOptionRelatedByOldOptionId, getActivityRelatedByOldUserIdsJoinDepend, getActivityRelatedByOldUserIdsJoinDepend, getActivityRelatedByOldUserIdsJoinEasyDeskUserImplRelatedByNewUserId, getActivityRelatedByOldUserIdsJoinEasyDeskUserImplRelatedByNewUserId, getActivityRelatedByOldUserIdsJoinItem, getActivityRelatedByOldUserIdsJoinItem, getActivitySets, getActivitySets, getActivitySets, getActivitySets, getActivitySetsJoinActivitySetType, getActivitySetsJoinActivitySetType, getActivitySetsJoinAttachment, getActivitySetsJoinAttachment, getAttachmentRelatedByCreatedBys, getAttachmentRelatedByCreatedBys, getAttachmentRelatedByCreatedBys, getAttachmentRelatedByCreatedBys, getAttachmentRelatedByCreatedBysJoinAttachmentType, getAttachmentRelatedByCreatedBysJoinAttachmentType, getAttachmentRelatedByCreatedBysJoinEasyDeskUserImplRelatedByModifiedBy, getAttachmentRelatedByCreatedBysJoinEasyDeskUserImplRelatedByModifiedBy, getAttachmentRelatedByCreatedBysJoinItem, getAttachmentRelatedByCreatedBysJoinItem, getAttachmentRelatedByModifiedBys, getAttachmentRelatedByModifiedBys, getAttachmentRelatedByModifiedBys, getAttachmentRelatedByModifiedBys, getAttachmentRelatedByModifiedBysJoinAttachmentType, getAttachmentRelatedByModifiedBysJoinAttachmentType, getAttachmentRelatedByModifiedBysJoinEasyDeskUserImplRelatedByCreatedBy, getAttachmentRelatedByModifiedBysJoinEasyDeskUserImplRelatedByCreatedBy, getAttachmentRelatedByModifiedBysJoinItem, getAttachmentRelatedByModifiedBysJoinItem, getAttributeValues, getAttributeValues, getAttributeValues, getAttributeValues, getAttributeValuesJoinAttribute, getAttributeValuesJoinAttribute, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinDepend, getAttributeValuesJoinDepend, getAttributeValuesJoinItem, getAttributeValuesJoinItem, getByName, getByPeerName, getByPosition, getConfirmed, getCreateDate, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRolesJoinEasyDeskGroupImpl, getEasyDeskUserGroupRolesJoinEasyDeskGroupImpl, getEasyDeskUserGroupRolesJoinEasyDeskRoleImpl, getEasyDeskUserGroupRolesJoinEasyDeskRoleImpl, getEmail, getFieldNames, getFirstName, getId, getLastLogin, getLastName, getLoginName, getMITLists, getMITLists, getMITLists, getMITLists, getModifiedDate, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributesJoinAttribute, getModuleUserAttributesJoinAttribute, getModuleUserAttributesJoinEasyDeskModule, getModuleUserAttributesJoinEasyDeskModule, getModuleUserAttributesJoinMITList, getModuleUserAttributesJoinMITList, getNickName, getNotificationFilters, getNotificationFilters, getNotificationFilters, getNotificationFilters, getNotificationFiltersJoinActivitySetType, getNotificationFiltersJoinActivitySetType, getNotificationFiltersJoinAttributeOption, getNotificationFiltersJoinAttributeOption, getNotificationFiltersJoinEasyDeskModule, getNotificationFiltersJoinEasyDeskModule, getNotificationStatusRelatedByCreatorIds, getNotificationStatusRelatedByCreatorIds, getNotificationStatusRelatedByCreatorIds, getNotificationStatusRelatedByCreatorIds, getNotificationStatusRelatedByCreatorIdsJoinActivity, getNotificationStatusRelatedByCreatorIdsJoinActivity, getNotificationStatusRelatedByCreatorIdsJoinEasyDeskUserImplRelatedByReceiverId, getNotificationStatusRelatedByCreatorIdsJoinEasyDeskUserImplRelatedByReceiverId, getNotificationStatusRelatedByReceiverIds, getNotificationStatusRelatedByReceiverIds, getNotificationStatusRelatedByReceiverIds, getNotificationStatusRelatedByReceiverIds, getNotificationStatusRelatedByReceiverIdsJoinActivity, getNotificationStatusRelatedByReceiverIdsJoinActivity, getNotificationStatusRelatedByReceiverIdsJoinEasyDeskUserImplRelatedByCreatorId, getNotificationStatusRelatedByReceiverIdsJoinEasyDeskUserImplRelatedByCreatorId, getObjectdata, getPassword, getPeer, getPrimaryKey, getQuerys, getQuerys, getQuerys, getQuerys, getQuerysJoinEasyDeskModule, getQuerysJoinEasyDeskModule, getQuerysJoinMITList, getQuerysJoinMITList, getQuerysJoinScope, getQuerysJoinScope, getQuerysJoinTimeScope, getQuerysJoinTimeScope, getQueryUsers, getQueryUsers, getQueryUsers, getQueryUsers, getQueryUsersJoinQuery, getQueryUsersJoinQuery, getQueryUsersJoinTimeScope, getQueryUsersJoinTimeScope, getReports, getReports, getReports, getReports, getReportsJoinEasyDeskModule, getReportsJoinEasyDeskModule, getReportsJoinMITList, getReportsJoinMITList, getReportsJoinScope, getReportsJoinScope, getSaltValue, getTableMap, getTransitionConditions, getTransitionConditions, getTransitionConditions, getTransitionConditions, getTransitionConditionsJoinAttribute, getTransitionConditionsJoinAttribute, getTransitionConditionsJoinEasyDeskModule, getTransitionConditionsJoinEasyDeskModule, getTransitionConditionsJoinItemType, getTransitionConditionsJoinItemType, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptionsJoinAttribute, getUserAttributeOptionsJoinAttribute, getUserAttributeOptionsJoinAttributeOption, getUserAttributeOptionsJoinAttributeOption, getUserAttributeOptionsJoinEasyDeskModule, getUserAttributeOptionsJoinEasyDeskModule, getWorkflowGroups, getWorkflowGroups, getWorkflowGroups, getWorkflowGroups, getWorkflowGroupsJoinActivitySetType, getWorkflowGroupsJoinActivitySetType, getWorkflowGroupsJoinEasyDeskModule, getWorkflowGroupsJoinEasyDeskModule, getWorkflows, getWorkflows, getWorkflows, getWorkflows, getWorkflowsJoinActivitySetType, getWorkflowsJoinActivitySetType, getWorkflowsJoinEasyDeskModule, getWorkflowsJoinEasyDeskModule, getWorkflowsJoinItemType, getWorkflowsJoinItemType, getWorkflowsJoinScope, getWorkflowsJoinScope, hashCode, initActivityRelatedByNewUserIds, initActivityRelatedByOldUserIds, initActivitySets, initAttachmentRelatedByCreatedBys, initAttachmentRelatedByModifiedBys, initAttributeValues, initEasyDeskUserGroupRoles, initMITLists, initModuleUserAttributes, initNotificationFilters, initNotificationStatusRelatedByCreatorIds, initNotificationStatusRelatedByReceiverIds, initQuerys, initQueryUsers, initReports, initTransitionConditions, initUserAttributeOptions, initWorkflowGroups, initWorkflows, isActivityRelatedByNewUserIdsInitialized, isActivityRelatedByOldUserIdsInitialized, isActivitySetsInitialized, isAttachmentRelatedByCreatedBysInitialized, isAttachmentRelatedByModifiedBysInitialized, isAttributeValuesInitialized, isCacheOnSave, isDeleted, isEasyDeskUserGroupRolesInitialized, isLoading, isMITListsInitialized, isModified, isModuleUserAttributesInitialized, isNew, isNotificationFiltersInitialized, isNotificationStatusRelatedByCreatorIdsInitialized, isNotificationStatusRelatedByReceiverIdsInitialized, isQuerysInitialized, isQueryUsersInitialized, isReportsInitialized, isSaving, isTransitionConditionsInitialized, isUserAttributeOptionsInitialized, isWorkflowGroupsInitialized, isWorkflowsInitialized, resetActivityRelatedByNewUserId, resetActivityRelatedByOldUserId, resetActivitySet, resetAttachmentRelatedByCreatedBy, resetAttachmentRelatedByModifiedBy, resetAttributeValue, resetEasyDeskUserGroupRole, resetMITList, resetModified, resetModuleUserAttribute, resetNotificationFilter, resetNotificationStatusRelatedByCreatorId, resetNotificationStatusRelatedByReceiverId, resetQuery, resetQueryUser, resetReport, resetTransitionCondition, resetUserAttributeOption, resetWorkflow, resetWorkflowGroup, save, save, setByName, setByPeerName, setByPosition, setConfirmed, setCreateDate, setDeleted, setEmail, setFirstName, setId, setLastLogin, setLastName, setLoading, setLoginName, setModified, setModifiedDate, setNew, setNickName, setObjectdata, setPassword, setPrimaryKey, setPrimaryKey, setSaltValue, setSaving, toString, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.om.Artifactizable
getArtifact, getArtifactKey, getArtifactModule, getPrimaryKey, getTableMapMethods inherited from interface com.easydesk.security.entity.EasyDeskUser
getCreateDate, getEmail, getFirstName, getLastLogin, getLastName, getNickName, getObjectdata, setConfirmed, setCreateDate, setEmail, setFirstName, setLastLogin, setLastName, setNickName, setObjectdataMethods inherited from interface com.easydesk.security.entity.Identifiable
getId, setIdMethods inherited from interface com.easydesk.security.entity.User
getLoginName, getPassword, setLoginName, setPassword
-
Constructor Details
-
EasyDeskUserImpl
public EasyDeskUserImpl()Creates a new EasyDeskUser object.
-
-
Method Details
-
valueBound
Implement this method if you wish to be notified when the User has been Bound to the session.- Specified by:
valueBoundin interfaceHttpSessionBindingListener- Parameters:
hsbe- Indication of value/session binding.
-
valueUnbound
Implement this method if you wish to be notified when the User has been Unbound from the session.- Specified by:
valueUnboundin interfaceHttpSessionBindingListener- Parameters:
hsbe- Indication of value/session unbinding.
-
getName
LoginName 과 Name 분리, LoginName 은 외붑에 노출하지 않는다.- Specified by:
getNamein interfaceSecurityEntity<Long>- Returns:
- The Name of the SecurityEntity.
- See Also:
-
setName
Description copied from interface:SecurityEntitySets the Name of the SecurityEntity.- Specified by:
setNamein interfaceSecurityEntity<Long>- Parameters:
name- Name of the SecurityEntity.
-
save
사용자 정보를 저장한다. 수정 시간을 현재 시간으로 설정한다.- Specified by:
savein interfacePersistent- Overrides:
savein classBaseEasyDeskUserImpl- Throws:
Exception- 저장 중 오류가 발생한 경우
-
isConfirmed
public boolean isConfirmed()DOCUMENT ME!- Specified by:
isConfirmedin interfaceEasyDeskUser- Returns:
- DOCUMENT ME!
-
isAnonymous
public boolean isAnonymous()System Anonymous User or Not only check userId- Specified by:
isAnonymousin interfaceEasyDeskUser- Returns:
- anonymous 사용자이면
true
-
isPasswordExpired
Checks if the users password has expired.- Specified by:
isPasswordExpiredin interfaceEasyDeskUser- Returns:
- The passwordExpired value
- Throws:
Exception- if problem querying for the password.
-
setPasswordExpire
Sets the password to expire on the specified date.- Specified by:
setPasswordExpirein interfaceEasyDeskUser- Parameters:
expire- aCalendarvalue specifying the expire date. If this value is null, the password will be set to expire 10 years from the current year. Since Logging in resets this value, it should be ok to have someone's password expire after 10 years.- Throws:
Exception- if problem updating the password.
-
getTemp
Get an object from temporary storage.- Specified by:
getTempin interfaceEasyDeskUser- Parameters:
name- The object's name.- Returns:
- An Object with the given name.
-
setTemp
Put an object into temporary storage.- Specified by:
setTempin interfaceEasyDeskUser- Parameters:
name- The object's name.value- The object.
-
removeTemp
DOCUMENT ME!- Specified by:
removeTempin interfaceEasyDeskUser- Parameters:
name- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
hasLoggedIn
public boolean hasLoggedIn()The user is considered logged in if they have not timed out.- Specified by:
hasLoggedInin interfaceEasyDeskUser- Returns:
- Whether the user has logged in.
-
setHasLoggedIn
This sets whether or not someone has logged in. hasLoggedIn() returns this value.- Specified by:
setHasLoggedInin interfaceEasyDeskUser- Parameters:
value- Whether someone has logged in or not.
-
getArtifactType
itemable Object 의 itemType- Specified by:
getArtifactTypein interfaceArtifactizable- Returns:
- itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getArtifact
주어진 module 에서 이 사용자를 표현하는 User Item 을 구한다.- Parameters:
module- 대상 Module- Returns:
- 주어진 module 에 설정된 User Item
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getActivityMonitors
public List<ActivitySet> getActivityMonitors(ActivitySetType activitySetType) throws TorqueException 사용자의 진행중인 ActivitySet(monitor) 목록을 구한다.- Parameters:
activitySetType- 대상 ActivitySetType- Returns:
- 진행중인 ActivitySet 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
setLocale
DOCUMENT ME!- Specified by:
setLocalein interfaceEasyDeskUser- Parameters:
locale- DOCUMENT ME!
-
getLocale
DOCUMENT ME!- Specified by:
getLocalein interfaceEasyDeskUser- Returns:
- DOCUMENT ME!
-
hasAnyRoleIn
주어진 Module 에 Guest/Anonymous 는 제외한 다른 역할을 가지고 있는지 확인한다. 즉 주어진 module 에 활동을 위한 가입을 한 사용자로서 어떠한 역할을 가지고 있는지를 확인한다.- Specified by:
hasAnyRoleInin interfaceEasyDeskUser- Parameters:
group- 대상 group(module)- Returns:
- true or not Guest/Anonymous 는 제외
- Throws:
DataBackendException- 역할을 조회하는 중 오류가 발생한 경우
-
hasPermission
이 사용자의 주어진 Module 에 대한 주어진 Permission 이 있는지를 확인한다. 만약 주어진 Module 에 대한 Permission 이 존재하지 않으면, Global Module 에서의 권한를 확인한다.- Parameters:
perm- permission nameitem- apply target module- Returns:
- boolean true/false
- Throws:
Exception- 권한 확인 중 오류가 발생한 경우
-
canChange
public Object canChange(Item item, Transition transition, TransitionScopeEnum tScope, Attribute attribute, Map<Integer, AttributeValue> newAttVals) - Parameters:
item- scope itemtransition- if null then always accepttScope- transition scope,null이면 attribute 유무에 따라 기본 scope 를 사용한다.attribute- 대상 attributenewAttVals- 새 속성값 map ({ attributeId, attributeValue })- Returns:
- null ( no constraint ) or constraint object
-
getNotificationFilter
public NotificationFilter getNotificationFilter(AttributeOption manager, ActivitySetType activitySetType, Module module) throws TorqueException 사용자 AllModule Notificator, AllModule RoleName, Module Notificator, Module RoleName, User NotificationFilter 는 5 개를 구한다. Anonymous 를 제외한 System User Notificator, RoleName NotificationFilter 는 2 개를 구한다. Filter 적용은 AN, AR, MN, MR, U 의 순으로 적용한다.- Parameters:
manager- 통지 방법(notification manager) AttributeOptionactivitySetType- 대상 ActivitySetTypemodule- 대상 Module- Returns:
- 이 사용자의 NotificationFilter
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getMethodCache
- Specified by:
getMethodCachein interfaceCacheable- Returns:
- MethodResultCache
-
clear
public void clear()ManagerCached annotation 이 붙은 method 이름.
-