Package com.liferay.account.service
Class AccountGroupServiceUtil
java.lang.Object
com.liferay.account.service.AccountGroupServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountGroup
addAccountGroup
(long userId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AccountGroup
deleteAccountGroup
(long accountGroupId) static void
deleteAccountGroups
(long[] accountGroupIds) static AccountGroup
fetchAccountGroup
(long accountGroupId) static AccountGroup
fetchAccountGroupByExternalReferenceCode
(String externalReferenceCode, long companyId) static AccountGroup
getAccountGroup
(long accountGroupId) static List<AccountGroup>
getAccountGroupsByAccountEntryId
(long accountEntryId, int start, int end) static int
getAccountGroupsCountByAccountEntryId
(long accountEntryId) static String
Returns the OSGi service identifier.static AccountGroupService
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) static AccountGroup
updateAccountGroup
(long accountGroupId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AccountGroup
updateExternalReferenceCode
(long accountGroupId, String externalReferenceCode)
-
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
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
-