Class ModuleAttributeGroupFactory

java.lang.Object
com.easydesk.om.util.ModuleAttributeGroupFactory

public class ModuleAttributeGroupFactory extends Object
ModuleItemType 의 AttributeGroup 을 생성하고 관리하는 factory.
  • Constructor Details

    • ModuleAttributeGroupFactory

      public ModuleAttributeGroupFactory(ModuleItemType mit)
      ModuleItemType 에 대한 factory 를 생성한다.
      Parameters:
      mit - 대상 ModuleItemType
  • Method Details

    • getFactory

      public static ModuleAttributeGroupFactory getFactory(ModuleItemType mit)
      ModuleItemType 에 대한 factory 를 구한다.
      Parameters:
      mit - 대상 ModuleItemType
      Returns:
      ModuleAttributeGroupFactory
    • createNewGroup

      public AttributeGroup createNewGroup(AttributeGroupType template) throws Exception
      Creates new module attribute group.
      Parameters:
      template - 생성할 group 의 AttributeGroupType
      Returns:
      new module attribute group
      Throws:
      Exception - group 생성 중 오류가 발생한 경우
    • createDefaultGroups

      public void createDefaultGroups() throws Exception
      Create default groups upon global item type creation and add add system default ItemTypeAttribute.
      Throws:
      Exception - group 생성 중 오류가 발생한 경우
    • createDefaultGroups

      public void createDefaultGroups(boolean includes) throws Exception
      Create default groups upon global item type creation.
      Parameters:
      includes - if true add system default ItemTypeAttribute
      Throws:
      Exception - group 생성 중 오류가 발생한 경우
    • getArtifactizableColumnMap

      protected Map<String,ColumnMap> getArtifactizableColumnMap(String attrGroupName)
      schema 에 정의된 artifactizable columnMap 를 구한다.
      Parameters:
      attrGroupName - attribute group 이름
      Returns:
      { attributeName, columnMap } map
    • getProperties

      public List<String> getProperties(String attrGroupName)
      configure 에 정의된 attribute 를 구한다.
      Parameters:
      attrGroupName - attribute group 이름
      Returns:
      attributeName List
    • getArtifactizableClassName

      public Class<?> getArtifactizableClassName() throws TorqueException
      이 ItemType 이 서술하고 있는 Artifacatizable class 를 구한다.
      Returns:
      Artifactizable class
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우