1
19
20 package com.liferay.portlet.tags.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface TagsSourcePersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.tags.model.TagsSource tagsSource);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.tags.model.TagsSource> tagsSources);
36
37 public void clearCache();
38
39 public com.liferay.portlet.tags.model.TagsSource create(long sourceId);
40
41 public com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.tags.NoSuchSourceException;
44
45 public com.liferay.portlet.tags.model.TagsSource remove(
46 com.liferay.portlet.tags.model.TagsSource tagsSource)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.tags.model.TagsSource update(
53 com.liferay.portlet.tags.model.TagsSource tagsSource)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.tags.model.TagsSource update(
70 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
71 throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.tags.model.TagsSource updateImpl(
74 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
78 long sourceId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.tags.NoSuchSourceException;
81
82 public com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
83 long sourceId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<Object> findWithDynamicQuery(
86 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<Object> findWithDynamicQuery(
90 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
91 int end) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll()
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
97 int start, int end) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
100 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public void removeAll() throws com.liferay.portal.SystemException;
104
105 public int countAll() throws com.liferay.portal.SystemException;
106 }