@ProviderType public class WSRPConsumerPortletLocalServiceWrapper extends java.lang.Object implements WSRPConsumerPortletLocalService, com.liferay.portal.kernel.service.ServiceWrapper<WSRPConsumerPortletLocalService>
WSRPConsumerPortletLocalService
.WSRPConsumerPortletLocalService
Constructor and Description |
---|
WSRPConsumerPortletLocalServiceWrapper(WSRPConsumerPortletLocalService wsrpConsumerPortletLocalService) |
Modifier and Type | Method and Description |
---|---|
WSRPConsumerPortlet |
addWSRPConsumerPortlet(long wsrpConsumerId,
java.lang.String name,
java.lang.String portletHandle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WSRPConsumerPortlet |
addWSRPConsumerPortlet(java.lang.String wsrpConsumerUuid,
java.lang.String name,
java.lang.String portletHandle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WSRPConsumerPortlet |
addWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet)
Adds the wsrp consumer portlet to the database.
|
WSRPConsumerPortlet |
createWSRPConsumerPortlet(long wsrpConsumerPortletId)
Creates a new wsrp consumer portlet with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
WSRPConsumerPortlet |
deleteWSRPConsumerPortlet(long wsrpConsumerPortletId)
Deletes the wsrp consumer portlet with the primary key from the database.
|
void |
deleteWSRPConsumerPortlet(java.lang.String wsrpConsumerPortletUuid) |
WSRPConsumerPortlet |
deleteWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet)
Deletes the wsrp consumer portlet from the database.
|
void |
deleteWSRPConsumerPortlets(long wsrpConsumerId) |
void |
destroyWSRPConsumerPortlet(long wsrpConsumerPortletId,
java.lang.String wsrpConsumerPortletUuid,
java.lang.String url) |
void |
destroyWSRPConsumerPortlets() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
WSRPConsumerPortlet |
fetchWSRPConsumerPortlet(long wsrpConsumerPortletId) |
WSRPConsumerPortlet |
fetchWSRPConsumerPortletByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wsrp consumer portlet with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
WSRPConsumerPortletLocalService |
getWrappedService() |
WSRPConsumerPortlet |
getWSRPConsumerPortlet(long wsrpConsumerPortletId)
Returns the wsrp consumer portlet with the primary key.
|
WSRPConsumerPortlet |
getWSRPConsumerPortlet(long wsrpConsumerId,
java.lang.String portletHandle) |
WSRPConsumerPortlet |
getWSRPConsumerPortlet(java.lang.String wsrpConsumerPortletUuid) |
WSRPConsumerPortlet |
getWSRPConsumerPortletByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wsrp consumer portlet with the matching UUID and company.
|
java.util.List<WSRPConsumerPortlet> |
getWSRPConsumerPortlets(int start,
int end)
Returns a range of all the wsrp consumer portlets.
|
java.util.List<WSRPConsumerPortlet> |
getWSRPConsumerPortlets(long wsrpConsumerId,
int start,
int end) |
int |
getWSRPConsumerPortletsCount()
Returns the number of wsrp consumer portlets.
|
int |
getWSRPConsumerPortletsCount(long wsrpConsumerId) |
void |
initFailedWSRPConsumerPortlets() |
void |
initWSRPConsumerPortlet(long companyId,
long wsrpConsumerId,
long wsrpConsumerPortletId,
java.lang.String wsrpConsumerPortletUuid,
java.lang.String name,
java.lang.String portletHandle) |
void |
initWSRPConsumerPortlets() |
void |
setWrappedService(WSRPConsumerPortletLocalService wsrpConsumerPortletLocalService) |
WSRPConsumerPortlet |
updateWSRPConsumerPortlet(long wsrpConsumerPortletId,
java.lang.String name) |
WSRPConsumerPortlet |
updateWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet)
Updates the wsrp consumer portlet in the database or adds it if it does not yet exist.
|
public WSRPConsumerPortletLocalServiceWrapper(WSRPConsumerPortletLocalService wsrpConsumerPortletLocalService)
public WSRPConsumerPortlet addWSRPConsumerPortlet(long wsrpConsumerId, java.lang.String name, java.lang.String portletHandle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet addWSRPConsumerPortlet(java.lang.String wsrpConsumerUuid, java.lang.String name, java.lang.String portletHandle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet addWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet)
addWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortlet
- the wsrp consumer portletpublic WSRPConsumerPortlet createWSRPConsumerPortlet(long wsrpConsumerPortletId)
createWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortletId
- the primary key for the new wsrp consumer portletpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface WSRPConsumerPortletLocalService
PortalException
public WSRPConsumerPortlet deleteWSRPConsumerPortlet(long wsrpConsumerPortletId) throws com.liferay.portal.kernel.exception.PortalException
deleteWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortletId
- the primary key of the wsrp consumer portletPortalException
- if a wsrp consumer portlet with the primary key could not be foundpublic void deleteWSRPConsumerPortlet(java.lang.String wsrpConsumerPortletUuid) throws com.liferay.portal.kernel.exception.PortalException
deleteWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet deleteWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet) throws com.liferay.portal.kernel.exception.PortalException
deleteWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortlet
- the wsrp consumer portletPortalException
public void deleteWSRPConsumerPortlets(long wsrpConsumerId) throws com.liferay.portal.kernel.exception.PortalException
deleteWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public void destroyWSRPConsumerPortlet(long wsrpConsumerPortletId, java.lang.String wsrpConsumerPortletUuid, java.lang.String url)
destroyWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
public void destroyWSRPConsumerPortlets() throws com.liferay.portal.kernel.exception.PortalException
destroyWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface WSRPConsumerPortletLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface WSRPConsumerPortletLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.wsrp.model.impl.WSRPConsumerPortletModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface WSRPConsumerPortletLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.wsrp.model.impl.WSRPConsumerPortletModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface WSRPConsumerPortletLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface WSRPConsumerPortletLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface WSRPConsumerPortletLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic WSRPConsumerPortlet fetchWSRPConsumerPortlet(long wsrpConsumerPortletId)
fetchWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
public WSRPConsumerPortlet fetchWSRPConsumerPortletByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchWSRPConsumerPortletByUuidAndCompanyId
in interface WSRPConsumerPortletLocalService
uuid
- the wsrp consumer portlet's UUIDcompanyId
- the primary key of the companynull
if a matching wsrp consumer portlet could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface WSRPConsumerPortletLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface WSRPConsumerPortletLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface WSRPConsumerPortletLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface WSRPConsumerPortletLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet getWSRPConsumerPortlet(long wsrpConsumerPortletId) throws com.liferay.portal.kernel.exception.PortalException
getWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortletId
- the primary key of the wsrp consumer portletPortalException
- if a wsrp consumer portlet with the primary key could not be foundpublic WSRPConsumerPortlet getWSRPConsumerPortlet(long wsrpConsumerId, java.lang.String portletHandle) throws com.liferay.portal.kernel.exception.PortalException
getWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet getWSRPConsumerPortlet(java.lang.String wsrpConsumerPortletUuid) throws com.liferay.portal.kernel.exception.PortalException
getWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet getWSRPConsumerPortletByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getWSRPConsumerPortletByUuidAndCompanyId
in interface WSRPConsumerPortletLocalService
uuid
- the wsrp consumer portlet's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching wsrp consumer portlet could not be foundpublic java.util.List<WSRPConsumerPortlet> getWSRPConsumerPortlets(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.wsrp.model.impl.WSRPConsumerPortletModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
start
- the lower bound of the range of wsrp consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)public java.util.List<WSRPConsumerPortlet> getWSRPConsumerPortlets(long wsrpConsumerId, int start, int end)
getWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
public int getWSRPConsumerPortletsCount()
getWSRPConsumerPortletsCount
in interface WSRPConsumerPortletLocalService
public int getWSRPConsumerPortletsCount(long wsrpConsumerId)
getWSRPConsumerPortletsCount
in interface WSRPConsumerPortletLocalService
public void initFailedWSRPConsumerPortlets()
initFailedWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
public void initWSRPConsumerPortlet(long companyId, long wsrpConsumerId, long wsrpConsumerPortletId, java.lang.String wsrpConsumerPortletUuid, java.lang.String name, java.lang.String portletHandle) throws com.liferay.portal.kernel.exception.PortalException
initWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public void initWSRPConsumerPortlets()
initWSRPConsumerPortlets
in interface WSRPConsumerPortletLocalService
public WSRPConsumerPortlet updateWSRPConsumerPortlet(long wsrpConsumerPortletId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
updateWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
com.liferay.portal.kernel.exception.PortalException
public WSRPConsumerPortlet updateWSRPConsumerPortlet(WSRPConsumerPortlet wsrpConsumerPortlet)
updateWSRPConsumerPortlet
in interface WSRPConsumerPortletLocalService
wsrpConsumerPortlet
- the wsrp consumer portletpublic WSRPConsumerPortletLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WSRPConsumerPortletLocalService>
public void setWrappedService(WSRPConsumerPortletLocalService wsrpConsumerPortletLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WSRPConsumerPortletLocalService>