Class AccountGroupRelLocalServiceWrapper

java.lang.Object
com.liferay.account.service.AccountGroupRelLocalServiceWrapper
All Implemented Interfaces:
AccountGroupRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AccountGroupRelLocalService>

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

    • AccountGroupRelLocalServiceWrapper

      public AccountGroupRelLocalServiceWrapper()
    • AccountGroupRelLocalServiceWrapper

      public AccountGroupRelLocalServiceWrapper(AccountGroupRelLocalService accountGroupRelLocalService)
  • Method Details

    • addAccountGroupRel

      public AccountGroupRel addAccountGroupRel(AccountGroupRel accountGroupRel)
      Adds the account group rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect AccountGroupRelLocalServiceImpl 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:
      addAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRel - the account group rel
      Returns:
      the account group rel that was added
    • addAccountGroupRel

      public AccountGroupRel addAccountGroupRel(long accountGroupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAccountGroupRel in interface AccountGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAccountGroupRels

      public void addAccountGroupRels(long accountGroupId, String className, long[] classPKs) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAccountGroupRels in interface AccountGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createAccountGroupRel

      public AccountGroupRel createAccountGroupRel(long accountGroupRelId)
      Creates a new account group rel with the primary key. Does not add the account group rel to the database.
      Specified by:
      createAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRelId - the primary key for the new account group rel
      Returns:
      the new account 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 AccountGroupRelLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountGroupRel

      public AccountGroupRel deleteAccountGroupRel(AccountGroupRel accountGroupRel)
      Deletes the account group rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect AccountGroupRelLocalServiceImpl 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:
      deleteAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRel - the account group rel
      Returns:
      the account group rel that was removed
    • deleteAccountGroupRel

      public AccountGroupRel deleteAccountGroupRel(long accountGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the account group rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect AccountGroupRelLocalServiceImpl 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:
      deleteAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRelId - the primary key of the account group rel
      Returns:
      the account group rel that was removed
      Throws:
      PortalException - if a account group rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountGroupRels

      public void deleteAccountGroupRels(long accountGroupId, String className, long[] classPKs) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAccountGroupRels in interface AccountGroupRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountGroupRels

      public void deleteAccountGroupRels(String className, long[] classPKs)
      Specified by:
      deleteAccountGroupRels in interface AccountGroupRelLocalService
    • deleteAccountGroupRelsByAccountGroupId

      public void deleteAccountGroupRelsByAccountGroupId(long accountGroupId)
      Specified by:
      deleteAccountGroupRelsByAccountGroupId in interface AccountGroupRelLocalService
    • 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 AccountGroupRelLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface AccountGroupRelLocalService
      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 AccountGroupRelLocalService
      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 AccountGroupRelLocalService
    • 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 AccountGroupRelLocalService
      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.account.model.impl.AccountGroupRelModelImpl.

      Specified by:
      dynamicQuery in interface AccountGroupRelLocalService
      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.account.model.impl.AccountGroupRelModelImpl.

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

      public AccountGroupRel fetchAccountGroupRel(long accountGroupRelId)
      Specified by:
      fetchAccountGroupRel in interface AccountGroupRelLocalService
    • fetchAccountGroupRel

      public AccountGroupRel fetchAccountGroupRel(long accountGroupId, String className, long classPK)
      Specified by:
      fetchAccountGroupRel in interface AccountGroupRelLocalService
    • getAccountGroupRel

      public AccountGroupRel getAccountGroupRel(long accountGroupRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the account group rel with the primary key.
      Specified by:
      getAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRelId - the primary key of the account group rel
      Returns:
      the account group rel
      Throws:
      PortalException - if a account group rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroupRels

      public List<AccountGroupRel> getAccountGroupRels(int start, int end)
      Returns a range of all the account 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.account.model.impl.AccountGroupRelModelImpl.

      Specified by:
      getAccountGroupRels in interface AccountGroupRelLocalService
      Parameters:
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      Returns:
      the range of account group rels
    • getAccountGroupRels

      public List<AccountGroupRel> getAccountGroupRels(long accountGroupId, String className)
      Specified by:
      getAccountGroupRels in interface AccountGroupRelLocalService
    • getAccountGroupRels

      public List<AccountGroupRel> getAccountGroupRels(long[] accountGroupIds, String className, long classPK, String keywords, int start, int end)
      Specified by:
      getAccountGroupRels in interface AccountGroupRelLocalService
    • getAccountGroupRels

      public List<AccountGroupRel> getAccountGroupRels(String className, long classPK)
      Specified by:
      getAccountGroupRels in interface AccountGroupRelLocalService
    • getAccountGroupRels

      public List<AccountGroupRel> getAccountGroupRels(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Specified by:
      getAccountGroupRels in interface AccountGroupRelLocalService
    • getAccountGroupRelsByAccountGroupId

      public List<AccountGroupRel> getAccountGroupRelsByAccountGroupId(long accountGroupId)
      Specified by:
      getAccountGroupRelsByAccountGroupId in interface AccountGroupRelLocalService
    • getAccountGroupRelsByAccountGroupId

      public List<AccountGroupRel> getAccountGroupRelsByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Specified by:
      getAccountGroupRelsByAccountGroupId in interface AccountGroupRelLocalService
    • getAccountGroupRelsCount

      public int getAccountGroupRelsCount()
      Returns the number of account group rels.
      Specified by:
      getAccountGroupRelsCount in interface AccountGroupRelLocalService
      Returns:
      the number of account group rels
    • getAccountGroupRelsCount

      public int getAccountGroupRelsCount(long[] accountGroupIds, String className, long classPK, String keywords)
      Specified by:
      getAccountGroupRelsCount in interface AccountGroupRelLocalService
    • getAccountGroupRelsCount

      public int getAccountGroupRelsCount(String className, long classPK)
      Specified by:
      getAccountGroupRelsCount in interface AccountGroupRelLocalService
    • getAccountGroupRelsCountByAccountGroupId

      public long getAccountGroupRelsCountByAccountGroupId(long accountGroupId)
      Specified by:
      getAccountGroupRelsCountByAccountGroupId in interface AccountGroupRelLocalService
    • getActionableDynamicQuery

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

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

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

      public AccountGroupRel updateAccountGroupRel(AccountGroupRel accountGroupRel)
      Updates the account group rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect AccountGroupRelLocalServiceImpl 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:
      updateAccountGroupRel in interface AccountGroupRelLocalService
      Parameters:
      accountGroupRel - the account group rel
      Returns:
      the account group rel that was updated
    • getBasePersistence

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

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

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