001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.ServiceComponent;
018
019
025 public interface ServiceComponentPersistence extends BasePersistence<ServiceComponent> {
026 public void cacheResult(
027 com.liferay.portal.model.ServiceComponent serviceComponent);
028
029 public void cacheResult(
030 java.util.List<com.liferay.portal.model.ServiceComponent> serviceComponents);
031
032 public com.liferay.portal.model.ServiceComponent create(
033 long serviceComponentId);
034
035 public com.liferay.portal.model.ServiceComponent remove(
036 long serviceComponentId)
037 throws com.liferay.portal.NoSuchServiceComponentException,
038 com.liferay.portal.kernel.exception.SystemException;
039
040 public com.liferay.portal.model.ServiceComponent updateImpl(
041 com.liferay.portal.model.ServiceComponent serviceComponent,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.ServiceComponent findByPrimaryKey(
046 long serviceComponentId)
047 throws com.liferay.portal.NoSuchServiceComponentException,
048 com.liferay.portal.kernel.exception.SystemException;
049
050 public com.liferay.portal.model.ServiceComponent fetchByPrimaryKey(
051 long serviceComponentId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
055 java.lang.String buildNamespace)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
059 java.lang.String buildNamespace, int start, int end)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portal.model.ServiceComponent> findByBuildNamespace(
063 java.lang.String buildNamespace, int start, int end,
064 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065 throws com.liferay.portal.kernel.exception.SystemException;
066
067 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_First(
068 java.lang.String buildNamespace,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.NoSuchServiceComponentException,
071 com.liferay.portal.kernel.exception.SystemException;
072
073 public com.liferay.portal.model.ServiceComponent findByBuildNamespace_Last(
074 java.lang.String buildNamespace,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.NoSuchServiceComponentException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079 public com.liferay.portal.model.ServiceComponent[] findByBuildNamespace_PrevAndNext(
080 long serviceComponentId, java.lang.String buildNamespace,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.NoSuchServiceComponentException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085 public com.liferay.portal.model.ServiceComponent findByBNS_BNU(
086 java.lang.String buildNamespace, long buildNumber)
087 throws com.liferay.portal.NoSuchServiceComponentException,
088 com.liferay.portal.kernel.exception.SystemException;
089
090 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
091 java.lang.String buildNamespace, long buildNumber)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portal.model.ServiceComponent fetchByBNS_BNU(
095 java.lang.String buildNamespace, long buildNumber,
096 boolean retrieveFromCache)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll()
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
103 int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.List<com.liferay.portal.model.ServiceComponent> findAll(
107 int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public void removeByBuildNamespace(java.lang.String buildNamespace)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public void removeByBNS_BNU(java.lang.String buildNamespace,
115 long buildNumber)
116 throws com.liferay.portal.NoSuchServiceComponentException,
117 com.liferay.portal.kernel.exception.SystemException;
118
119 public void removeAll()
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public int countByBuildNamespace(java.lang.String buildNamespace)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public int countByBNS_BNU(java.lang.String buildNamespace, long buildNumber)
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public int countAll()
129 throws com.liferay.portal.kernel.exception.SystemException;
130 }