com.ebmwebsourcing.petalsview.service.flow
Interface FlowManager
- All Known Implementing Classes:
- FlowManagerImpl
public interface FlowManager
|
Method Summary |
int[] |
getAllFlowReferentialType()
|
com.ebmwebsourcing.petalsview.persistence.model.flow.Flow |
load(java.lang.String id)
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadAll()
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadAllStarted()
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadAllStartedByType(int type)
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadAllStartedByTypeWithDateFilter(int type,
java.util.Date startDate,
java.util.Date endDate)
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadAllStartedWithDateFilter(java.util.Date startDate,
java.util.Date endDate)
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadByType(int type)
|
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> |
loadUnknowsFlows()
|
void |
remove(java.lang.String id)
|
boolean |
removeByBlock(long d,
int type,
int limit,
java.lang.String urlAndName,
java.lang.String fileName,
boolean save)
|
void |
removeOldFlow(int type)
|
java.lang.String |
saveOrUpdate(com.ebmwebsourcing.petalsview.persistence.model.flow.Flow flow)
|
load
@Transactional(readOnly=true)
com.ebmwebsourcing.petalsview.persistence.model.flow.Flow load(java.lang.String id)
throws FlowException
- Throws:
FlowException
remove
@Transactional
void remove(java.lang.String id)
throws FlowException
- Throws:
FlowException
saveOrUpdate
@Transactional
java.lang.String saveOrUpdate(com.ebmwebsourcing.petalsview.persistence.model.flow.Flow flow)
throws FlowException
- Throws:
FlowException
loadAll
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadAll()
throws FlowException
- Throws:
FlowException
loadAllStarted
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadAllStarted()
throws FlowException
- Throws:
FlowException
loadByType
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadByType(int type)
throws FlowException
- Throws:
FlowException
loadAllStartedByType
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadAllStartedByType(int type)
throws FlowException
- Throws:
FlowException
loadAllStartedByTypeWithDateFilter
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadAllStartedByTypeWithDateFilter(int type,
java.util.Date startDate,
java.util.Date endDate)
throws FlowException
- Throws:
FlowException
loadAllStartedWithDateFilter
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadAllStartedWithDateFilter(java.util.Date startDate,
java.util.Date endDate)
throws FlowException
- Throws:
FlowException
loadUnknowsFlows
@Transactional(readOnly=true)
java.util.List<com.ebmwebsourcing.petalsview.persistence.model.flow.Flow> loadUnknowsFlows()
throws FlowException
- Throws:
FlowException
getAllFlowReferentialType
@Transactional(readOnly=true)
int[] getAllFlowReferentialType()
removeOldFlow
void removeOldFlow(int type)
throws FlowException,
java.lang.Exception
- Throws:
FlowException
java.lang.Exception
removeByBlock
@Transactional(propagation=REQUIRES_NEW)
boolean removeByBlock(long d,
int type,
int limit,
java.lang.String urlAndName,
java.lang.String fileName,
boolean save)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 eBMWebsourcing. All Rights Reserved.