Class WorkEffortSearch.WorkEffortSearchContext

  • Enclosing class:
    WorkEffortSearch

    public static class WorkEffortSearch.WorkEffortSearchContext
    extends java.lang.Object
    • Field Detail

      • index

        public int index
      • entityConditionList

        public java.util.List<EntityCondition> entityConditionList
      • orderByList

        public java.util.List<java.lang.String> orderByList
      • fieldsToSelect

        public java.util.List<java.lang.String> fieldsToSelect
      • workEffortIdGroupBy

        public boolean workEffortIdGroupBy
      • includedKeywordSearch

        public boolean includedKeywordSearch
      • nowTimestamp

        public java.sql.Timestamp nowTimestamp
      • keywordFixedOrSetAndList

        public java.util.List<java.util.Set<java.lang.String>> keywordFixedOrSetAndList
      • orKeywordFixedSet

        public java.util.Set<java.lang.String> orKeywordFixedSet
      • andKeywordFixedSet

        public java.util.Set<java.lang.String> andKeywordFixedSet
      • workEffortSearchConstraintList

        public java.util.List<GenericValue> workEffortSearchConstraintList
      • resultOffset

        public java.lang.Integer resultOffset
      • maxResults

        public java.lang.Integer maxResults
      • visitId

        protected java.lang.String visitId
      • totalResults

        protected java.lang.Integer totalResults
    • Constructor Detail

      • WorkEffortSearchContext

        public WorkEffortSearchContext​(Delegator delegator,
                                       java.lang.String visitId)
    • Method Detail

      • getDelegator

        public Delegator getDelegator()
      • setResultOffset

        public void setResultOffset​(java.lang.Integer resultOffset)
      • setMaxResults

        public void setMaxResults​(java.lang.Integer maxResults)
      • getTotalResults

        public java.lang.Integer getTotalResults()
      • doSearch

        public java.util.ArrayList<java.lang.String> doSearch()
      • finishKeywordConstraints

        public void finishKeywordConstraints()
      • doQuery

        public EntityListIterator doQuery​(Delegator delegator)
        Parameters:
        delegator - the delegator
        Returns:
        EntityListIterator representing the result of the query: NOTE THAT THIS MUST BE CLOSED WHEN YOU ARE DONE WITH IT (preferably in a finally block), AND DON'T LEAVE IT OPEN TOO LONG BECAUSE IT WILL MAINTAIN A DATABASE CONNECTION.
      • makeWorkEffortIdList

        public java.util.ArrayList<java.lang.String> makeWorkEffortIdList​(EntityListIterator eli)
      • saveSearchResultInfo

        public void saveSearchResultInfo​(java.lang.Long numResults,
                                         java.lang.Double secondsTotal)