Class DepotEntryPinLocalServiceWrapper

java.lang.Object
com.liferay.depot.service.DepotEntryPinLocalServiceWrapper
All Implemented Interfaces:
DepotEntryPinLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryPin>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryPinLocalService>

public class DepotEntryPinLocalServiceWrapper extends Object implements DepotEntryPinLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryPinLocalService>
Provides a wrapper for DepotEntryPinLocalService.
See Also:
Generated:
  • Constructor Details

    • DepotEntryPinLocalServiceWrapper

      public DepotEntryPinLocalServiceWrapper()
    • DepotEntryPinLocalServiceWrapper

      public DepotEntryPinLocalServiceWrapper(DepotEntryPinLocalService depotEntryPinLocalService)
  • Method Details

    • addDepotEntryPin

      public DepotEntryPin addDepotEntryPin(DepotEntryPin depotEntryPin)
      Adds the depot entry pin to the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryPinLocalServiceImpl 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:
      addDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPin - the depot entry pin
      Returns:
      the depot entry pin that was added
    • addDepotEntryPin

      public DepotEntryPin addDepotEntryPin(long userId, long depotEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDepotEntryPin in interface DepotEntryPinLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createDepotEntryPin

      public DepotEntryPin createDepotEntryPin(long depotEntryPinId)
      Creates a new depot entry pin with the primary key. Does not add the depot entry pin to the database.
      Specified by:
      createDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPinId - the primary key for the new depot entry pin
      Returns:
      the new depot entry pin
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface DepotEntryPinLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • deleteDepotEntryDepotEntryPins

      public void deleteDepotEntryDepotEntryPins(long depotEntryId)
      Specified by:
      deleteDepotEntryDepotEntryPins in interface DepotEntryPinLocalService
    • deleteDepotEntryPin

      public DepotEntryPin deleteDepotEntryPin(DepotEntryPin depotEntryPin)
      Deletes the depot entry pin from the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryPinLocalServiceImpl 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:
      deleteDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPin - the depot entry pin
      Returns:
      the depot entry pin that was removed
    • deleteDepotEntryPin

      public DepotEntryPin deleteDepotEntryPin(long depotEntryPinId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the depot entry pin with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryPinLocalServiceImpl 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:
      deleteDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPinId - the primary key of the depot entry pin
      Returns:
      the depot entry pin that was removed
    • deleteDepotEntryPin

      public DepotEntryPin deleteDepotEntryPin(long userId, long depotEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteDepotEntryPin in interface DepotEntryPinLocalService
      Throws:
      com.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:
      deletePersistedModel in interface DepotEntryPinLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • deleteUserDepotEntryPins

      public void deleteUserDepotEntryPins(long userId)
      Specified by:
      deleteUserDepotEntryPins in interface DepotEntryPinLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface DepotEntryPinLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface DepotEntryPinLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface DepotEntryPinLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface DepotEntryPinLocalService
      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 - 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.depot.model.impl.DepotEntryPinModelImpl.

      Specified by:
      dynamicQuery in interface DepotEntryPinLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - 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 - 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.depot.model.impl.DepotEntryPinModelImpl.

      Specified by:
      dynamicQuery in interface DepotEntryPinLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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:
      dynamicQueryCount in interface DepotEntryPinLocalService
      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:
      dynamicQueryCount in interface DepotEntryPinLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchDepotEntryPin

      public DepotEntryPin fetchDepotEntryPin(long depotEntryPinId)
      Specified by:
      fetchDepotEntryPin in interface DepotEntryPinLocalService
    • fetchDepotEntryPinByUuidAndGroupId

      public DepotEntryPin fetchDepotEntryPinByUuidAndGroupId(String uuid, long groupId)
      Returns the depot entry pin matching the UUID and group.
      Specified by:
      fetchDepotEntryPinByUuidAndGroupId in interface DepotEntryPinLocalService
      Parameters:
      uuid - the depot entry pin's UUID
      groupId - the primary key of the group
      Returns:
      the matching depot entry pin, or null if a matching depot entry pin could not be found
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface DepotEntryPinLocalService
    • getDepotEntryDepotEntryPins

      public List<DepotEntryPin> getDepotEntryDepotEntryPins(long depotEntryId, int start, int end)
      Specified by:
      getDepotEntryDepotEntryPins in interface DepotEntryPinLocalService
    • getDepotEntryDepotEntryPinsCount

      public int getDepotEntryDepotEntryPinsCount(long depotEntryId)
      Specified by:
      getDepotEntryDepotEntryPinsCount in interface DepotEntryPinLocalService
    • getDepotEntryPin

      public DepotEntryPin getDepotEntryPin(long depotEntryPinId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the depot entry pin with the primary key.
      Specified by:
      getDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPinId - the primary key of the depot entry pin
      Returns:
      the depot entry pin
    • getDepotEntryPin

      public DepotEntryPin getDepotEntryPin(long userId, long depotEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDepotEntryPin in interface DepotEntryPinLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDepotEntryPinByUuidAndGroupId

      public DepotEntryPin getDepotEntryPinByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the depot entry pin matching the UUID and group.
      Specified by:
      getDepotEntryPinByUuidAndGroupId in interface DepotEntryPinLocalService
      Parameters:
      uuid - the depot entry pin's UUID
      groupId - the primary key of the group
      Returns:
      the matching depot entry pin
    • getDepotEntryPins

      public List<DepotEntryPin> getDepotEntryPins(int start, int end)
      Returns a range of all the depot entry pins.

      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.depot.model.impl.DepotEntryPinModelImpl.

      Specified by:
      getDepotEntryPins in interface DepotEntryPinLocalService
      Parameters:
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      Returns:
      the range of depot entry pins
    • getDepotEntryPinsByUuidAndCompanyId

      public List<DepotEntryPin> getDepotEntryPinsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the depot entry pins matching the UUID and company.
      Specified by:
      getDepotEntryPinsByUuidAndCompanyId in interface DepotEntryPinLocalService
      Parameters:
      uuid - the UUID of the depot entry pins
      companyId - the primary key of the company
      Returns:
      the matching depot entry pins, or an empty list if no matches were found
    • getDepotEntryPinsByUuidAndCompanyId

      public List<DepotEntryPin> getDepotEntryPinsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator)
      Returns a range of depot entry pins matching the UUID and company.
      Specified by:
      getDepotEntryPinsByUuidAndCompanyId in interface DepotEntryPinLocalService
      Parameters:
      uuid - the UUID of the depot entry pins
      companyId - the primary key of the company
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching depot entry pins, or an empty list if no matches were found
    • getDepotEntryPinsCount

      public int getDepotEntryPinsCount()
      Returns the number of depot entry pins.
      Specified by:
      getDepotEntryPinsCount in interface DepotEntryPinLocalService
      Returns:
      the number of depot entry pins
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface DepotEntryPinLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface DepotEntryPinLocalService
      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:
      getPersistedModel in interface DepotEntryPinLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getUserDepotEntryPins

      public List<DepotEntryPin> getUserDepotEntryPins(long userId, int start, int end)
      Specified by:
      getUserDepotEntryPins in interface DepotEntryPinLocalService
    • getUserDepotEntryPinsCount

      public int getUserDepotEntryPinsCount(long userId)
      Specified by:
      getUserDepotEntryPinsCount in interface DepotEntryPinLocalService
    • updateDepotEntryPin

      public DepotEntryPin updateDepotEntryPin(DepotEntryPin depotEntryPin)
      Updates the depot entry pin in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryPinLocalServiceImpl 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:
      updateDepotEntryPin in interface DepotEntryPinLocalService
      Parameters:
      depotEntryPin - the depot entry pin
      Returns:
      the depot entry pin that was updated
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotEntryPin> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryPin>
      Specified by:
      getCTPersistence in interface DepotEntryPinLocalService
    • getModelClass

      public Class<DepotEntryPin> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryPin>
      Specified by:
      getModelClass in interface DepotEntryPinLocalService
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotEntryPin>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryPin>
      Specified by:
      updateWithUnsafeFunction in interface DepotEntryPinLocalService
      Throws:
      E
    • getWrappedService

      public DepotEntryPinLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryPinLocalService>
    • setWrappedService

      public void setWrappedService(DepotEntryPinLocalService depotEntryPinLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryPinLocalService>