1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface ServiceComponentPersistence extends BasePersistence {
40 public void cacheResult(
41 com.liferay.portal.model.ServiceComponent serviceComponent);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portal.model.ServiceComponent> serviceComponents);
45
46 public void clearCache();
47
48 public com.liferay.portal.model.ServiceComponent create(
49 long serviceComponentId);
50
51 public com.liferay.portal.model.ServiceComponent remove(
52 long serviceComponentId)
53 throws com.liferay.portal.NoSuchServiceComponentException,
54 com.liferay.portal.SystemException;
55
56 public com.liferay.portal.model.ServiceComponent remove(
57 com.liferay.portal.model.ServiceComponent serviceComponent)
58 throws com.liferay.portal.SystemException;
59
60
63 public com.liferay.portal.model.ServiceComponent update(
64 com.liferay.portal.model.ServiceComponent serviceComponent)
65 throws com.liferay.portal.SystemException;
66
67
79 public com.liferay.portal.model.ServiceComponent update(
80 com.liferay.portal.model.ServiceComponent serviceComponent,
81 boolean merge) throws com.liferay.portal.SystemException;
82
83 public com.liferay.portal.model.ServiceComponent updateImpl(
84 com.liferay.portal.model.ServiceComponent serviceComponent,
85 boolean merge) throws com.liferay.portal.SystemException;
86
87 public com.liferay.portal.model.ServiceComponent findByPrimaryKey(
88 long serviceComponentId)
89 throws com.liferay.portal.NoSuchServiceComponentException,
90 com.liferay.portal.SystemException;
91
92 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
93 long serviceComponentId) throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
96 java.lang.String buildNamespace)
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
100 java.lang.String buildNamespace, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
104 java.lang.String buildNamespace, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
109 java.lang.String buildNamespace,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.NoSuchServiceComponentException,
112 com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
115 java.lang.String buildNamespace,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.NoSuchServiceComponentException,
118 com.liferay.portal.SystemException;
119
120 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
121 long serviceComponentId, java.lang.String buildNamespace,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.NoSuchServiceComponentException,
124 com.liferay.portal.SystemException;
125
126 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
127 java.lang.String buildNamespace, long buildNumber)
128 throws com.liferay.portal.NoSuchServiceComponentException,
129 com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
132 java.lang.String buildNamespace, long buildNumber)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
136 java.lang.String buildNamespace, long buildNumber,
137 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
138
139 public java.util.List<Object> findWithDynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<Object> findWithDynamicQuery(
144 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
145 int end) throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll()
148 throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
151 int start, int end) throws com.liferay.portal.SystemException;
152
153 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
154 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException;
156
157 public void removeByBuildNamespace(java.lang.String buildNamespace)
158 throws com.liferay.portal.SystemException;
159
160 public void removeByBNS_BNU(java.lang.String buildNamespace,
161 long buildNumber)
162 throws com.liferay.portal.NoSuchServiceComponentException,
163 com.liferay.portal.SystemException;
164
165 public void removeAll() throws com.liferay.portal.SystemException;
166
167 public int countByBuildNamespace(java.lang.String buildNamespace)
168 throws com.liferay.portal.SystemException;
169
170 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
171 throws com.liferay.portal.SystemException;
172
173 public int countAll() throws com.liferay.portal.SystemException;
174 }