org.zeroexchange.visit
Class PersistentVisitService<T extends SharedViewable & Identifiable<?>>
java.lang.Object
org.zeroexchange.visit.PersistentVisitService<T>
- All Implemented Interfaces:
- VisitService<T>
- Direct Known Subclasses:
- DefaultTenderVisitService
public class PersistentVisitService<T extends SharedViewable & Identifiable<?>>
- extends Object
- implements VisitService<T>
- Author:
- black
Method Summary |
boolean |
isVisited(T object)
Returns true if the specified object is visited. |
T |
visited(T object)
Marks that object was viewed by the current user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentVisitService
public PersistentVisitService()
visited
@Transactional
public T visited(T object)
- Marks that object was viewed by the current user.
- Specified by:
visited
in interface VisitService<T extends SharedViewable & Identifiable<?>>
isVisited
public boolean isVisited(T object)
- Returns true if the specified object is visited.
- Specified by:
isVisited
in interface VisitService<T extends SharedViewable & Identifiable<?>>
Copyright © 2013. All Rights Reserved.