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