Package com.easydesk.om
Class EasyDeskRoleImpl
java.lang.Object
com.easydesk.om.BaseEasyDeskRoleImpl
com.easydesk.om.EasyDeskRoleImpl
- All Implemented Interfaces:
Cacheable,Artifactizable,Optionable<EasyDeskRoleImpl>,EasyDeskRole,Identifiable<Integer>,Role,SecurityEntity<Integer>,Serializable,ColumnAccessByName,ObjectModel,Persistent
public class EasyDeskRoleImpl
extends BaseEasyDeskRoleImpl
implements EasyDeskRole, Optionable<EasyDeskRoleImpl>, Cacheable, Artifactizable
DOCUMENT ME!
- Author:
- YounghoCho
-
Field Summary
Fields inherited from class com.easydesk.om.BaseEasyDeskRoleImpl
collEasyDeskGroupRoles, collEasyDeskRolePermissions, collEasyDeskUserGroupRoles, collNotificationTypesFields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERNFields inherited from interface com.easydesk.om.Optionable
ALL, GET_BY_NAME, NAME_SEPERATOR, OPTIONABLE_PATTERN, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()ManagerCached annotation 이 붙은 method 이름.itemable Object 의 itemTypeOptionableimplements이 itemType 이 해당하는 attributeOption 을 구한다.same as getItemTypeRelatedByParentId() Optionable impelementsrole 에 부여된 permission 들을 구한다.booleanhasPermission(Permission... permissions) role 이 주어진 permission 을 모두 가지고 있는지 확인한다.voidsave()Stores the object in the database.voidsetParent(EasyDeskRoleImpl parent) 부모 role 을 설정한다.Methods inherited from class com.easydesk.om.BaseEasyDeskRoleImpl
addEasyDeskGroupRole, addEasyDeskGroupRole, addEasyDeskRolePermission, addEasyDeskRolePermission, addEasyDeskUserGroupRole, addEasyDeskUserGroupRole, addNotificationType, addNotificationType, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getByName, getByPeerName, getByPosition, getEasyDeskGroupRoles, getEasyDeskGroupRoles, getEasyDeskGroupRoles, getEasyDeskGroupRoles, getEasyDeskGroupRolesJoinEasyDeskGroupImpl, getEasyDeskGroupRolesJoinEasyDeskGroupImpl, getEasyDeskRolePermissions, getEasyDeskRolePermissions, getEasyDeskRolePermissions, getEasyDeskRolePermissions, getEasyDeskRolePermissionsJoinEasyDeskPermissionImpl, getEasyDeskRolePermissionsJoinEasyDeskPermissionImpl, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRoles, getEasyDeskUserGroupRolesJoinEasyDeskGroupImpl, getEasyDeskUserGroupRolesJoinEasyDeskGroupImpl, getEasyDeskUserGroupRolesJoinEasyDeskUserImpl, getEasyDeskUserGroupRolesJoinEasyDeskUserImpl, getFieldNames, getId, getName, getNotificationTypes, getNotificationTypes, getNotificationTypes, getNotificationTypes, getNotificationTypesJoinActivitySetType, getNotificationTypesJoinActivitySetType, getNotificationTypesJoinScope, getNotificationTypesJoinScope, getPeer, getPrimaryKey, getTableMap, hashCode, initEasyDeskGroupRoles, initEasyDeskRolePermissions, initEasyDeskUserGroupRoles, initNotificationTypes, isCacheOnSave, isDeleted, isEasyDeskGroupRolesInitialized, isEasyDeskRolePermissionsInitialized, isEasyDeskUserGroupRolesInitialized, isLoading, isModified, isNew, isNotificationTypesInitialized, isSaving, resetEasyDeskGroupRole, resetEasyDeskRolePermission, resetEasyDeskUserGroupRole, resetModified, resetNotificationType, save, save, setByName, setByPeerName, setByPosition, setDeleted, setId, setLoading, setModified, setName, setNew, setPrimaryKey, setPrimaryKey, 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.Identifiable
getId, setIdMethods inherited from interface com.easydesk.om.Optionable
appendOption, getName, getPathName, isRoot, setNameMethods inherited from interface com.easydesk.security.entity.SecurityEntity
getName, setName
-
Constructor Details
-
EasyDeskRoleImpl
public EasyDeskRoleImpl()새로운EasyDeskRoleImpl인스턴스를 생성한다.
-
-
Method Details
-
save
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.- Specified by:
savein interfacePersistent- Overrides:
savein classBaseEasyDeskRoleImpl- Throws:
Exception- 저장 중 오류가 발생한 경우
-
getPermissions
role 에 부여된 permission 들을 구한다.- Specified by:
getPermissionsin interfaceRole- Returns:
- PermissionSet
-
hasPermission
role 이 주어진 permission 을 모두 가지고 있는지 확인한다.- Specified by:
hasPermissionin interfaceRole- Parameters:
permissions- 확인할 permission 들- Returns:
- true when (AND Stratage)all permission have
-
getParent
same as getItemTypeRelatedByParentId() Optionable impelements- Specified by:
getParentin interfaceOptionable<EasyDeskRoleImpl>- Returns:
- itemType which is parent itemType
-
setParent
부모 role 을 설정한다.- Specified by:
setParentin interfaceOptionable<EasyDeskRoleImpl>- Parameters:
parent- 부모 role
-
getAttribute
Optionableimplements- Specified by:
getAttributein interfaceOptionable<EasyDeskRoleImpl>- Returns:
- attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeOption
이 itemType 이 해당하는 attributeOption 을 구한다.- Specified by:
getAttributeOptionin interfaceOptionable<EasyDeskRoleImpl>- Returns:
- attributeOption which is responding to this object
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getArtifactType
itemable Object 의 itemType- Specified by:
getArtifactTypein interfaceArtifactizable- Returns:
- itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getMethodCache
- Specified by:
getMethodCachein interfaceCacheable- Returns:
- MethodResultCache
-
clear
public void clear()ManagerCached annotation 이 붙은 method 이름.
-