public class TrackTokenTransformer<T extends Token<T>,TR extends TrackToken> extends PersistTrackTransformer<T,TR>
curDateTime, trustEntityTimestamp
Constructor and Description |
---|
TrackTokenTransformer() |
TrackTokenTransformer(org.apache.commons.collections.Transformer persistTransformer) |
Modifier and Type | Method and Description |
---|---|
Function<T,TR> |
getTokenToTrack()
|
void |
setTokenToTrack(Function<T,TR> tokenToTrack)
|
protected TR |
track(T token)
Convert Entity to Trackable Object
|
actionOnTrack, getPersistTransformer, persist, setPersistTransformer
isTrustEntityTimestamp, setTrustEntityTimestamp, transform
public TrackTokenTransformer()
public TrackTokenTransformer(org.apache.commons.collections.Transformer persistTransformer)
@Transactional(readOnly=false) protected TR track(T token)
TrackTransformer
track
in class TrackTransformer<T extends Token<T>,TR extends TrackToken>
token
- as Entity type Track