1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.tags.model.TagsSource;
28
29
42 public interface TagsSourcePersistence extends BasePersistence<TagsSource> {
43 public void cacheResult(
44 com.liferay.portlet.tags.model.TagsSource tagsSource);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.tags.model.TagsSource> tagsSources);
48
49 public com.liferay.portlet.tags.model.TagsSource create(long sourceId);
50
51 public com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tags.NoSuchSourceException;
54
55
58 public com.liferay.portlet.tags.model.TagsSource update(
59 com.liferay.portlet.tags.model.TagsSource tagsSource)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.tags.model.TagsSource updateImpl(
63 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
67 long sourceId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.tags.NoSuchSourceException;
70
71 public com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
72 long sourceId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll()
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
78 int start, int end) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
81 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException;
83
84 public void removeAll() throws com.liferay.portal.SystemException;
85
86 public int countAll() throws com.liferay.portal.SystemException;
87 }