1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TagsEntryPersistence extends BasePersistence {
41 public void cacheResult(com.liferay.portlet.tags.model.TagsEntry tagsEntry);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries);
45
46 public void clearCache();
47
48 public com.liferay.portlet.tags.model.TagsEntry create(long entryId);
49
50 public com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.tags.NoSuchEntryException;
53
54 public com.liferay.portlet.tags.model.TagsEntry remove(
55 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
56 throws com.liferay.portal.SystemException;
57
58
61 public com.liferay.portlet.tags.model.TagsEntry update(
62 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
63 throws com.liferay.portal.SystemException;
64
65
77 public com.liferay.portlet.tags.model.TagsEntry update(
78 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.tags.model.TagsEntry updateImpl(
82 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.tags.model.TagsEntry findByPrimaryKey(
86 long entryId)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.tags.NoSuchEntryException;
89
90 public com.liferay.portlet.tags.model.TagsEntry fetchByPrimaryKey(
91 long entryId) throws com.liferay.portal.SystemException;
92
93 public com.liferay.portlet.tags.model.TagsEntry findByC_N(long companyId,
94 java.lang.String name)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.tags.NoSuchEntryException;
97
98 public com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId,
99 java.lang.String name) throws com.liferay.portal.SystemException;
100
101 public com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId,
102 java.lang.String name, boolean retrieveFromCache)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<Object> findWithDynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<Object> findWithDynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll()
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
117 int start, int end) throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
120 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException;
122
123 public void removeByC_N(long companyId, java.lang.String name)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.tags.NoSuchEntryException;
126
127 public void removeAll() throws com.liferay.portal.SystemException;
128
129 public int countByC_N(long companyId, java.lang.String name)
130 throws com.liferay.portal.SystemException;
131
132 public int countAll() throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
135 long pk) throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
138 long pk, int start, int end) throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
141 long pk, int start, int end,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException;
144
145 public int getTagsAssetsSize(long pk)
146 throws com.liferay.portal.SystemException;
147
148 public boolean containsTagsAsset(long pk, long tagsAssetPK)
149 throws com.liferay.portal.SystemException;
150
151 public boolean containsTagsAssets(long pk)
152 throws com.liferay.portal.SystemException;
153
154 public void addTagsAsset(long pk, long tagsAssetPK)
155 throws com.liferay.portal.SystemException;
156
157 public void addTagsAsset(long pk,
158 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
159 throws com.liferay.portal.SystemException;
160
161 public void addTagsAssets(long pk, long[] tagsAssetPKs)
162 throws com.liferay.portal.SystemException;
163
164 public void addTagsAssets(long pk,
165 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
166 throws com.liferay.portal.SystemException;
167
168 public void clearTagsAssets(long pk)
169 throws com.liferay.portal.SystemException;
170
171 public void removeTagsAsset(long pk, long tagsAssetPK)
172 throws com.liferay.portal.SystemException;
173
174 public void removeTagsAsset(long pk,
175 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
176 throws com.liferay.portal.SystemException;
177
178 public void removeTagsAssets(long pk, long[] tagsAssetPKs)
179 throws com.liferay.portal.SystemException;
180
181 public void removeTagsAssets(long pk,
182 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
183 throws com.liferay.portal.SystemException;
184
185 public void setTagsAssets(long pk, long[] tagsAssetPKs)
186 throws com.liferay.portal.SystemException;
187
188 public void setTagsAssets(long pk,
189 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
190 throws com.liferay.portal.SystemException;
191 }