Interface AccountGroupService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
AccountGroupServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface AccountGroupService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for AccountGroup. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addAccountGroup

      AccountGroup addAccountGroup(long userId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountGroup

      AccountGroup deleteAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAccountGroups

      void deleteAccountGroups(long[] accountGroupIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchAccountGroup

      @Transactional(propagation=SUPPORTS, readOnly=true) AccountGroup fetchAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchAccountGroupByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) AccountGroup fetchAccountGroupByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroup

      @Transactional(propagation=SUPPORTS, readOnly=true) AccountGroup getAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroupsByAccountEntryId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<AccountGroup> getAccountGroupsByAccountEntryId(long accountEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroupsCountByAccountEntryId

      @Transactional(propagation=SUPPORTS, readOnly=true) int getAccountGroupsCountByAccountEntryId(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • searchAccountGroups

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup> searchAccountGroups(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAccountGroup

      AccountGroup updateAccountGroup(long accountGroupId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      AccountGroup updateExternalReferenceCode(long accountGroupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException