Subversion Repositories SmartDukaan

Rev

Rev 3339 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3339 Rev 3390
Line 2... Line 2...
2
 * 
2
 * 
3
 */
3
 */
4
package in.shop2020.crm.persistence;
4
package in.shop2020.crm.persistence;
5
 
5
 
6
import in.shop2020.crm.domain.Activity;
6
import in.shop2020.crm.domain.Activity;
-
 
7
import in.shop2020.crm.domain.SearchFilter;
7
 
8
 
8
import java.util.List;
9
import java.util.List;
9
 
10
 
10
/**
11
/**
11
 * Ibatis mapper for activity table in database.
12
 * Ibatis mapper for activity table in database.
12
 *
13
 *
13
 * @author mandeep
14
 * @author mandeep
14
 */
15
 */
15
public interface ActivityMapper {
16
public interface ActivityMapper {
16
    public List<Activity> getActivities(Long customerId);
17
    public List<Activity> getActivities(SearchFilter searchFilter);
17
 
-
 
18
    public Activity getLastActivity(Long ticketId);
-
 
19
 
-
 
20
    public Activity getActivity(Long activityId);
-
 
21
 
18
 
22
    public void insertActivity(Activity activity);
19
    public void insertActivity(Activity activity);
23
 
20
 
24
    public List<Activity> getActivitiesForTicket(Long ticketId);
-
 
25
 
-
 
26
    public List<Activity> getActivitiesByCreator(long creatorId);
21
    public void markAsRead(long activityId);
27
}
22
}