1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29 import com.liferay.portal.service.persistence.BasePersistence;
30
31
37 @Transactional(rollbackFor = {
38 PortalException.class, SystemException.class})
39 public interface TagsSourcePersistence extends BasePersistence {
40 public com.liferay.portlet.tags.model.TagsSource create(long sourceId);
41
42 public com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
43 throws com.liferay.portal.SystemException,
44 com.liferay.portlet.tags.NoSuchSourceException;
45
46 public com.liferay.portlet.tags.model.TagsSource remove(
47 com.liferay.portlet.tags.model.TagsSource tagsSource)
48 throws com.liferay.portal.SystemException;
49
50
53 public com.liferay.portlet.tags.model.TagsSource update(
54 com.liferay.portlet.tags.model.TagsSource tagsSource)
55 throws com.liferay.portal.SystemException;
56
57
70 public com.liferay.portlet.tags.model.TagsSource update(
71 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tags.model.TagsSource updateImpl(
75 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
76 throws com.liferay.portal.SystemException;
77
78 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
79 public com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
80 long sourceId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.tags.NoSuchSourceException;
83
84 public com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
85 long sourceId) throws com.liferay.portal.SystemException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public java.util.List<Object> findWithDynamicQuery(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90 throws com.liferay.portal.SystemException;
91
92 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93 public java.util.List<Object> findWithDynamicQuery(
94 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
95 int end) throws com.liferay.portal.SystemException;
96
97 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
98 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll()
99 throws com.liferay.portal.SystemException;
100
101 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
102 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
103 int start, int end) throws com.liferay.portal.SystemException;
104
105 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
106 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
107 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException;
109
110 public void removeAll() throws com.liferay.portal.SystemException;
111
112 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
113 public int countAll() throws com.liferay.portal.SystemException;
114 }