public class DDMDataProviderInstanceLocalServiceWrapper extends java.lang.Object implements DDMDataProviderInstanceLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMDataProviderInstanceLocalService>
DDMDataProviderInstanceLocalService
.DDMDataProviderInstanceLocalService
Constructor and Description |
---|
DDMDataProviderInstanceLocalServiceWrapper(DDMDataProviderInstanceLocalService ddmDataProviderInstanceLocalService) |
Modifier and Type | Method and Description |
---|---|
DDMDataProviderInstance |
addDataProviderInstance(long userId,
long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMFormValues ddmFormValues,
java.lang.String type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMDataProviderInstance |
addDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Adds the ddm data provider instance to the database.
|
DDMDataProviderInstance |
createDDMDataProviderInstance(long dataProviderInstanceId)
Creates a new ddm data provider instance with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteDataProviderInstance(DDMDataProviderInstance dataProviderInstance) |
void |
deleteDataProviderInstance(long dataProviderInstanceId) |
void |
deleteDataProviderInstances(long companyId,
long groupId) |
DDMDataProviderInstance |
deleteDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Deletes the ddm data provider instance from the database.
|
DDMDataProviderInstance |
deleteDDMDataProviderInstance(long dataProviderInstanceId)
Deletes the ddm data provider instance with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<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.
|
DDMDataProviderInstance |
fetchDataProviderInstance(long dataProviderInstanceId) |
DDMDataProviderInstance |
fetchDataProviderInstanceByUuid(java.lang.String uuid) |
DDMDataProviderInstance |
fetchDDMDataProviderInstance(long dataProviderInstanceId) |
DDMDataProviderInstance |
fetchDDMDataProviderInstanceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm data provider instance matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstance> |
getCTPersistence() |
DDMDataProviderInstance |
getDataProviderInstance(long dataProviderInstanceId) |
DDMDataProviderInstance |
getDataProviderInstanceByUuid(java.lang.String uuid) |
java.util.List<DDMDataProviderInstance> |
getDataProviderInstances(long[] groupIds) |
java.util.List<DDMDataProviderInstance> |
getDataProviderInstances(long[] groupIds,
int start,
int end) |
java.util.List<DDMDataProviderInstance> |
getDataProviderInstances(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) |
DDMDataProviderInstance |
getDDMDataProviderInstance(long dataProviderInstanceId)
Returns the ddm data provider instance with the primary key.
|
DDMDataProviderInstance |
getDDMDataProviderInstanceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm data provider instance matching the UUID and group.
|
java.util.List<DDMDataProviderInstance> |
getDDMDataProviderInstances(int start,
int end)
Returns a range of all the ddm data provider instances.
|
java.util.List<DDMDataProviderInstance> |
getDDMDataProviderInstancesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the ddm data provider instances matching the UUID and company.
|
java.util.List<DDMDataProviderInstance> |
getDDMDataProviderInstancesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns a range of ddm data provider instances matching the UUID and company.
|
int |
getDDMDataProviderInstancesCount()
Returns the number of ddm data provider instances.
|
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.Class<DDMDataProviderInstance> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMDataProviderInstanceLocalService |
getWrappedService() |
java.util.List<DDMDataProviderInstance> |
search(long companyId,
long[] groupIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) |
java.util.List<DDMDataProviderInstance> |
search(long companyId,
long[] groupIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) |
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String keywords) |
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String name,
java.lang.String description,
boolean andOperator) |
void |
setWrappedService(DDMDataProviderInstanceLocalService ddmDataProviderInstanceLocalService) |
DDMDataProviderInstance |
updateDataProviderInstance(long userId,
long dataProviderInstanceId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMDataProviderInstance |
updateDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Updates the ddm data provider instance in the database or adds it if it does not yet exist.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstance>,R,E> updateUnsafeFunction) |
public DDMDataProviderInstanceLocalServiceWrapper(DDMDataProviderInstanceLocalService ddmDataProviderInstanceLocalService)
public DDMDataProviderInstance addDataProviderInstance(long userId, long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMFormValues ddmFormValues, java.lang.String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addDataProviderInstance
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMDataProviderInstance addDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Important: Inspect DDMDataProviderInstanceLocalServiceImpl 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.
addDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
ddmDataProviderInstance
- the ddm data provider instancepublic DDMDataProviderInstance createDDMDataProviderInstance(long dataProviderInstanceId)
createDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
dataProviderInstanceId
- the primary key for the new ddm data provider instancepublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface DDMDataProviderInstanceLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public void deleteDataProviderInstance(DDMDataProviderInstance dataProviderInstance) throws com.liferay.portal.kernel.exception.PortalException
deleteDataProviderInstance
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteDataProviderInstance(long dataProviderInstanceId) throws com.liferay.portal.kernel.exception.PortalException
deleteDataProviderInstance
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteDataProviderInstances(long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
deleteDataProviderInstances
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMDataProviderInstance deleteDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Important: Inspect DDMDataProviderInstanceLocalServiceImpl 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.
deleteDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
ddmDataProviderInstance
- the ddm data provider instancepublic DDMDataProviderInstance deleteDDMDataProviderInstance(long dataProviderInstanceId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DDMDataProviderInstanceLocalServiceImpl 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.
deleteDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
dataProviderInstanceId
- the primary key of the ddm data provider instancePortalException
- if a ddm data provider instance with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface DDMDataProviderInstanceLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DDMDataProviderInstanceLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface DDMDataProviderInstanceLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMDataProviderInstanceLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DDMDataProviderInstanceLocalService
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 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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceModelImpl
.
dynamicQuery
in interface DDMDataProviderInstanceLocalService
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 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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceModelImpl
.
dynamicQuery
in interface DDMDataProviderInstanceLocalService
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 DDMDataProviderInstanceLocalService
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 DDMDataProviderInstanceLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DDMDataProviderInstance fetchDataProviderInstance(long dataProviderInstanceId)
fetchDataProviderInstance
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance fetchDataProviderInstanceByUuid(java.lang.String uuid)
fetchDataProviderInstanceByUuid
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance fetchDDMDataProviderInstance(long dataProviderInstanceId)
fetchDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance fetchDDMDataProviderInstanceByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDDMDataProviderInstanceByUuidAndGroupId
in interface DDMDataProviderInstanceLocalService
uuid
- the ddm data provider instance's UUIDgroupId
- the primary key of the groupnull
if a matching ddm data provider instance could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance getDataProviderInstance(long dataProviderInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getDataProviderInstance
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMDataProviderInstance getDataProviderInstanceByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.PortalException
getDataProviderInstanceByUuid
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DDMDataProviderInstance> getDataProviderInstances(long[] groupIds)
getDataProviderInstances
in interface DDMDataProviderInstanceLocalService
public java.util.List<DDMDataProviderInstance> getDataProviderInstances(long[] groupIds, int start, int end)
getDataProviderInstances
in interface DDMDataProviderInstanceLocalService
public java.util.List<DDMDataProviderInstance> getDataProviderInstances(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
getDataProviderInstances
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance getDDMDataProviderInstance(long dataProviderInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
dataProviderInstanceId
- the primary key of the ddm data provider instancePortalException
- if a ddm data provider instance with the primary key could not be foundpublic DDMDataProviderInstance getDDMDataProviderInstanceByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getDDMDataProviderInstanceByUuidAndGroupId
in interface DDMDataProviderInstanceLocalService
uuid
- the ddm data provider instance's UUIDgroupId
- the primary key of the groupPortalException
- if a matching ddm data provider instance could not be foundpublic java.util.List<DDMDataProviderInstance> getDDMDataProviderInstances(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.dynamic.data.mapping.model.impl.DDMDataProviderInstanceModelImpl
.
getDDMDataProviderInstances
in interface DDMDataProviderInstanceLocalService
start
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public java.util.List<DDMDataProviderInstance> getDDMDataProviderInstancesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDDMDataProviderInstancesByUuidAndCompanyId
in interface DDMDataProviderInstanceLocalService
uuid
- the UUID of the ddm data provider instancescompanyId
- the primary key of the companypublic java.util.List<DDMDataProviderInstance> getDDMDataProviderInstancesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
getDDMDataProviderInstancesByUuidAndCompanyId
in interface DDMDataProviderInstanceLocalService
uuid
- the UUID of the ddm data provider instancescompanyId
- the primary key of the companystart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getDDMDataProviderInstancesCount()
getDDMDataProviderInstancesCount
in interface DDMDataProviderInstanceLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface DDMDataProviderInstanceLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDMDataProviderInstanceLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DDMDataProviderInstanceLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DDMDataProviderInstanceLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public java.util.List<DDMDataProviderInstance> search(long companyId, long[] groupIds, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
search
in interface DDMDataProviderInstanceLocalService
public java.util.List<DDMDataProviderInstance> search(long companyId, long[] groupIds, java.lang.String name, java.lang.String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
search
in interface DDMDataProviderInstanceLocalService
public int searchCount(long companyId, long[] groupIds, java.lang.String keywords)
searchCount
in interface DDMDataProviderInstanceLocalService
public int searchCount(long companyId, long[] groupIds, java.lang.String name, java.lang.String description, boolean andOperator)
searchCount
in interface DDMDataProviderInstanceLocalService
public DDMDataProviderInstance updateDataProviderInstance(long userId, long dataProviderInstanceId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateDataProviderInstance
in interface DDMDataProviderInstanceLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMDataProviderInstance updateDDMDataProviderInstance(DDMDataProviderInstance ddmDataProviderInstance)
Important: Inspect DDMDataProviderInstanceLocalServiceImpl 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.
updateDDMDataProviderInstance
in interface DDMDataProviderInstanceLocalService
ddmDataProviderInstance
- the ddm data provider instancepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstance> getCTPersistence()
getCTPersistence
in interface DDMDataProviderInstanceLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMDataProviderInstance>
public java.lang.Class<DDMDataProviderInstance> getModelClass()
getModelClass
in interface DDMDataProviderInstanceLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMDataProviderInstance>
public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstance>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface DDMDataProviderInstanceLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMDataProviderInstance>
E extends java.lang.Throwable
public DDMDataProviderInstanceLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMDataProviderInstanceLocalService>
public void setWrappedService(DDMDataProviderInstanceLocalService ddmDataProviderInstanceLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMDataProviderInstanceLocalService>