1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.ServiceComponent;
18
19
32 public interface ServiceComponentPersistence extends BasePersistence<ServiceComponent> {
33 public void cacheResult(
34 com.liferay.portal.model.ServiceComponent serviceComponent);
35
36 public void cacheResult(
37 java.util.List<com.liferay.portal.model.ServiceComponent> serviceComponents);
38
39 public com.liferay.portal.model.ServiceComponent create(
40 long serviceComponentId);
41
42 public com.liferay.portal.model.ServiceComponent remove(
43 long serviceComponentId)
44 throws com.liferay.portal.NoSuchServiceComponentException,
45 com.liferay.portal.SystemException;
46
47
50 public com.liferay.portal.model.ServiceComponent update(
51 com.liferay.portal.model.ServiceComponent serviceComponent)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portal.model.ServiceComponent updateImpl(
55 com.liferay.portal.model.ServiceComponent serviceComponent,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portal.model.ServiceComponent findByPrimaryKey(
59 long serviceComponentId)
60 throws com.liferay.portal.NoSuchServiceComponentException,
61 com.liferay.portal.SystemException;
62
63 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
64 long serviceComponentId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
67 java.lang.String buildNamespace)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
71 java.lang.String buildNamespace, int start, int end)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
75 java.lang.String buildNamespace, int start, int end,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.SystemException;
78
79 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
80 java.lang.String buildNamespace,
81 com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.NoSuchServiceComponentException,
83 com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
86 java.lang.String buildNamespace,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.NoSuchServiceComponentException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
92 long serviceComponentId, java.lang.String buildNamespace,
93 com.liferay.portal.kernel.util.OrderByComparator obc)
94 throws com.liferay.portal.NoSuchServiceComponentException,
95 com.liferay.portal.SystemException;
96
97 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
98 java.lang.String buildNamespace, long buildNumber)
99 throws com.liferay.portal.NoSuchServiceComponentException,
100 com.liferay.portal.SystemException;
101
102 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
103 java.lang.String buildNamespace, long buildNumber)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
107 java.lang.String buildNamespace, long buildNumber,
108 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
109
110 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll()
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
114 int start, int end) throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
117 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException;
119
120 public void removeByBuildNamespace(java.lang.String buildNamespace)
121 throws com.liferay.portal.SystemException;
122
123 public void removeByBNS_BNU(java.lang.String buildNamespace,
124 long buildNumber)
125 throws com.liferay.portal.NoSuchServiceComponentException,
126 com.liferay.portal.SystemException;
127
128 public void removeAll() throws com.liferay.portal.SystemException;
129
130 public int countByBuildNamespace(java.lang.String buildNamespace)
131 throws com.liferay.portal.SystemException;
132
133 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
134 throws com.liferay.portal.SystemException;
135
136 public int countAll() throws com.liferay.portal.SystemException;
137 }