Class DepotEntryGroupRelLocalServiceWrapper

java.lang.Object
com.liferay.depot.service.DepotEntryGroupRelLocalServiceWrapper
All Implemented Interfaces:
DepotEntryGroupRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryGroupRel>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryGroupRelLocalService>

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

    • DepotEntryGroupRelLocalServiceWrapper

      public DepotEntryGroupRelLocalServiceWrapper()
    • DepotEntryGroupRelLocalServiceWrapper

      public DepotEntryGroupRelLocalServiceWrapper(DepotEntryGroupRelLocalService depotEntryGroupRelLocalService)
  • Method Details

    • addDepotEntryGroupRel

      public DepotEntryGroupRel addDepotEntryGroupRel(boolean ddmStructuresAvailable, long depotEntryId, long toGroupId, boolean searchable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDepotEntryGroupRel

      public DepotEntryGroupRel addDepotEntryGroupRel(DepotEntryGroupRel depotEntryGroupRel)
      Adds the depot entry group rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryGroupRelLocalServiceImpl 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:
      addDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRel - the depot entry group rel
      Returns:
      the depot entry group rel that was added
    • addDepotEntryGroupRel

      public DepotEntryGroupRel addDepotEntryGroupRel(long depotEntryId, long toGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDepotEntryGroupRel

      public DepotEntryGroupRel addDepotEntryGroupRel(long depotEntryId, long toGroupId, boolean searchable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createDepotEntryGroupRel

      public DepotEntryGroupRel createDepotEntryGroupRel(long depotEntryGroupRelId)
      Creates a new depot entry group rel with the primary key. Does not add the depot entry group rel to the database.
      Specified by:
      createDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRelId - the primary key for the new depot entry group rel
      Returns:
      the new depot entry group rel
    • createPersistedModel

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

      public DepotEntryGroupRel deleteDepotEntryGroupRel(DepotEntryGroupRel depotEntryGroupRel) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the depot entry group rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryGroupRelLocalServiceImpl 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:
      deleteDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRel - the depot entry group rel
      Returns:
      the depot entry group rel that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteDepotEntryGroupRel

      public DepotEntryGroupRel deleteDepotEntryGroupRel(long depotEntryGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the depot entry group rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryGroupRelLocalServiceImpl 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:
      deleteDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRelId - the primary key of the depot entry group rel
      Returns:
      the depot entry group rel that was removed
      Throws:
      PortalException - if a depot entry group rel with the primary key could not be found
      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 DepotEntryGroupRelLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteToGroupDepotEntryGroupRels

      public void deleteToGroupDepotEntryGroupRels(long toGroupId)
      Specified by:
      deleteToGroupDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface DepotEntryGroupRelLocalService
      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 DepotEntryGroupRelLocalService
      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 DepotEntryGroupRelLocalService
    • 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 DepotEntryGroupRelLocalService
      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.DepotEntryGroupRelModelImpl.

      Specified by:
      dynamicQuery in interface DepotEntryGroupRelLocalService
      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.DepotEntryGroupRelModelImpl.

      Specified by:
      dynamicQuery in interface DepotEntryGroupRelLocalService
      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 DepotEntryGroupRelLocalService
      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 DepotEntryGroupRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchDepotEntryGroupRel

      public DepotEntryGroupRel fetchDepotEntryGroupRel(long depotEntryGroupRelId)
      Specified by:
      fetchDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
    • fetchDepotEntryGroupRelByDepotEntryIdToGroupId

      public DepotEntryGroupRel fetchDepotEntryGroupRelByDepotEntryIdToGroupId(long depotEntryId, long toGroupId)
      Specified by:
      fetchDepotEntryGroupRelByDepotEntryIdToGroupId in interface DepotEntryGroupRelLocalService
    • fetchDepotEntryGroupRelByUuidAndGroupId

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

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

      public DepotEntryGroupRel getDepotEntryGroupRel(long depotEntryGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the depot entry group rel with the primary key.
      Specified by:
      getDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRelId - the primary key of the depot entry group rel
      Returns:
      the depot entry group rel
      Throws:
      PortalException - if a depot entry group rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDepotEntryGroupRelByDepotEntryIdToGroupId

      public DepotEntryGroupRel getDepotEntryGroupRelByDepotEntryIdToGroupId(long depotEntryId, long toGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDepotEntryGroupRelByDepotEntryIdToGroupId in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDepotEntryGroupRelByUuidAndGroupId

      public DepotEntryGroupRel getDepotEntryGroupRelByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the depot entry group rel matching the UUID and group.
      Specified by:
      getDepotEntryGroupRelByUuidAndGroupId in interface DepotEntryGroupRelLocalService
      Parameters:
      uuid - the depot entry group rel's UUID
      groupId - the primary key of the group
      Returns:
      the matching depot entry group rel
      Throws:
      PortalException - if a matching depot entry group rel could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDepotEntryGroupRels

      public List<DepotEntryGroupRel> getDepotEntryGroupRels(DepotEntry depotEntry)
      Specified by:
      getDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
    • getDepotEntryGroupRels

      public List<DepotEntryGroupRel> getDepotEntryGroupRels(DepotEntry depotEntry, int start, int end)
      Specified by:
      getDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
    • getDepotEntryGroupRels

      public List<DepotEntryGroupRel> getDepotEntryGroupRels(int start, int end)
      Returns a range of all the depot entry group rels.

      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.DepotEntryGroupRelModelImpl.

      Specified by:
      getDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
      Parameters:
      start - the lower bound of the range of depot entry group rels
      end - the upper bound of the range of depot entry group rels (not inclusive)
      Returns:
      the range of depot entry group rels
    • getDepotEntryGroupRels

      public List<DepotEntryGroupRel> getDepotEntryGroupRels(long groupId, int start, int end)
      Specified by:
      getDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
    • getDepotEntryGroupRelsByUuidAndCompanyId

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

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

      public int getDepotEntryGroupRelsCount()
      Returns the number of depot entry group rels.
      Specified by:
      getDepotEntryGroupRelsCount in interface DepotEntryGroupRelLocalService
      Returns:
      the number of depot entry group rels
    • getDepotEntryGroupRelsCount

      public int getDepotEntryGroupRelsCount(DepotEntry depotEntry)
      Specified by:
      getDepotEntryGroupRelsCount in interface DepotEntryGroupRelLocalService
    • getDepotEntryGroupRelsCount

      public int getDepotEntryGroupRelsCount(long groupId)
      Specified by:
      getDepotEntryGroupRelsCount in interface DepotEntryGroupRelLocalService
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface DepotEntryGroupRelLocalService
    • getIndexableActionableDynamicQuery

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

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

      public List<DepotEntryGroupRel> getSearchableDepotEntryGroupRels(long groupId, int start, int end)
      Specified by:
      getSearchableDepotEntryGroupRels in interface DepotEntryGroupRelLocalService
    • getSearchableDepotEntryGroupRelsCount

      public int getSearchableDepotEntryGroupRelsCount(long groupId)
      Specified by:
      getSearchableDepotEntryGroupRelsCount in interface DepotEntryGroupRelLocalService
    • updateDDMStructuresAvailable

      public DepotEntryGroupRel updateDDMStructuresAvailable(long depotEntryGroupRelId, boolean ddmStructuresAvailable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateDDMStructuresAvailable in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateDepotEntryGroupRel

      public DepotEntryGroupRel updateDepotEntryGroupRel(DepotEntryGroupRel depotEntryGroupRel)
      Updates the depot entry group rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect DepotEntryGroupRelLocalServiceImpl 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:
      updateDepotEntryGroupRel in interface DepotEntryGroupRelLocalService
      Parameters:
      depotEntryGroupRel - the depot entry group rel
      Returns:
      the depot entry group rel that was updated
    • updateSearchable

      public DepotEntryGroupRel updateSearchable(long depotEntryGroupRelId, boolean searchable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSearchable in interface DepotEntryGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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<DepotEntryGroupRel> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<DepotEntryGroupRel>
      Specified by:
      getCTPersistence in interface DepotEntryGroupRelLocalService
    • getModelClass

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

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

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

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