Package com.easydesk.om.util
Class ModuleAttributeGroupFactory
java.lang.Object
com.easydesk.om.util.ModuleAttributeGroupFactory
ModuleItemType 의 AttributeGroup 을 생성하고 관리하는 factory.
-
Constructor Summary
ConstructorsConstructorDescriptionModuleItemType 에 대한 factory 를 생성한다. -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate default groups upon global item type creation and add add system default ItemTypeAttribute.voidcreateDefaultGroups(boolean includes) Create default groups upon global item type creation.createNewGroup(AttributeGroupType template) Creates new module attribute group.Class<?> 이 ItemType 이 서술하고 있는 Artifacatizable class 를 구한다.getArtifactizableColumnMap(String attrGroupName) schema 에 정의된 artifactizable columnMap 를 구한다.static ModuleAttributeGroupFactorygetFactory(ModuleItemType mit) ModuleItemType 에 대한 factory 를 구한다.getProperties(String attrGroupName) configure 에 정의된 attribute 를 구한다.
-
Constructor Details
-
ModuleAttributeGroupFactory
ModuleItemType 에 대한 factory 를 생성한다.- Parameters:
mit- 대상 ModuleItemType
-
-
Method Details
-
getFactory
ModuleItemType 에 대한 factory 를 구한다.- Parameters:
mit- 대상 ModuleItemType- Returns:
- ModuleAttributeGroupFactory
-
createNewGroup
Creates new module attribute group.- Parameters:
template- 생성할 group 의 AttributeGroupType- Returns:
- new module attribute group
- Throws:
Exception- group 생성 중 오류가 발생한 경우
-
createDefaultGroups
Create default groups upon global item type creation and add add system default ItemTypeAttribute.- Throws:
Exception- group 생성 중 오류가 발생한 경우
-
createDefaultGroups
Create default groups upon global item type creation.- Parameters:
includes- if true add system default ItemTypeAttribute- Throws:
Exception- group 생성 중 오류가 발생한 경우
-
getArtifactizableColumnMap
schema 에 정의된 artifactizable columnMap 를 구한다.- Parameters:
attrGroupName- attribute group 이름- Returns:
- { attributeName, columnMap } map
-
getProperties
configure 에 정의된 attribute 를 구한다.- Parameters:
attrGroupName- attribute group 이름- Returns:
- attributeName List
-
getArtifactizableClassName
이 ItemType 이 서술하고 있는 Artifacatizable class 를 구한다.- Returns:
- Artifactizable class
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-