Class WorkEffortSearch
- java.lang.Object
-
- org.apache.ofbiz.workeffort.workeffort.WorkEffortSearch
-
public class WorkEffortSearch extends java.lang.Object
Utilities for WorkEffort search based on various constraints including assocs, features and keywords. Search: WorkEffort fields: workEffortTypeId,workEffortPurposeTypeId,scopeEnumId, ??others WorkEffortKeyword - keyword search WorkEffortAssoc.workEffortIdTo,workEffortIdFrom,workEffortAssocTypeId Sub-tasks: WorkEffortAssoc.workEffortIdTo,workEffortIdFrom,workEffortAssocTypeId=WORK_EFF_BREAKDOWN for sub-tasks OR: (specific assoc and all sub-tasks) Sub-tasks: WorkEffort.workEffortParentId tree WorkEffortGoodStandard.productId WorkEffortPartyAssignment.partyId,roleTypeId Planned for later: WorkEffortFixedAssetAssign.fixedAssetId WorkEffortContent.contentId,workEffortContentTypeId WorkEffortBilling.invoiceId,invoiceItemSeqId CommunicationEventWorkEff.communicationEventId TimeEntry.partyId,rateTypeId,timesheetId,invoiceId,invoiceItemSeqId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkEffortSearch.KeywordConstraint
static class
WorkEffortSearch.LastUpdatedRangeConstraint
static class
WorkEffortSearch.PartyAssignmentConstraint
static class
WorkEffortSearch.ProductSetConstraint
static class
WorkEffortSearch.ResultSortOrder
static class
WorkEffortSearch.SortKeywordRelevancy
static class
WorkEffortSearch.SortWorkEffortField
static class
WorkEffortSearch.WorkEffortAssocConstraint
static class
WorkEffortSearch.WorkEffortReviewConstraint
static class
WorkEffortSearch.WorkEffortSearchConstraint
static class
WorkEffortSearch.WorkEffortSearchContext
-
Constructor Summary
Constructors Constructor Description WorkEffortSearch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
getAllSubWorkEffortIds(java.lang.String workEffortId, java.util.Set<java.lang.String> workEffortIdSet, Delegator delegator, java.sql.Timestamp nowTimestamp)
static java.util.ArrayList<java.lang.String>
searchWorkEfforts(java.util.List<? extends WorkEffortSearch.WorkEffortSearchConstraint> workEffortSearchConstraintList, WorkEffortSearch.ResultSortOrder resultSortOrder, Delegator delegator, java.lang.String visitId)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
searchWorkEfforts
public static java.util.ArrayList<java.lang.String> searchWorkEfforts(java.util.List<? extends WorkEffortSearch.WorkEffortSearchConstraint> workEffortSearchConstraintList, WorkEffortSearch.ResultSortOrder resultSortOrder, Delegator delegator, java.lang.String visitId)
-
getAllSubWorkEffortIds
public static void getAllSubWorkEffortIds(java.lang.String workEffortId, java.util.Set<java.lang.String> workEffortIdSet, Delegator delegator, java.sql.Timestamp nowTimestamp)
-
-