Package com.easydesk.om
Class ItemTypePeer
java.lang.Object
com.easydesk.om.BaseItemTypePeer
com.easydesk.om.ItemTypePeer
Artifact Type Artifactizable(ItemType) Optionable(ItemType)
- Author:
- Youngho Cho
-
Field Summary
Fields inherited from class com.easydesk.om.BaseItemTypePeer
ACTIVE, DATABASE_NAME, DEDUPE, ISDEFAULT, ITEM_TYPE_ID, LOCKED, NAME, numColumns, PARENT_ID, REMOVED, TABLE, TABLE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckExists(ItemType itemType) Checks to see if there is another attribute with the same name already in the database.static booleancheckExists(String name) Checks to see if there is another attribute with the same name already in the database.DOCUMENT ME!getAllRecords(boolean includeDeleted, Comparator<ItemType> comparator) 전체 ItemType 목록을 구한다.static ItemType[]Methods inherited from class com.easydesk.om.BaseItemTypePeer
addSelectColumns, buildColumnValues, buildCriteria, buildCriteria, buildCriteria, buildPkCriteria, buildSelectCriteria, correctBooleans, correctBooleans, createItemTypePeerImpl, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelectAsStream, doSelectAsStream, doSelectAsStream, doSelectJoinItemType, doSelectJoinItemType, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, getDbObjectInstance, getItemTypePeerImpl, getTableMap, initDatabaseMap, retrieveByObjectKeys, retrieveByObjectKeys, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByTypedPKs, retrieveByTypedPKs, setAndSaveAttributeGroups, setAndSaveAttributeGroups, setAndSaveEasyDeskValidators, setAndSaveEasyDeskValidators, setAndSaveEasyErrors, setAndSaveEasyErrors, setAndSaveItems, setAndSaveItems, setAndSaveItemTypeAttributes, setAndSaveItemTypeAttributes, setAndSaveItemTypeOptions, setAndSaveItemTypeOptions, setAndSaveItemTypes, setAndSaveItemTypes, setAndSaveLocalizedOptionInfos, setAndSaveLocalizedOptionInfos, setAndSaveMITListItems, setAndSaveMITListItems, setAndSaveModuleAttributes, setAndSaveModuleAttributes, setAndSaveModuleItemTypes, setAndSaveModuleItemTypes, setAndSaveModuleOptions, setAndSaveModuleOptions, setAndSaveOptionOptions, setAndSaveOptionOptions, setAndSaveTemplateGroups, setAndSaveTemplateGroups, setAndSaveTransitionConditions, setAndSaveTransitionConditions, setAndSaveValueFormatters, setAndSaveValueFormatters, setAndSaveWorkflows, setAndSaveWorkflows, setItemTypePeerImpl
-
Constructor Details
-
ItemTypePeer
public ItemTypePeer()새로운ItemTypePeer인스턴스를 생성한다.
-
-
Method Details
-
checkExists
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
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:
UnknownEntityExceptionTorqueException
-
getAllRecords
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- 조회 중 오류가 발생한 경우
-