Class ItemTypePeer


public class ItemTypePeer extends BaseItemTypePeer
Artifact Type Artifactizable(ItemType) Optionable(ItemType)
Author:
Youngho Cho
  • Constructor Details

    • ItemTypePeer

      public ItemTypePeer()
      새로운 ItemTypePeer 인스턴스를 생성한다.
  • Method Details

    • checkExists

      public static boolean checkExists(String name)
      Checks to see if there is another attribute with the same name already in the database. Returns true if there is another ItemType of the same name.
      Parameters:
      name - 확인할 ItemType 이름
      Returns:
      true if there is another ItemType of the same name.
    • checkExists

      public static boolean checkExists(ItemType itemType)
      Checks to see if there is another attribute with the same name already in the database. Returns true if there is another ItemType of the same name.
      Parameters:
      itemType - 확인할 ItemType
      Returns:
      true if there is another ItemType of the same name
    • getByName

      public static ItemType[] getByName(String... typeName) throws UnknownEntityException, TorqueException
      Parameters:
      typeName -
      Returns:
      Throws:
      UnknownEntityException
      TorqueException
    • getAllRecords

      public static List<ItemType> getAllRecords() throws TorqueException
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • getAllRecords

      public static List<ItemType> getAllRecords(boolean includeDeleted, Comparator<ItemType> comparator) throws TorqueException
      전체 ItemType 목록을 구한다.
      Parameters:
      includeDeleted - 삭제된 ItemType 을 포함할지 여부
      comparator - 정렬에 사용할 Comparator
      Returns:
      ItemType 목록
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우