Package com.skava.promotion.process
Class ProjectNotesProcessBase<E,I>
java.lang.Object
com.skava.promotion.process.ProjectNotesProcessBase<E,I>
- All Implemented Interfaces:
BaseProcess<E,
I>
- Direct Known Subclasses:
ProjectNotesProcess
Class that hold the functionality to process project notes
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionHolds the instance of CollectionAttributeProcessHolds the instance of VersionProcess -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
versionProcess
Holds the instance of VersionProcess -
collectionAttributeProcess
Holds the instance of CollectionAttributeProcess
-
-
Constructor Details
-
ProjectNotesProcessBase
public ProjectNotesProcessBase()
-
-
Method Details
-
isIDExist
public boolean isIDExist(E entity, org.springframework.data.mongodb.repository.MongoRepository<E, I> repository) Functionality to check the existence of the ID- Specified by:
isIDExist
in interfaceBaseProcess<E,
I> - Parameters:
entity
- Generic type parameter E. It holds instance of entityrepository
- An Instance ofMongoRepository
OR extended instance ofMongoRepository
- Returns:
- return true if document exists. default false.
-
updateIdentifier
Functionality to update the Identifier- Specified by:
updateIdentifier
in interfaceBaseProcess<E,
I> - Parameters:
entity
- Generic type parameter E. It holds instance of entityretryCount
- Long value. Holds the unique identifier generation retry count
-