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