public class SXPElementLocalServiceWrapper extends java.lang.Object implements com.liferay.portal.kernel.service.ServiceWrapper<SXPElementLocalService>, SXPElementLocalService
SXPElementLocalService.SXPElementLocalService| Constructor and Description |
|---|
SXPElementLocalServiceWrapper(SXPElementLocalService sxpElementLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SXPElement |
addSXPElement(java.lang.String externalReferenceCode,
long userId,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String elementDefinitionJSON,
boolean readOnly,
java.lang.String schemaVersion,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SXPElement |
addSXPElement(SXPElement sxpElement)
Adds the sxp element to the database.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
SXPElement |
createSXPElement(long sxpElementId)
Creates a new sxp element with the primary key.
|
void |
deleteCompanySXPElements(long companyId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
SXPElement |
deleteSXPElement(long sxpElementId)
Deletes the sxp element with the primary key from the database.
|
SXPElement |
deleteSXPElement(SXPElement sxpElement)
Deletes the sxp element from the database.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.
|
SXPElement |
fetchSXPElement(long sxpElementId) |
SXPElement |
fetchSXPElementByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
SXPElement |
fetchSXPElementByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
SXPElement |
fetchSXPElementByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the sxp element 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) |
SXPElement |
getSXPElement(long sxpElementId)
Returns the sxp element with the primary key.
|
SXPElement |
getSXPElementByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
SXPElement |
getSXPElementByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the sxp element with the matching UUID and company.
|
java.util.List<SXPElement> |
getSXPElements(int start,
int end)
Returns a range of all the sxp elements.
|
java.util.List<SXPElement> |
getSXPElements(long companyId,
boolean readOnly) |
int |
getSXPElementsCount()
Returns the number of sxp elements.
|
SXPElementLocalService |
getWrappedService() |
void |
setWrappedService(SXPElementLocalService sxpElementLocalService) |
SXPElement |
updateStatus(long userId,
long sxpElementId,
int status) |
SXPElement |
updateSXPElement(long userId,
long sxpElementId,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String elementDefinitionJSON,
boolean hidden,
java.lang.String schemaVersion,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SXPElement |
updateSXPElement(SXPElement sxpElement)
Updates the sxp element in the database or adds it if it does not yet exist.
|
public SXPElementLocalServiceWrapper(SXPElementLocalService sxpElementLocalService)
public SXPElement addSXPElement(java.lang.String externalReferenceCode, long userId, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String elementDefinitionJSON, boolean readOnly, java.lang.String schemaVersion, java.util.Map<java.util.Locale,java.lang.String> titleMap, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addSXPElement in interface SXPElementLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SXPElement addSXPElement(SXPElement sxpElement)
Important: Inspect SXPElementLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addSXPElement in interface SXPElementLocalServicesxpElement - the sxp elementpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecreatePersistedModel in interface SXPElementLocalServicePortalExceptionpublic SXPElement createSXPElement(long sxpElementId)
createSXPElement in interface SXPElementLocalServicesxpElementId - the primary key for the new sxp elementpublic void deleteCompanySXPElements(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCompanySXPElements in interface SXPElementLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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.PersistedModelLocalServicedeletePersistedModel in interface SXPElementLocalServicePortalExceptionpublic SXPElement deleteSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SXPElementLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteSXPElement in interface SXPElementLocalServicesxpElementId - the primary key of the sxp elementPortalException - if a sxp element with the primary key could not be foundpublic SXPElement deleteSXPElement(SXPElement sxpElement) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SXPElementLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteSXPElement in interface SXPElementLocalServicesxpElement - the sxp elementPortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface SXPElementLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface SXPElementLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface SXPElementLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface SXPElementLocalServicedynamicQuery - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.search.experiences.model.impl.SXPElementModelImpl.
dynamicQuery in interface SXPElementLocalServicedynamicQuery - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.search.experiences.model.impl.SXPElementModelImpl.
dynamicQuery in interface SXPElementLocalServicedynamicQuery - 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 SXPElementLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface SXPElementLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SXPElement fetchSXPElement(long sxpElementId)
fetchSXPElement in interface SXPElementLocalService@Deprecated public SXPElement fetchSXPElementByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchSXPElementByExternalReferenceCode in interface SXPElementLocalService@Deprecated public SXPElement fetchSXPElementByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchSXPElementByReferenceCode in interface SXPElementLocalServicepublic SXPElement fetchSXPElementByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchSXPElementByUuidAndCompanyId in interface SXPElementLocalServiceuuid - the sxp element's UUIDcompanyId - the primary key of the companynull if a matching sxp element could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SXPElementLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface SXPElementLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SXPElementLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SXPElementLocalServicepublic 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.PersistedModelLocalServicegetPersistedModel in interface SXPElementLocalServicePortalExceptionpublic SXPElement getSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException
getSXPElement in interface SXPElementLocalServicesxpElementId - the primary key of the sxp elementPortalException - if a sxp element with the primary key could not be found@Deprecated public SXPElement getSXPElementByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getSXPElementByExternalReferenceCode in interface SXPElementLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SXPElement getSXPElementByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getSXPElementByUuidAndCompanyId in interface SXPElementLocalServiceuuid - the sxp element's UUIDcompanyId - the primary key of the companyPortalException - if a matching sxp element could not be foundpublic java.util.List<SXPElement> getSXPElements(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.search.experiences.model.impl.SXPElementModelImpl.
getSXPElements in interface SXPElementLocalServicestart - the lower bound of the range of sxp elementsend - the upper bound of the range of sxp elements (not inclusive)public java.util.List<SXPElement> getSXPElements(long companyId, boolean readOnly)
getSXPElements in interface SXPElementLocalServicepublic int getSXPElementsCount()
getSXPElementsCount in interface SXPElementLocalServicepublic SXPElement updateStatus(long userId, long sxpElementId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface SXPElementLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SXPElement updateSXPElement(long userId, long sxpElementId, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String elementDefinitionJSON, boolean hidden, java.lang.String schemaVersion, java.util.Map<java.util.Locale,java.lang.String> titleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateSXPElement in interface SXPElementLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SXPElement updateSXPElement(SXPElement sxpElement)
Important: Inspect SXPElementLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateSXPElement in interface SXPElementLocalServicesxpElement - the sxp elementpublic SXPElementLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SXPElementLocalService>public void setWrappedService(SXPElementLocalService sxpElementLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SXPElementLocalService>