Package com.easydesk.om
Class AttributePeer
java.lang.Object
com.easydesk.om.BaseAttributePeer
com.easydesk.om.AttributePeer
attribute Artifactizable(Attribute) Optionable(Observer)
- Author:
- Youngho Cho
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Integer[]EASYDESK-3906 : ActivityAttribute 의 변환 Table 여기에 있는 속성은 ModuleAttribute 의 대상은 아니지만 검색결과에 항상 포함되며, 검색보기에서 다른 Attribute 처럼 행동한다.static final IntegerFields inherited from class com.easydesk.om.BaseAttributePeer
ACTION, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_TYPE_ID, COMMON, DATABASE_NAME, GLOBAL, INITIAL_VALUE, LOCALIZED, numColumns, PERMISSION, REMOVED, TABLE, TABLE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckExists(Attribute attribute) 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.static intDOCUMENT ME!getAttributes(String attributeType) Gets a List of Attribute objects in the database.getAttributes(String attributeType, boolean includeDeleted, Column sortColumn, String sortPolarity) Gets a List of all of the Attribute objects in the database.static Attribute[]DOCUMENT ME!Methods inherited from class com.easydesk.om.BaseAttributePeer
addSelectColumns, buildColumnValues, buildCriteria, buildCriteria, buildCriteria, buildPkCriteria, buildSelectCriteria, correctBooleans, correctBooleans, createAttributePeerImpl, 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, doSelectJoinAttributeType, doSelectJoinAttributeType, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, getAttributePeerImpl, getDbObjectInstance, getTableMap, initDatabaseMap, retrieveByObjectKeys, retrieveByObjectKeys, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByTypedPKs, retrieveByTypedPKs, setAndSaveActivitys, setAndSaveActivitys, setAndSaveAttributeAttributeGroups, setAndSaveAttributeAttributeGroups, setAndSaveAttributeOptions, setAndSaveAttributeOptions, setAndSaveAttributeValues, setAndSaveAttributeValues, setAndSaveConditionRelatedByAttributeIds, setAndSaveConditionRelatedByAttributeIds, setAndSaveConditionRelatedByRAttributeIds, setAndSaveConditionRelatedByRAttributeIds, setAndSaveEasyDeskValidators, setAndSaveEasyDeskValidators, setAndSaveEasyErrors, setAndSaveEasyErrors, setAndSaveItemCounters, setAndSaveItemCounters, setAndSaveItemTypeAttributes, setAndSaveItemTypeAttributes, setAndSaveLocalizedSequenceInfos, setAndSaveLocalizedSequenceInfos, setAndSaveModuleAttributes, setAndSaveModuleAttributes, setAndSaveModuleUserAttributes, setAndSaveModuleUserAttributes, setAndSaveQueryValues, setAndSaveQueryValues, setAndSaveReportHeads, setAndSaveReportHeads, setAndSaveTransitionConditions, setAndSaveTransitionConditions, setAndSaveTransitions, setAndSaveTransitions, setAndSaveTransitionSequences, setAndSaveTransitionSequences, setAndSaveUserAttributeOptions, setAndSaveUserAttributeOptions, setAndSaveValueFormatters, setAndSaveValueFormatters, setAttributePeerImpl
-
Field Details
-
ACTIVITY_ATTRIBUTES
EASYDESK-3906 : ActivityAttribute 의 변환 Table 여기에 있는 속성은 ModuleAttribute 의 대상은 아니지만 검색결과에 항상 포함되며, 검색보기에서 다른 Attribute 처럼 행동한다. 또한 Item 의 AttributeValues 에도 포함되지 않는다. -
LAST_MODIFIED_DATE__PK
-
-
Constructor Details
-
AttributePeer
public AttributePeer()새로운AttributePeer인스턴스를 생성한다.
-
-
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 Attribute of the same name.- Parameters:
name- 확인할 attribute 이름- Returns:
- true if there is another Attribute 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 Attribute of the same name.- Parameters:
attribute- 확인할 Attribute- Returns:
- true if there is another Attribute of the same name
-
getByName
public static Attribute[] getByName(String... typeName) throws UnknownEntityException, TorqueException - Parameters:
typeName-- Returns:
- Throws:
UnknownEntityExceptionTorqueException
-
getAttributes
public static List<Attribute> getAttributes(String attributeType, boolean includeDeleted, Column sortColumn, String sortPolarity) throws TorqueException Gets a List of all of the Attribute objects in the database.- Parameters:
attributeType- user, non-user, typeidincludeDeleted- 삭제된 attribute 를 포함할지 여부sortColumn- 정렬 columnsortPolarity- 정렬 방향 (asc, desc)- Returns:
- Attribute 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributes
Gets a List of Attribute objects in the database. 이름 순으로 정렬하며 삭제된 attribute 는 제외한다.- Parameters:
attributeType- user, non-user, typeid- Returns:
- Attribute 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getCommonAttributes
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAllRecords
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAllRecordCount
- Throws:
TorqueException
-