1
14
15 package com.liferay.portlet.asset.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.asset.model.AssetTag;
20
21
34 public interface AssetTagPersistence extends BasePersistence<AssetTag> {
35 public void cacheResult(com.liferay.portlet.asset.model.AssetTag assetTag);
36
37 public void cacheResult(
38 java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags);
39
40 public com.liferay.portlet.asset.model.AssetTag create(long tagId);
41
42 public com.liferay.portlet.asset.model.AssetTag remove(long tagId)
43 throws com.liferay.portal.kernel.exception.SystemException,
44 com.liferay.portlet.asset.NoSuchTagException;
45
46 public com.liferay.portlet.asset.model.AssetTag updateImpl(
47 com.liferay.portlet.asset.model.AssetTag assetTag, boolean merge)
48 throws com.liferay.portal.kernel.exception.SystemException;
49
50 public com.liferay.portlet.asset.model.AssetTag findByPrimaryKey(long tagId)
51 throws com.liferay.portal.kernel.exception.SystemException,
52 com.liferay.portlet.asset.NoSuchTagException;
53
54 public com.liferay.portlet.asset.model.AssetTag fetchByPrimaryKey(
55 long tagId) throws com.liferay.portal.kernel.exception.SystemException;
56
57 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByGroupId(
58 long groupId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByGroupId(
62 long groupId, int start, int end)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByGroupId(
66 long groupId, int start, int end,
67 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public com.liferay.portlet.asset.model.AssetTag findByGroupId_First(
71 long groupId,
72 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
73 throws com.liferay.portal.kernel.exception.SystemException,
74 com.liferay.portlet.asset.NoSuchTagException;
75
76 public com.liferay.portlet.asset.model.AssetTag findByGroupId_Last(
77 long groupId,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.asset.NoSuchTagException;
81
82 public com.liferay.portlet.asset.model.AssetTag[] findByGroupId_PrevAndNext(
83 long tagId, long groupId,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.asset.NoSuchTagException;
87
88 public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByGroupId(
89 long groupId)
90 throws com.liferay.portal.kernel.exception.SystemException;
91
92 public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByGroupId(
93 long groupId, int start, int end)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByGroupId(
97 long groupId, int start, int end,
98 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findAll()
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findAll(
105 int start, int end)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findAll(
109 int start, int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public void removeByGroupId(long groupId)
114 throws com.liferay.portal.kernel.exception.SystemException;
115
116 public void removeAll()
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public int countByGroupId(long groupId)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public int filterCountByGroupId(long groupId)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public int countAll()
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
129 long pk) throws com.liferay.portal.kernel.exception.SystemException;
130
131 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
132 long pk, int start, int end)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
136 long pk, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public int getAssetEntriesSize(long pk)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public boolean containsAssetEntry(long pk, long assetEntryPK)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public boolean containsAssetEntries(long pk)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public void addAssetEntry(long pk, long assetEntryPK)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public void addAssetEntry(long pk,
153 com.liferay.portlet.asset.model.AssetEntry assetEntry)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public void addAssetEntries(long pk, long[] assetEntryPKs)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public void addAssetEntries(long pk,
160 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public void clearAssetEntries(long pk)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 public void removeAssetEntry(long pk, long assetEntryPK)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public void removeAssetEntry(long pk,
170 com.liferay.portlet.asset.model.AssetEntry assetEntry)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public void removeAssetEntries(long pk, long[] assetEntryPKs)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public void removeAssetEntries(long pk,
177 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public void setAssetEntries(long pk, long[] assetEntryPKs)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void setAssetEntries(long pk,
184 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
185 throws com.liferay.portal.kernel.exception.SystemException;
186 }