@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
AccountGroupServiceUtil| Modifier and Type | Method and Description |
|---|---|
AccountGroup |
addAccountGroup(long userId,
java.lang.String description,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
AccountGroup |
deleteAccountGroup(long accountGroupId) |
void |
deleteAccountGroups(long[] accountGroupIds) |
AccountGroup |
fetchAccountGroupByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
AccountGroup |
getAccountGroup(long accountGroupId) |
java.util.List<AccountGroup> |
getAccountGroupsByAccountEntryId(long accountEntryId,
int start,
int end) |
int |
getAccountGroupsCountByAccountEntryId(long accountEntryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup> |
searchAccountGroups(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) |
AccountGroup |
updateAccountGroup(long accountGroupId,
java.lang.String description,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
AccountGroup |
updateExternalReferenceCode(long accountGroupId,
java.lang.String externalReferenceCode) |
AccountGroup addAccountGroup(long userId, java.lang.String description, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionAccountGroup deleteAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteAccountGroups(long[] accountGroupIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
AccountGroup fetchAccountGroupByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
AccountGroup getAccountGroup(long accountGroupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AccountGroup> getAccountGroupsByAccountEntryId(long accountEntryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAccountGroupsCountByAccountEntryId(long accountEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup> searchAccountGroups(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionAccountGroup updateAccountGroup(long accountGroupId, java.lang.String description, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionAccountGroup updateExternalReferenceCode(long accountGroupId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException