Class DDMStorageLinkLocalServiceWrapper
- All Implemented Interfaces:
DDMStorageLinkLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<DDMStorageLink>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<DDMStorageLinkLocalService>
DDMStorageLinkLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionDDMStorageLinkLocalServiceWrapper(DDMStorageLinkLocalService ddmStorageLinkLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddDDMStorageLink(DDMStorageLink ddmStorageLink) Adds the ddm storage link to the database.addStorageLink(long classNameId, long classPK, long structureVersionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) createDDMStorageLink(long storageLinkId) Creates a new ddm storage link with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteClassStorageLink(long classPK) deleteDDMStorageLink(long storageLinkId) Deletes the ddm storage link with the primary key from the database.deleteDDMStorageLink(DDMStorageLink ddmStorageLink) Deletes the ddm storage link from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddeleteStorageLink(long storageLinkId) voiddeleteStorageLink(DDMStorageLink storageLink) voiddeleteStructureStorageLinks(long structureId) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchClassStorageLink(long classPK) fetchDDMStorageLink(long storageLinkId) fetchDDMStorageLinkByUuidAndCompanyId(String uuid, long companyId) Returns the ddm storage link with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getClassStorageLink(long classPK) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink>getDDMStorageLink(long storageLinkId) Returns the ddm storage link with the primary key.getDDMStorageLinkByUuidAndCompanyId(String uuid, long companyId) Returns the ddm storage link with the matching UUID and company.getDDMStorageLinks(int start, int end) Returns a range of all the ddm storage links.intReturns the number of ddm storage links.com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getStorageLink(long storageLinkId) getStructureStorageLinks(long structureId) intgetStructureStorageLinksCount(long structureId) getStructureVersionStorageLinks(long structureVersionId) intgetStructureVersionStorageLinksCount(long structureVersionId) voidsetWrappedService(DDMStorageLinkLocalService ddmStorageLinkLocalService) updateDDMStorageLink(DDMStorageLink ddmStorageLink) Updates the ddm storage link in the database or adds it if it does not yet exist.updateStorageLink(long storageLinkId, long classNameId, long classPK) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DDMStorageLinkLocalServiceWrapper
public DDMStorageLinkLocalServiceWrapper() -
DDMStorageLinkLocalServiceWrapper
-
-
Method Details
-
addDDMStorageLink
Adds the ddm storage link to the database. Also notifies the appropriate model listeners.Important: Inspect DDMStorageLinkLocalServiceImpl 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.
- Specified by:
addDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
ddmStorageLink- the ddm storage link- Returns:
- the ddm storage link that was added
-
addStorageLink
public DDMStorageLink addStorageLink(long classNameId, long classPK, long structureVersionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addStorageLinkin interfaceDDMStorageLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createDDMStorageLink
Creates a new ddm storage link with the primary key. Does not add the ddm storage link to the database.- Specified by:
createDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
storageLinkId- the primary key for the new ddm storage link- Returns:
- the new ddm storage link
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceDDMStorageLinkLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteClassStorageLink
public void deleteClassStorageLink(long classPK) - Specified by:
deleteClassStorageLinkin interfaceDDMStorageLinkLocalService
-
deleteDDMStorageLink
Deletes the ddm storage link from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStorageLinkLocalServiceImpl 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.
- Specified by:
deleteDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
ddmStorageLink- the ddm storage link- Returns:
- the ddm storage link that was removed
-
deleteDDMStorageLink
public DDMStorageLink deleteDDMStorageLink(long storageLinkId) throws com.liferay.portal.kernel.exception.PortalException Deletes the ddm storage link with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStorageLinkLocalServiceImpl 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.
- Specified by:
deleteDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
storageLinkId- the primary key of the ddm storage link- Returns:
- the ddm storage link that was removed
- Throws:
PortalException- if a ddm storage link with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceDDMStorageLinkLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteStorageLink
- Specified by:
deleteStorageLinkin interfaceDDMStorageLinkLocalService
-
deleteStorageLink
public void deleteStorageLink(long storageLinkId) - Specified by:
deleteStorageLinkin interfaceDDMStorageLinkLocalService
-
deleteStructureStorageLinks
public void deleteStructureStorageLinks(long structureId) - Specified by:
deleteStructureStorageLinksin interfaceDDMStorageLinkLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceDDMStorageLinkLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceDDMStorageLinkLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceDDMStorageLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceDDMStorageLinkLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStorageLinkModelImpl.- Specified by:
dynamicQueryin interfaceDDMStorageLinkLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStorageLinkModelImpl.- Specified by:
dynamicQueryin interfaceDDMStorageLinkLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceDDMStorageLinkLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCountin interfaceDDMStorageLinkLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchClassStorageLink
- Specified by:
fetchClassStorageLinkin interfaceDDMStorageLinkLocalService
-
fetchDDMStorageLink
- Specified by:
fetchDDMStorageLinkin interfaceDDMStorageLinkLocalService
-
fetchDDMStorageLinkByUuidAndCompanyId
Returns the ddm storage link with the matching UUID and company.- Specified by:
fetchDDMStorageLinkByUuidAndCompanyIdin interfaceDDMStorageLinkLocalService- Parameters:
uuid- the ddm storage link's UUIDcompanyId- the primary key of the company- Returns:
- the matching ddm storage link, or
nullif a matching ddm storage link could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceDDMStorageLinkLocalService
-
getClassStorageLink
public DDMStorageLink getClassStorageLink(long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getClassStorageLinkin interfaceDDMStorageLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStorageLink
public DDMStorageLink getDDMStorageLink(long storageLinkId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm storage link with the primary key.- Specified by:
getDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
storageLinkId- the primary key of the ddm storage link- Returns:
- the ddm storage link
- Throws:
PortalException- if a ddm storage link with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStorageLinkByUuidAndCompanyId
public DDMStorageLink getDDMStorageLinkByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm storage link with the matching UUID and company.- Specified by:
getDDMStorageLinkByUuidAndCompanyIdin interfaceDDMStorageLinkLocalService- Parameters:
uuid- the ddm storage link's UUIDcompanyId- the primary key of the company- Returns:
- the matching ddm storage link
- Throws:
PortalException- if a matching ddm storage link could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStorageLinks
Returns a range of all the ddm storage links.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStorageLinkModelImpl.- Specified by:
getDDMStorageLinksin interfaceDDMStorageLinkLocalService- Parameters:
start- the lower bound of the range of ddm storage linksend- the upper bound of the range of ddm storage links (not inclusive)- Returns:
- the range of ddm storage links
-
getDDMStorageLinksCount
public int getDDMStorageLinksCount()Returns the number of ddm storage links.- Specified by:
getDDMStorageLinksCountin interfaceDDMStorageLinkLocalService- Returns:
- the number of ddm storage links
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceDDMStorageLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDDMStorageLinkLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceDDMStorageLinkLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getStorageLink
public DDMStorageLink getStorageLink(long storageLinkId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStorageLinkin interfaceDDMStorageLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureStorageLinks
- Specified by:
getStructureStorageLinksin interfaceDDMStorageLinkLocalService
-
getStructureStorageLinksCount
public int getStructureStorageLinksCount(long structureId) - Specified by:
getStructureStorageLinksCountin interfaceDDMStorageLinkLocalService
-
getStructureVersionStorageLinks
- Specified by:
getStructureVersionStorageLinksin interfaceDDMStorageLinkLocalService
-
getStructureVersionStorageLinksCount
public int getStructureVersionStorageLinksCount(long structureVersionId) - Specified by:
getStructureVersionStorageLinksCountin interfaceDDMStorageLinkLocalService
-
updateDDMStorageLink
Updates the ddm storage link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DDMStorageLinkLocalServiceImpl 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.
- Specified by:
updateDDMStorageLinkin interfaceDDMStorageLinkLocalService- Parameters:
ddmStorageLink- the ddm storage link- Returns:
- the ddm storage link that was updated
-
updateStorageLink
public DDMStorageLink updateStorageLink(long storageLinkId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStorageLinkin interfaceDDMStorageLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStorageLink>- Specified by:
getCTPersistencein interfaceDDMStorageLinkLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStorageLink>- Specified by:
getModelClassin interfaceDDMStorageLinkLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStorageLink>- Specified by:
updateWithUnsafeFunctionin interfaceDDMStorageLinkLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStorageLinkLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStorageLinkLocalService>
-