Coverage Report - org.kuali.rice.kew.docsearch.DocumentSearchCriteriaProcessor
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentSearchCriteriaProcessor
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kew.docsearch;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 import org.kuali.rice.kns.web.ui.Row;
 21  
 
 22  
 
 23  
 /**
 24  
  * This interface is used to define pre document search screen display processes for
 25  
  * a particular document type.
 26  
  *
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  *
 29  
  */
 30  
 public interface DocumentSearchCriteriaProcessor {
 31  
 
 32  
         public static final String PERSON_LOOKUPABLE = "UserLookupableImplService";
 33  
         public static final String WORKGROUP_LOOKUPABLE = "WorkGroupLookupableImplService";
 34  
         public static final String DOC_TYP_LOOKUPABLE = "DocumentTypeLookupableImplService";
 35  
 
 36  
     public static final String CRITERIA_KEYS_SUFFIX_RANGE_LOWER_BOUND = "From";
 37  
     public static final String CRITERIA_KEYS_SUFFIX_RANGE_UPPER_BOUND = "To";
 38  
 
 39  
     public static final String CRITERIA_KEY_NAMED_SEARCH = "namedSearch";
 40  
     public static final String CRITERIA_KEY_DOC_TYPE_FULL_NAME = "docTypeFullName";
 41  
     public static final String CRITERIA_KEY_INITIATOR = "initiator";
 42  
     public static final String CRITERIA_KEY_DOCUMENT_ID = "documentId";
 43  
     public static final String CRITERIA_KEY_VIEWER_ID = "viewerId";
 44  
     public static final String CRITERIA_KEY_APPROVER_ID = "approverId";
 45  
     public static final String CRITERIA_KEY_WORKGROUP_VIEWER = "workgroupViewer";
 46  
     public static final String CRITERIA_KEY_WORKGROUP_VIEWER_ID = "workgroupViewerId";
 47  
     public static final String CRITERIA_KEY_APPLICATION_DOCUMENT_ID = "applicationDocumentId";
 48  
     public static final String CRITERIA_KEY_DOCUMENT_TITLE = "documentTitle";
 49  
     public static final String CRITERIA_KEY_DOCUMENT_ROUTE_STATUS = "documentRouteStatus";
 50  
     public static final String CRITERIA_KEY_DOCUMENT_ROUTE_NODE = "documentRouteNode";
 51  
     public static final String CRITERIA_KEY_CREATE_DATE = "createDate";
 52  
     public static final String CRITERIA_KEY_LAST_MODIFIED_DATE = "lastModifiedDate";
 53  
     public static final String CRITERIA_KEY_FINALIZED_DATE = "finalizedDate";
 54  
     public static final String CRITERIA_KEY_APPROVED_DATE = "approvedDate";
 55  
     public static final String CRITERIA_KEY_APP_DOC_STATUS = "appDocStatus";
 56  
     public static final String CRITERIA_KEY_STATUS_TRANSITION_DATE = "statusTransitionDate";
 57  
 
 58  
         public void setSearchingUser(String principalId);
 59  
 
 60  
         public void setDocSearchCriteriaDTO(DocSearchCriteriaDTO docSearchCriteriaDTO);
 61  
 
 62  
         public DocSearchCriteriaDTO getDocSearchCriteriaDTO();
 63  
 
 64  
         public boolean isHeaderBarDisplayed();
 65  
 
 66  
     public Boolean isAdvancedSearchCriteriaDisplayed();
 67  
 
 68  
     public Boolean isBasicSearchCriteriaDisplayed();
 69  
 
 70  
     public List<Row> processSearchableAttributeRowsForBasicSearch(List<Row> searchableAttributeRows);
 71  
 
 72  
     public List<Row> processSearchableAttributeRowsForAdvancedSearch(List<Row> searchableAttributeRows);
 73  
 
 74  
         public StandardDocSearchCriteriaManager getBasicSearchManager();
 75  
 
 76  
         public StandardDocSearchCriteriaManager getAdvancedSearchManager();
 77  
 }