1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface ServiceComponentPersistence {
32 public com.liferay.portal.model.ServiceComponent create(
33 long serviceComponentId);
34
35 public com.liferay.portal.model.ServiceComponent remove(
36 long serviceComponentId)
37 throws com.liferay.portal.NoSuchServiceComponentException,
38 com.liferay.portal.SystemException;
39
40 public com.liferay.portal.model.ServiceComponent remove(
41 com.liferay.portal.model.ServiceComponent serviceComponent)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portal.model.ServiceComponent update(
45 com.liferay.portal.model.ServiceComponent serviceComponent)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portal.model.ServiceComponent update(
49 com.liferay.portal.model.ServiceComponent serviceComponent,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portal.model.ServiceComponent updateImpl(
53 com.liferay.portal.model.ServiceComponent serviceComponent,
54 boolean merge) throws com.liferay.portal.SystemException;
55
56 public com.liferay.portal.model.ServiceComponent findByPrimaryKey(
57 long serviceComponentId)
58 throws com.liferay.portal.NoSuchServiceComponentException,
59 com.liferay.portal.SystemException;
60
61 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
62 long serviceComponentId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByBuildNamespace(java.lang.String buildNamespace)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByBuildNamespace(
68 java.lang.String buildNamespace, int begin, int end)
69 throws com.liferay.portal.SystemException;
70
71 public java.util.List findByBuildNamespace(
72 java.lang.String buildNamespace, int begin, int end,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
77 java.lang.String buildNamespace,
78 com.liferay.portal.kernel.util.OrderByComparator obc)
79 throws com.liferay.portal.NoSuchServiceComponentException,
80 com.liferay.portal.SystemException;
81
82 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
83 java.lang.String buildNamespace,
84 com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.NoSuchServiceComponentException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
89 long serviceComponentId, java.lang.String buildNamespace,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.NoSuchServiceComponentException,
92 com.liferay.portal.SystemException;
93
94 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
95 java.lang.String buildNamespace, long buildNumber)
96 throws com.liferay.portal.NoSuchServiceComponentException,
97 com.liferay.portal.SystemException;
98
99 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
100 java.lang.String buildNamespace, long buildNumber)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List findWithDynamicQuery(
104 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
105 throws com.liferay.portal.SystemException;
106
107 public java.util.List findWithDynamicQuery(
108 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
109 int begin, int end) throws com.liferay.portal.SystemException;
110
111 public java.util.List findAll() throws com.liferay.portal.SystemException;
112
113 public java.util.List findAll(int begin, int end)
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List findAll(int begin, int end,
117 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 }