1
14
15 package com.liferay.portlet.tags.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.tags.model.TagsEntry;
20
21
34 public interface TagsEntryPersistence extends BasePersistence<TagsEntry> {
35 public void cacheResult(com.liferay.portlet.tags.model.TagsEntry tagsEntry);
36
37 public void cacheResult(
38 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries);
39
40 public com.liferay.portlet.tags.model.TagsEntry create(long entryId);
41
42 public com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
43 throws com.liferay.portal.SystemException,
44 com.liferay.portlet.tags.NoSuchEntryException;
45
46
49 public com.liferay.portlet.tags.model.TagsEntry update(
50 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
51 throws com.liferay.portal.SystemException;
52
53 public com.liferay.portlet.tags.model.TagsEntry updateImpl(
54 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
55 throws com.liferay.portal.SystemException;
56
57 public com.liferay.portlet.tags.model.TagsEntry findByPrimaryKey(
58 long entryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portlet.tags.NoSuchEntryException;
61
62 public com.liferay.portlet.tags.model.TagsEntry fetchByPrimaryKey(
63 long entryId) throws com.liferay.portal.SystemException;
64
65 public com.liferay.portlet.tags.model.TagsEntry findByC_N(long companyId,
66 java.lang.String name)
67 throws com.liferay.portal.SystemException,
68 com.liferay.portlet.tags.NoSuchEntryException;
69
70 public com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId,
71 java.lang.String name) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId,
74 java.lang.String name, boolean retrieveFromCache)
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll()
78 throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
81 int start, int end) throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
84 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.SystemException;
86
87 public void removeByC_N(long companyId, java.lang.String name)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.tags.NoSuchEntryException;
90
91 public void removeAll() throws com.liferay.portal.SystemException;
92
93 public int countByC_N(long companyId, java.lang.String name)
94 throws com.liferay.portal.SystemException;
95
96 public int countAll() throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
99 long pk) throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
102 long pk, int start, int end) throws com.liferay.portal.SystemException;
103
104 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
105 long pk, int start, int end,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException;
108
109 public int getTagsAssetsSize(long pk)
110 throws com.liferay.portal.SystemException;
111
112 public boolean containsTagsAsset(long pk, long tagsAssetPK)
113 throws com.liferay.portal.SystemException;
114
115 public boolean containsTagsAssets(long pk)
116 throws com.liferay.portal.SystemException;
117
118 public void addTagsAsset(long pk, long tagsAssetPK)
119 throws com.liferay.portal.SystemException;
120
121 public void addTagsAsset(long pk,
122 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
123 throws com.liferay.portal.SystemException;
124
125 public void addTagsAssets(long pk, long[] tagsAssetPKs)
126 throws com.liferay.portal.SystemException;
127
128 public void addTagsAssets(long pk,
129 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
130 throws com.liferay.portal.SystemException;
131
132 public void clearTagsAssets(long pk)
133 throws com.liferay.portal.SystemException;
134
135 public void removeTagsAsset(long pk, long tagsAssetPK)
136 throws com.liferay.portal.SystemException;
137
138 public void removeTagsAsset(long pk,
139 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
140 throws com.liferay.portal.SystemException;
141
142 public void removeTagsAssets(long pk, long[] tagsAssetPKs)
143 throws com.liferay.portal.SystemException;
144
145 public void removeTagsAssets(long pk,
146 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
147 throws com.liferay.portal.SystemException;
148
149 public void setTagsAssets(long pk, long[] tagsAssetPKs)
150 throws com.liferay.portal.SystemException;
151
152 public void setTagsAssets(long pk,
153 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
154 throws com.liferay.portal.SystemException;
155 }