Class DefaultSegmentProcessHistoryService<P extends SegmentProcessHistory>
- java.lang.Object
 - 
- com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
 - 
- com.broadleafcommerce.customer.service.DefaultSegmentProcessHistoryService<P>
 
 
 
- 
- All Implemented Interfaces:
 SegmentProcessHistoryService<P>,com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
public class DefaultSegmentProcessHistoryService<P extends SegmentProcessHistory> extends com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P> implements SegmentProcessHistoryService<P>
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultSegmentProcessHistoryService(com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, SegmentProcessHistoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper crudEntityHelper) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SegmentProcessHistoryRepository<com.broadleafcommerce.data.tracking.core.Trackable>getRepo()protected PhydrateBulkUpdate(P segmentBulkProcess)org.springframework.data.domain.Page<P>readAllForSegment(String segmentId, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)Read bulk processes performed for a specific segmentPreadByContextId(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)- 
Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService
convertFromPersistentDomain, convertToPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, getRepository, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, update, updateAll, updateAllAllowingPartialSuccess, updateSort 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DefaultSegmentProcessHistoryService
public DefaultSegmentProcessHistoryService(com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, SegmentProcessHistoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper crudEntityHelper) 
 - 
 
- 
Method Detail
- 
readAllForSegment
public org.springframework.data.domain.Page<P> readAllForSegment(@NonNull String segmentId, @NonNull org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Description copied from interface:SegmentProcessHistoryServiceRead bulk processes performed for a specific segment- Specified by:
 readAllForSegmentin interfaceSegmentProcessHistoryService<P extends SegmentProcessHistory>- Parameters:
 segmentId- The segment IDcontext- Context information surrounding sandboxing and multitenant state- Returns:
 - A page of segment processed
 
 
- 
readByContextId
public P readByContextId(@NonNull String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
- Specified by:
 readByContextIdin interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends SegmentProcessHistory>- Overrides:
 readByContextIdin classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends SegmentProcessHistory>
 
- 
getRepo
protected SegmentProcessHistoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> getRepo()
 
 - 
 
 -