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 findByPrimaryKey(
53 long serviceComponentId)
54 throws com.liferay.portal.NoSuchServiceComponentException,
55 com.liferay.portal.SystemException;
56
57 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
58 long serviceComponentId) throws com.liferay.portal.SystemException;
59
60 public java.util.List findByBuildNamespace(java.lang.String buildNamespace)
61 throws com.liferay.portal.SystemException;
62
63 public java.util.List findByBuildNamespace(
64 java.lang.String buildNamespace, int begin, int end)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByBuildNamespace(
68 java.lang.String buildNamespace, int begin, int end,
69 com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
73 java.lang.String buildNamespace,
74 com.liferay.portal.kernel.util.OrderByComparator obc)
75 throws com.liferay.portal.NoSuchServiceComponentException,
76 com.liferay.portal.SystemException;
77
78 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
79 java.lang.String buildNamespace,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.NoSuchServiceComponentException,
82 com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
85 long serviceComponentId, java.lang.String buildNamespace,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.NoSuchServiceComponentException,
88 com.liferay.portal.SystemException;
89
90 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
91 java.lang.String buildNamespace, long buildNumber)
92 throws com.liferay.portal.NoSuchServiceComponentException,
93 com.liferay.portal.SystemException;
94
95 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
96 java.lang.String buildNamespace, long buildNumber)
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List findWithDynamicQuery(
100 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List findWithDynamicQuery(
104 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
105 int begin, int end) throws com.liferay.portal.SystemException;
106
107 public java.util.List findAll() throws com.liferay.portal.SystemException;
108
109 public java.util.List findAll(int begin, int end)
110 throws com.liferay.portal.SystemException;
111
112 public java.util.List findAll(int begin, int end,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.SystemException;
115
116 public void removeByBuildNamespace(java.lang.String buildNamespace)
117 throws com.liferay.portal.SystemException;
118
119 public void removeByBNS_BNU(java.lang.String buildNamespace,
120 long buildNumber)
121 throws com.liferay.portal.NoSuchServiceComponentException,
122 com.liferay.portal.SystemException;
123
124 public void removeAll() throws com.liferay.portal.SystemException;
125
126 public int countByBuildNamespace(java.lang.String buildNamespace)
127 throws com.liferay.portal.SystemException;
128
129 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
130 throws com.liferay.portal.SystemException;
131
132 public int countAll() throws com.liferay.portal.SystemException;
133 }