1
19
20 package com.liferay.portal.service.persistence;
21
22
28 public interface ServiceComponentPersistence extends BasePersistence {
29 public void cacheResult(
30 com.liferay.portal.model.ServiceComponent serviceComponent);
31
32 public void cacheResult(
33 java.util.List<com.liferay.portal.model.ServiceComponent> serviceComponents);
34
35 public void clearCache();
36
37 public com.liferay.portal.model.ServiceComponent create(
38 long serviceComponentId);
39
40 public com.liferay.portal.model.ServiceComponent remove(
41 long serviceComponentId)
42 throws com.liferay.portal.NoSuchServiceComponentException,
43 com.liferay.portal.SystemException;
44
45 public com.liferay.portal.model.ServiceComponent remove(
46 com.liferay.portal.model.ServiceComponent serviceComponent)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portal.model.ServiceComponent update(
53 com.liferay.portal.model.ServiceComponent serviceComponent)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portal.model.ServiceComponent update(
70 com.liferay.portal.model.ServiceComponent serviceComponent,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portal.model.ServiceComponent updateImpl(
74 com.liferay.portal.model.ServiceComponent serviceComponent,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 public com.liferay.portal.model.ServiceComponent findByPrimaryKey(
78 long serviceComponentId)
79 throws com.liferay.portal.NoSuchServiceComponentException,
80 com.liferay.portal.SystemException;
81
82 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
83 long serviceComponentId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
86 java.lang.String buildNamespace)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
90 java.lang.String buildNamespace, int start, int end)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
94 java.lang.String buildNamespace, int start, int end,
95 com.liferay.portal.kernel.util.OrderByComparator obc)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
99 java.lang.String buildNamespace,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.NoSuchServiceComponentException,
102 com.liferay.portal.SystemException;
103
104 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
105 java.lang.String buildNamespace,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.NoSuchServiceComponentException,
108 com.liferay.portal.SystemException;
109
110 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
111 long serviceComponentId, java.lang.String buildNamespace,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.NoSuchServiceComponentException,
114 com.liferay.portal.SystemException;
115
116 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
117 java.lang.String buildNamespace, long buildNumber)
118 throws com.liferay.portal.NoSuchServiceComponentException,
119 com.liferay.portal.SystemException;
120
121 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
122 java.lang.String buildNamespace, long buildNumber)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
126 java.lang.String buildNamespace, long buildNumber,
127 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
128
129 public java.util.List<Object> findWithDynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
131 throws com.liferay.portal.SystemException;
132
133 public java.util.List<Object> findWithDynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end) throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll()
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
141 int start, int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
144 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public void removeByBuildNamespace(java.lang.String buildNamespace)
148 throws com.liferay.portal.SystemException;
149
150 public void removeByBNS_BNU(java.lang.String buildNamespace,
151 long buildNumber)
152 throws com.liferay.portal.NoSuchServiceComponentException,
153 com.liferay.portal.SystemException;
154
155 public void removeAll() throws com.liferay.portal.SystemException;
156
157 public int countByBuildNamespace(java.lang.String buildNamespace)
158 throws com.liferay.portal.SystemException;
159
160 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
161 throws com.liferay.portal.SystemException;
162
163 public int countAll() throws com.liferay.portal.SystemException;
164 }