Package com.easydesk.util.word
Class EasyDeskItemSearch
java.lang.Object
com.easydesk.om.BaseItem
com.easydesk.om.Item
com.easydesk.util.word.ItemSearchImpl
com.easydesk.util.word.EasyDeskItemSearch
- All Implemented Interfaces:
Cacheable,Identifiable<Long>,ItemSearch,Serializable,ColumnAccessByName,ObjectModel,Persistent
AllAttribute 에서 처리 검색에 관련된 속성, 속성사양들의 Security Filtering 을 실행한다.
- Version:
- $Id: EasyDeskItemSearch.java,v 1.20 2008/09/05 04:33:10 youngho Exp $
- Author:
- 조 영 호
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.easydesk.om.Item
Item.FederatedId -
Field Summary
Fields inherited from class com.easydesk.util.word.ItemSearchImpl
ADVANCED_TYPE, ANY_KEY, ASC, DESC, mitList, modified, NUMBERKEY_0, QUICK_TYPE, REPORT_TYPE, searcher, searchWords, SYSTEM_TYPE, textScopeFields inherited from class com.easydesk.om.Item
GET_CHILDREN, GET_PARENTSFields inherited from class com.easydesk.om.BaseItem
collActivitys, collAttachments, collAttributeValues, collDependsRelatedByObservedId, collDependsRelatedByObserverId, collItemActivitySets, collItemCounters, collItemTemplateInfos, collTemplateTemplateGroups -
Constructor Summary
ConstructorsConstructorDescriptionEasyDeskItemSearch(Item item, EasyDeskUser searcher) EasyDeskItemSearch(MITList mitList, EasyDeskUser searcher) mitList 에서 ISSUE__SEARCH filtering 한다EasyDeskItemSearch(MITList mitList, EasyDeskUser searcher, List<Permission> perms) mitList 를 주어진 권한으로 filtering 한다EasyDeskItemSearch(Module module, ItemType itemType, EasyDeskUser searcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<AttributeValue> getDateAttributeValues(boolean quickSearchOnly) DateAttribute List 를 구한다.getFilteredCurriculumAttributeValues(boolean quickSearchOnly) FilteredOptionAttribute 만 구한다.getFilteredDateAttributeValues(boolean quickSearchOnly) FilteredOptionAttribute 만 구한다.getFilteredNumberAttributeValues(boolean quickSearchOnly) FilteredOptionAttribute 만 구한다.getFilteredOptionAttributeValues(boolean quickSearchOnly) FilteredOptionAttribute 만 구한다.getFilteredOptionTree(Attribute attribute) FilteredTextAttributeValues 만 구한다.getFilteredRangeAttributeValues(boolean quickSearchOnly) FilteredTextAttributeValues 만 구한다.getFilteredTextAttributeValues(boolean quickSearchOnly) FilteredTextAttributeValues 만 구한다.protected List<AttributeValue> getNumberAttributeValues(boolean quickSearchOnly) DOCUMENT ME!getOptionAttributeValues(boolean quickSearchOnly) Returns OptionAttributes, Personal 은 제외한다.PersonalAttributeValues 만 구한다.getRangeAttributeValues(boolean quickSearchOnly) RangeAttributeValues, Personal 은 제외한다.protected List<AttributeValue> getTextAttributeValues(boolean quickSearchOnly) TextAttributeValues 만 구한다, Personal 은 제외한다.Methods inherited from class com.easydesk.util.word.ItemSearchImpl
addUserCriteria, clear, close, filterItemType, finalize, getALL_TEXT, getAllAvailableAttributeValuesMap, getAllAvailableAttributeValuesMap, getCommentQuery, getCommonAttributeValuesMap, getCommonAttributeValuesMap, getCommonOptionTree, getItemCount, getItemListAttributeColumns, getItemType, getLeafModuleOptions, getLimit, getLocale, getMaxDate, getMaxId, getMinDate, getMinId, getMinVotes, getMITAttributeValuesMap, getModuleAttributeValuesMap, getModuleAttributeValuesMap, getOffset, getOptionAttributeValues, getOutType, getPrimitiveTextScope, getQueryResults, getQuickSearchDateAttributeValues, getQuickSearchNumberAttributeValues, getQuickSearchOptionAttributeValues, getQuickSearchTextAttributeValues, getResultsPerPage, getSearcher, getSearchMITList, getSearchWords, getSortAttributeId, getSortPolarity, getStateChangeAttributeId, getStateChangeFromDate, getStateChangeFromOptionId, getStateChangeToDate, getStateChangeToOptionId, getTextAttributeValues, getTextScope, getTextScopeForAll, getType, getUserAttributes, getUserIdList, has, internalGetAttributeValuesMap, isSingleItemTypeSearch, isSingleModuleItemTypeSearch, isXMITSearch, parseDate, save, setCommentQuery, setItemListAttributeColumns, setLimit, setMaxDate, setMaxId, setMinDate, setMinId, setMinVotes, setOffset, setOutType, setPrimitiveTextScope, setResultsPerPage, setSearchWords, setSortAttributeId, setSortPolarity, setStateChangeAttributeId, setStateChangeFromDate, setStateChangeFromOptionId, setStateChangeToDate, setStateChangeToOptionId, setTextScope, setType, toStringMethods inherited from class com.easydesk.om.Item
assign, assign, assign, deassign, getActivity, getActivity, getActivity, getActivity, getActivity, getActivity, getActivity, getActivitySet, getAllDependencies, getAllUsersToEmail, getAttributeValue, getAttributeValue, getAttributeValues, getAttributeValuesMap, getChildren, getChildren, getCreatedBy, getCreatedDate, getFederatedId, getId, getItemActivitySet, getLastActivitySet, getLastActivitySet, getLastActivitySet, getLastActivitySet, getLastActivitySet, getMethodCache, getModule, getModuleAttribute, getModuleAttributeValuesMap, getModuleItemType, getModuleOption, getNewInstance, getNewInstance, getNewInstance, getParents, getParents, getParents, getUniqueId, getUniqueId, getUniqueId, getUserAttributeValues, getUserAttributeValues, getUserAttributeValues, getUserAttributeValues, getUsersToEmail, hasAssigned, hasValue, hasValue, isAssigned, isCreator, isTemplate, save, setFederatedId, setId, setLocale, setModule, setUniqueId, updateLastActivitySetMethods inherited from class com.easydesk.om.BaseItem
addActivity, addActivity, addAttachment, addAttachment, addAttributeValue, addAttributeValue, addDependRelatedByObservedId, addDependRelatedByObservedId, addDependRelatedByObserverId, addDependRelatedByObserverId, addItemActivitySet, addItemActivitySet, addItemCounter, addItemCounter, addItemTemplateInfo, addItemTemplateInfo, addTemplateTemplateGroup, addTemplateTemplateGroup, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getActivitys, getActivitys, getActivitys, getActivitys, getActivitysJoinActivitySet, getActivitysJoinActivitySet, getActivitysJoinAttachment, getActivitysJoinAttachment, getActivitysJoinAttribute, getActivitysJoinAttribute, getActivitysJoinAttributeOptionRelatedByNewOptionId, getActivitysJoinAttributeOptionRelatedByNewOptionId, getActivitysJoinAttributeOptionRelatedByOldOptionId, getActivitysJoinAttributeOptionRelatedByOldOptionId, getActivitysJoinDepend, getActivitysJoinDepend, getActivitysJoinEasyDeskUserImplRelatedByNewUserId, getActivitysJoinEasyDeskUserImplRelatedByNewUserId, getActivitysJoinEasyDeskUserImplRelatedByOldUserId, getActivitysJoinEasyDeskUserImplRelatedByOldUserId, getAttachments, getAttachments, getAttachments, getAttachments, getAttachmentsJoinAttachmentType, getAttachmentsJoinAttachmentType, getAttachmentsJoinEasyDeskUserImplRelatedByCreatedBy, getAttachmentsJoinEasyDeskUserImplRelatedByCreatedBy, getAttachmentsJoinEasyDeskUserImplRelatedByModifiedBy, getAttachmentsJoinEasyDeskUserImplRelatedByModifiedBy, getAttributeValues, getAttributeValues, getAttributeValues, getAttributeValuesJoinAttribute, getAttributeValuesJoinAttribute, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinDepend, getAttributeValuesJoinDepend, getAttributeValuesJoinEasyDeskUserImpl, getAttributeValuesJoinEasyDeskUserImpl, getByName, getByPeerName, getByPosition, getDependRelatedByObservedIds, getDependRelatedByObservedIds, getDependRelatedByObservedIds, getDependRelatedByObservedIds, getDependRelatedByObservedIdsJoinDependType, getDependRelatedByObservedIdsJoinDependType, getDependRelatedByObservedIdsJoinItemRelatedByObserverId, getDependRelatedByObservedIdsJoinItemRelatedByObserverId, getDependRelatedByObserverIds, getDependRelatedByObserverIds, getDependRelatedByObserverIds, getDependRelatedByObserverIds, getDependRelatedByObserverIdsJoinDependType, getDependRelatedByObserverIdsJoinDependType, getDependRelatedByObserverIdsJoinItemRelatedByObservedId, getDependRelatedByObserverIdsJoinItemRelatedByObservedId, getEasyDeskModule, getEasyDeskModule, getFieldNames, getForeignKeyForEasyDeskModule, getForeignKeyForItemType, getIdCount, getIdDomain, getIdPrefix, getItemActivitySets, getItemActivitySets, getItemActivitySets, getItemActivitySets, getItemActivitySetsJoinActivitySetRelatedByCreatedTransId, getItemActivitySetsJoinActivitySetRelatedByCreatedTransId, getItemActivitySetsJoinActivitySetRelatedByLastTransId, getItemActivitySetsJoinActivitySetRelatedByLastTransId, getItemCounters, getItemCounters, getItemCounters, getItemCounters, getItemCountersJoinAttribute, getItemCountersJoinAttribute, getItemId, getItemTemplateInfos, getItemTemplateInfos, getItemTemplateInfos, getItemTemplateInfos, getItemTemplateInfosJoinScope, getItemTemplateInfosJoinScope, getItemType, getLocaleValue, getModuleId, getPeer, getPrimaryKey, getTableMap, getTemplateTemplateGroups, getTemplateTemplateGroups, getTemplateTemplateGroups, getTemplateTemplateGroups, getTemplateTemplateGroupsJoinTemplateGroup, getTemplateTemplateGroupsJoinTemplateGroup, getTypeId, hashCode, initActivitys, initAttachments, initAttributeValues, initDependRelatedByObservedIds, initDependRelatedByObserverIds, initItemActivitySets, initItemCounters, initItemTemplateInfos, initTemplateTemplateGroups, isActivitysInitialized, isAttachmentsInitialized, isAttributeValuesInitialized, isCacheOnSave, isDeleted, isDependRelatedByObservedIdsInitialized, isDependRelatedByObserverIdsInitialized, isItemActivitySetsInitialized, isItemCountersInitialized, isItemTemplateInfosInitialized, isLoading, isModified, isNew, isRemoved, isSaving, isTemplateTemplateGroupsInitialized, resetActivity, resetAttachment, resetAttributeValue, resetDependRelatedByObservedId, resetDependRelatedByObserverId, resetItemActivitySet, resetItemCounter, resetItemTemplateInfo, resetModified, resetTemplateTemplateGroup, save, setByName, setByPeerName, setByPosition, setDeleted, setEasyDeskModule, setEasyDeskModuleKey, setIdCount, setIdDomain, setIdPrefix, setItemId, setItemType, setItemTypeKey, setLoading, setLocaleValue, setModified, setModuleId, setNew, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setTypeId, valueEqualsMethods inherited from interface com.easydesk.cache.Cacheable
runResetMethods
-
Constructor Details
-
EasyDeskItemSearch
- Parameters:
item-searcher-- Throws:
TorqueException
-
EasyDeskItemSearch
public EasyDeskItemSearch(Module module, ItemType itemType, EasyDeskUser searcher) throws TorqueException - Parameters:
module-itemType-searcher-- Throws:
TorqueException
-
EasyDeskItemSearch
mitList 에서 ISSUE__SEARCH filtering 한다- Parameters:
mitList-searcher-- Throws:
TorqueException
-
EasyDeskItemSearch
public EasyDeskItemSearch(MITList mitList, EasyDeskUser searcher, List<Permission> perms) throws TorqueException mitList 를 주어진 권한으로 filtering 한다- Parameters:
mitList-searcher-perms-- Throws:
TorqueException
-
-
Method Details
-
getOptionAttributeValues
public List<AttributeValue> getOptionAttributeValues(boolean quickSearchOnly) throws TorqueException Returns OptionAttributes, Personal 은 제외한다.- Overrides:
getOptionAttributeValuesin classItemSearchImpl- Parameters:
quickSearchOnly-- Returns:
- a
Listvalue - Throws:
Exception- if an error occursTorqueException
-
getDateAttributeValues
protected List<AttributeValue> getDateAttributeValues(boolean quickSearchOnly) throws TorqueException DateAttribute List 를 구한다.- Overrides:
getDateAttributeValuesin classItemSearchImpl- Parameters:
quickSearchOnly-- Returns:
- attribute list
- Throws:
TorqueException
-
getNumberAttributeValues
protected List<AttributeValue> getNumberAttributeValues(boolean quickSearchOnly) throws TorqueException DOCUMENT ME!- Overrides:
getNumberAttributeValuesin classItemSearchImpl- Parameters:
quickSearchOnly- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!TorqueException
-
getRangeAttributeValues
RangeAttributeValues, Personal 은 제외한다.- Parameters:
quickSearchOnly- or not- Returns:
- List RangeAttributeValues
- Throws:
TorqueException
-
getTextAttributeValues
protected List<AttributeValue> getTextAttributeValues(boolean quickSearchOnly) throws TorqueException TextAttributeValues 만 구한다, Personal 은 제외한다.- Overrides:
getTextAttributeValuesin classItemSearchImpl- Parameters:
quickSearchOnly- or not- Returns:
- List TextAttributeValues
- Throws:
TorqueException
-
getPersonalAttributeValues
PersonalAttributeValues 만 구한다.- Returns:
- List TextAttributeValues
- Throws:
TorqueException
-
getFilteredDateAttributeValues
public List<AttributeValue> getFilteredDateAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredOptionAttribute 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List OptionAttribute
- Throws:
TorqueException
-
getFilteredNumberAttributeValues
public List<AttributeValue> getFilteredNumberAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredOptionAttribute 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List OptionAttribute
- Throws:
TorqueException
-
getFilteredOptionAttributeValues
public List<AttributeValue> getFilteredOptionAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredOptionAttribute 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List OptionAttribute
- Throws:
TorqueException
-
getFilteredCurriculumAttributeValues
public List<AttributeValue> getFilteredCurriculumAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredOptionAttribute 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List OptionAttribute
- Throws:
TorqueException
-
getFilteredRangeAttributeValues
public List<AttributeValue> getFilteredRangeAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredTextAttributeValues 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List TextAttributeValues
- Throws:
TorqueException
-
getFilteredTextAttributeValues
public List<AttributeValue> getFilteredTextAttributeValues(boolean quickSearchOnly) throws TorqueException FilteredTextAttributeValues 만 구한다.- Parameters:
quickSearchOnly- or not- Returns:
- List TextAttributeValues
- Throws:
TorqueException
-
getFilteredPersonalAttributeValues
FilteredTextAttributeValues 만 구한다.- Returns:
- List TextAttributeValues
- Throws:
TorqueException
-
getFilteredOptionTree
- Parameters:
attribute-- Throws:
TorqueException
-