1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25
31 public interface TagsSourcePersistence {
32 public com.liferay.portlet.tags.model.TagsSource create(long sourceId);
33
34 public com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.tags.NoSuchSourceException;
37
38 public com.liferay.portlet.tags.model.TagsSource remove(
39 com.liferay.portlet.tags.model.TagsSource tagsSource)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.tags.model.TagsSource update(
43 com.liferay.portlet.tags.model.TagsSource tagsSource)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.tags.model.TagsSource update(
47 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
51 long sourceId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tags.NoSuchSourceException;
54
55 public com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
56 long sourceId) throws com.liferay.portal.SystemException;
57
58 public java.util.List findWithDynamicQuery(
59 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
60 throws com.liferay.portal.SystemException;
61
62 public java.util.List findWithDynamicQuery(
63 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
64 int begin, int end) throws com.liferay.portal.SystemException;
65
66 public java.util.List findAll() throws com.liferay.portal.SystemException;
67
68 public java.util.List findAll(int begin, int end)
69 throws com.liferay.portal.SystemException;
70
71 public java.util.List findAll(int begin, int end,
72 com.liferay.portal.kernel.util.OrderByComparator obc)
73 throws com.liferay.portal.SystemException;
74
75 public void removeAll() throws com.liferay.portal.SystemException;
76
77 public int countAll() throws com.liferay.portal.SystemException;
78 }