1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TagsSourcePersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.tags.model.TagsSource tagsSource);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.tags.model.TagsSource> tagsSources);
46
47 public void clearCache();
48
49 public com.liferay.portlet.tags.model.TagsSource create(long sourceId);
50
51 public com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tags.NoSuchSourceException;
54
55 public com.liferay.portlet.tags.model.TagsSource remove(
56 com.liferay.portlet.tags.model.TagsSource tagsSource)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.tags.model.TagsSource update(
63 com.liferay.portlet.tags.model.TagsSource tagsSource)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.tags.model.TagsSource update(
79 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
80 throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.tags.model.TagsSource updateImpl(
83 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
87 long sourceId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.tags.NoSuchSourceException;
90
91 public com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
92 long sourceId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<Object> findWithDynamicQuery(
95 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<Object> findWithDynamicQuery(
99 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
100 int end) throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll()
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
106 int start, int end) throws com.liferay.portal.SystemException;
107
108 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
109 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException;
111
112 public void removeAll() throws com.liferay.portal.SystemException;
113
114 public int countAll() throws com.liferay.portal.SystemException;
115 }