Class DefaultFileUploadStateService<P extends FileUploadState>

java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
com.broadleafcommerce.asset.service.DefaultFileUploadStateService<P>
All Implemented Interfaces:
FileUploadStateService<P>, com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>

@DataRouteByExample(Asset.class) public class DefaultFileUploadStateService<P extends FileUploadState> extends com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P> implements FileUploadStateService<P>
Author:
Dima Myroniuk (dmyroniuk), Nathan Moore (nathandmoore)
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultFileUploadStateService(FileUploadStateRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createBaseFileUploadState(String fileName, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Creates the FileUploadState with the fileName and the status FileUploadStatuses.SUCCESSFUL
    findAllByFileName(String fileName, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    Finds the FileUploadStates by name.
    protected FileUploadStateRepository<com.broadleafcommerce.data.tracking.core.Trackable>
     
    protected com.broadleafcommerce.common.extension.TypeFactory
     

    Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService

    convertFromPersistentDomain, convertToPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, readByContextId, 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, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
  • Constructor Details

    • DefaultFileUploadStateService

      public DefaultFileUploadStateService(FileUploadStateRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
  • Method Details