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