Class AccountGroupServiceUtil

java.lang.Object
com.liferay.account.service.AccountGroupServiceUtil

public class AccountGroupServiceUtil extends Object
Provides the remote service utility for AccountGroup. This utility wraps com.liferay.account.service.impl.AccountGroupServiceImpl and is an access point for service operations in application layer code running on a remote server. 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:
  • Constructor Details

    • AccountGroupServiceUtil

      public AccountGroupServiceUtil()
  • Method Details

    • addAccountGroup

      public static 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

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

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

      public static AccountGroup fetchAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchAccountGroupByExternalReferenceCode

      public static AccountGroup fetchAccountGroupByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroup

      public static AccountGroup getAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroupsByAccountEntryId

      public static List<AccountGroup> getAccountGroupsByAccountEntryId(long accountEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAccountGroupsCountByAccountEntryId

      public static int getAccountGroupsCountByAccountEntryId(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public static 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

      public static 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

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

      public static AccountGroupService getService()