Class ItemTypeFactory

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

public class ItemTypeFactory extends Object
ItemTypeFactory
Author:
Youngho Cho
  • Method Details

    • getFactory

      public static ItemTypeFactory getFactory()
      ItemTypeFactory 를 구한다.
      Returns:
      ItemTypeFactory
    • add

      public ItemType add(String name, boolean isDefault, Integer parentId) throws Exception
      Add new global ItemType into a system
      Parameters:
      name - ItemType 이름
      isDefault - 기본 ItemType 여부
      parentId - 부모 ItemType id
      Returns:
      itemType which added into a database
      Throws:
      Exception - 추가 중 오류가 발생한 경우