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> findAll()
89 throws com.liferay.portal.kernel.exception.SystemException;
90
91 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findAll(
92 int start, int end)
93 throws com.liferay.portal.kernel.exception.SystemException;
94
95 public java.util.List<com.liferay.portlet.asset.model.AssetTag> findAll(
96 int start, int end,
97 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public void removeByGroupId(long groupId)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public void removeAll()
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public int countByGroupId(long groupId)
107 throws com.liferay.portal.kernel.exception.SystemException;
108
109 public int countAll()
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
113 long pk) throws com.liferay.portal.kernel.exception.SystemException;
114
115 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
116 long pk, int start, int end)
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
120 long pk, int start, int end,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException;
123
124 public int getAssetEntriesSize(long pk)
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public boolean containsAssetEntry(long pk, long assetEntryPK)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public boolean containsAssetEntries(long pk)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public void addAssetEntry(long pk, long assetEntryPK)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public void addAssetEntry(long pk,
137 com.liferay.portlet.asset.model.AssetEntry assetEntry)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public void addAssetEntries(long pk, long[] assetEntryPKs)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public void addAssetEntries(long pk,
144 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147 public void clearAssetEntries(long pk)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public void removeAssetEntry(long pk, long assetEntryPK)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public void removeAssetEntry(long pk,
154 com.liferay.portlet.asset.model.AssetEntry assetEntry)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public void removeAssetEntries(long pk, long[] assetEntryPKs)
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 public void removeAssetEntries(long pk,
161 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
162 throws com.liferay.portal.kernel.exception.SystemException;
163
164 public void setAssetEntries(long pk, long[] assetEntryPKs)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public void setAssetEntries(long pk,
168 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
169 throws com.liferay.portal.kernel.exception.SystemException;
170 }