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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException;
120
121 public void removeByBuildNamespace(java.lang.String buildNamespace)
122 throws com.liferay.portal.SystemException;
123
124 public void removeByBNS_BNU(java.lang.String buildNamespace,
125 long buildNumber)
126 throws com.liferay.portal.NoSuchServiceComponentException,
127 com.liferay.portal.SystemException;
128
129 public void removeAll() throws com.liferay.portal.SystemException;
130
131 public int countByBuildNamespace(java.lang.String buildNamespace)
132 throws com.liferay.portal.SystemException;
133
134 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
135 throws com.liferay.portal.SystemException;
136
137 public int countAll() throws com.liferay.portal.SystemException;
138 }