Package com.easydesk.om
Interface Module
- All Superinterfaces:
Artifactizable,Group,Identifiable<Long>,SecurityEntity<Long>,Serializable
- All Known Implementing Classes:
EasyDeskModule,TemplateModule
Group Detail Representation Table Artifactizable(Group) This is an interface
that should be filled with the public
api of the EasyDeskModule objects. The skeleton for this class was
autogenerated by Torque on: [Sun Nov 14 20:29:28
KST 2021]* 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.
Group's more detail real life
implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternModule Code Pattern, all alpabet upper case length is from 4 to 8static final intDOCUMENT ME!Fields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERN, logger -
Method Summary
Modifier and TypeMethodDescriptionvoidDOCUMENT ME!All emails related to this module will have a copy sent to this address.getCode()Gets the code attribute of the Module objectwww.foo.com<G extends Group>
GgetGroup()DOCUMENT ME!DOCUMENT ME!getModuleItemType(ItemType itemType) 이 Module 에 등록되어 있는 ModuleItemType 을 구한다.This method returns a complete list of ModuleItemTypes which are active and not deleted, have a ItemType.PARENT_ID of 0 and sorted ascending by PREFERRED_ORDER.getModuleItemTypes(Attribute attribute) DOCUMENT ME!getModuleItemTypes(AttributeGroupType agType) DOCUMENT ME!getName()DOCUMENT ME!getNewItem(Item template) template item 으로부터 새 item 을 만든다.getNewItem(ItemType itemType, ActivitySet activitySet) itemType template 를 적용하여 newItem 을 만든다.getNewItem(ItemType itemType, Scope scope, ActivitySet activitySet) Creates a new Item.DOCUMENT ME!Group's hiearachy supportObjectKey<?> DOCUMENT ME!String[]The default address that is used to fill out either the From or ReplyTo header on emails related to this module.이 module 의 template module 을 구한다.Template ItemType 은 ModuleItemType 이 존재하지 않는다.getUsers(int resultsPerPage, Permission... permission) Get a list of Confirmed<? extends User>'s that have the given permission in the given module.booleanDOCUMENT ME!booleanhas(ItemTypeAttribute itemTypeAttribute) Module 에 ItemTypeAttribute 가 등록되어 있는지 확인한다.booleanisActive()module not deleted and not lockeddefault booleanisGlobal()Returns true if this module is the top level parent module.default booleanisRoot()ParentId 가 자신의 id 와 같을 때booleanDOCUMENT ME!voidsave()Stores an object in the database.voidSets the code attribute of the Module objectvoidSets the domain attribute of the Module objectvoidDOCUMENT ME!voidDOCUMENT ME!voidsetParentId(Long parentId) 부모 module id 를 설정한다.Methods inherited from interface com.easydesk.om.Artifactizable
getArtifact, getArtifactKey, getArtifactModule, getArtifactType, getTableMapMethods inherited from interface com.easydesk.security.entity.Identifiable
getId, setId
-
Field Details
-
CODE_PATTERN
Module Code Pattern, all alpabet upper case length is from 4 to 8 -
MAX_VECTOR
static final int MAX_VECTORDOCUMENT ME!- See Also:
-
-
Method Details
-
getPrimaryKey
ObjectKey<?> getPrimaryKey()DOCUMENT ME!- Specified by:
getPrimaryKeyin interfaceArtifactizable- Returns:
- DOCUMENT ME!
-
isActive
boolean isActive()module not deleted and not locked- Returns:
- DOCUMENT ME!
-
setName
DOCUMENT ME!- Specified by:
setNamein interfaceSecurityEntity<Long>- Parameters:
name- DOCUMENT ME!
-
getName
String getName()DOCUMENT ME!- Specified by:
getNamein interfaceSecurityEntity<Long>- Returns:
- DOCUMENT ME!
-
getCode
String getCode()Gets the code attribute of the Module object- Returns:
- The code value
-
setCode
Sets the code attribute of the Module object- Parameters:
code- The new code value- See Also:
-
getDomain
String getDomain()www.foo.com- Returns:
- The domain value
-
setDomain
Sets the domain attribute of the Module object- Parameters:
domain- The new domain value
-
getGroup
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getParentId
Long getParentId()Group's hiearachy support- Returns:
- DOCUMENT ME!
-
setParentId
부모 module id 를 설정한다.- Parameters:
parentId- 부모 module id
-
isRoot
default boolean isRoot()ParentId 가 자신의 id 와 같을 때- Returns:
-
getParent
Module getParent()DOCUMENT ME!- Returns:
- Parent Module
-
getTemplate
이 module 의 template module 을 구한다.- Returns:
- Template Module
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
save
Stores an object in the database. If the object is new, it is inserted; otherwise an update is performed.- Throws:
Exception- if an error occurs during saving.
-
getArchiveEmail
String getArchiveEmail()All emails related to this module will have a copy sent to this address.- Returns:
- The archiveEmail value
-
getSystemEmail
The default address that is used to fill out either the From or ReplyTo header on emails related to this module. In many cases the From field is taken as the user who acted that resulted in the email, but replies should still go to the central location for the module, so in this address would be used in the ReplyTo field.- Returns:
- a
String[]of length=2 where the first element is a name such as "EasyDesk" and the second is an email address. - Throws:
TorqueException
-
getLocale
Locale getLocale()DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
setLocale
DOCUMENT ME!- Parameters:
locale- DOCUMENT ME!
-
getNewItem
itemType template 를 적용하여 newItem 을 만든다.- Parameters:
itemType- 생성할 item 의 ItemTypeactivitySet- 현재 처리중인 ActivitySet- Returns:
- new item
- Throws:
Exception- item 생성 중 오류가 발생한 경우
-
getNewItem
Creates a new Item.- Parameters:
itemType- 생성할 item 의 ItemTypescope- 생성할 item 의 ScopeactivitySet- can be null, activitySet 이 필요한 경우는 새로운 모듈생성시에 기본 template 를 생성할 때 필요- Returns:
- new item
- Throws:
TorqueException- item 생성 중 오류가 발생한 경우
-
getNewItem
template item 으로부터 새 item 을 만든다.- Parameters:
template- template item- Returns:
- new item
- Throws:
TorqueException- item 생성 중 오류가 발생한 경우
-
isGlobal
default boolean isGlobal()Returns true if this module is the top level parent module.- Returns:
- a
booleanvalue
-
isTemplate
boolean isTemplate()DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
add
DOCUMENT ME!- Parameters:
itemType- DOCUMENT ME!- Throws:
Exception- DOCUMENT ME!
-
has
DOCUMENT ME!- Parameters:
itemType- DOCUMENT ME!- Returns:
- true if thie module has ModuleItemType which is the same as ItemType
- Throws:
TorqueException- DOCUMENT ME!
-
has
Module 에 ItemTypeAttribute 가 등록되어 있는지 확인한다.- Parameters:
itemTypeAttribute- 확인할 ItemTypeAttribute- Returns:
- 등록되어 있으면
true - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTemplateTypes
Template ItemType 은 ModuleItemType 이 존재하지 않는다. 따라서 Module 에서 Template ItemType 의 정보는 이 method 를 이용한다.- Returns:
- template itemType
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getModuleItemType
이 Module 에 등록되어 있는 ModuleItemType 을 구한다.- Parameters:
itemType- itemType- Returns:
- ModuleItemType
- Throws:
TorqueException- DOCUMENT ME!
-
getModuleItemTypes
This method returns a complete list of ModuleItemTypes which are active and not deleted, have a ItemType.PARENT_ID of 0 and sorted ascending by PREFERRED_ORDER.- Returns:
- ModuleItemType 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleItemTypes
DOCUMENT ME!- Parameters:
attribute- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getModuleItemTypes
DOCUMENT ME!- Parameters:
agType- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getUsers
LargeSelect<EasyDeskUserImpl> getUsers(int resultsPerPage, Permission... permission) throws TorqueException Get a list of Confirmed<? extends User>'s that have the given permission in the given module.- Parameters:
resultsPerPage-permission-- Returns:
- The users LargeSelect who has the permissions
- Throws:
ExceptionTorqueException
-
getUsers
- Parameters:
resultsPerPage-role-- Returns:
- The users LargeSelect who has the roles
- Throws:
Exception- Description of the ExceptionTorqueException
-
getAnonymousNotificationFilter
List<AnonymousNotificationFilter> getAnonymousNotificationFilter(String email) throws TorqueException - Parameters:
email-- Returns:
- blocked AnonymousNotificationFilters list
- Throws:
TorqueException
-