Package com.liferay.account.service
Interface AccountEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
AccountEntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AccountEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for AccountEntry. 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 Summary
Modifier and TypeMethodDescriptionvoid
activateAccountEntries
(long[] accountEntryIds) activateAccountEntry
(long accountEntryId) addAccountEntry
(long userId, long parentAccountEntryId, String name, String description, String[] domains, String email, byte[] logoBytes, String taxIdNumber, String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateAccountEntry
(String externalReferenceCode, long userId, long parentAccountEntryId, String name, String description, String[] domains, String emailAddress, byte[] logoBytes, String taxIdNumber, String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deactivateAccountEntries
(long[] accountEntryIds) deactivateAccountEntry
(long accountEntryId) void
deleteAccountEntries
(long[] accountEntryIds) void
deleteAccountEntry
(long accountEntryId) fetchAccountEntry
(long accountEntryId) fetchAccountEntryByExternalReferenceCode
(long companyId, String externalReferenceCode) getAccountEntries
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) getAccountEntry
(long accountEntryId) getAccountEntryByExternalReferenceCode
(String externalReferenceCode, long companyId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry>
searchAccountEntries
(String keywords, LinkedHashMap<String, Object> params, int cur, int delta, String orderByField, boolean reverse) updateAccountEntry
(long accountEntryId, long parentAccountEntryId, String name, String description, boolean deleteLogo, String[] domains, String emailAddress, byte[] logoBytes, String taxIdNumber, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateAccountEntry
(AccountEntry accountEntry) updateDefaultBillingAddressId
(long accountEntryId, long addressId) updateDefaultShippingAddressId
(long accountEntryId, long addressId) updateDomains
(long accountEntryId, String[] domains) updateExternalReferenceCode
(long accountEntryId, String externalReferenceCode) updateRestrictMembership
(long accountEntryId, boolean restrictMembership)
-
Method Details
-
activateAccountEntries
void activateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateAccountEntry
AccountEntry activateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAccountEntry
AccountEntry addAccountEntry(long userId, long parentAccountEntryId, String name, String description, String[] domains, String email, byte[] logoBytes, String taxIdNumber, String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateAccountEntry
AccountEntry addOrUpdateAccountEntry(String externalReferenceCode, long userId, long parentAccountEntryId, String name, String description, String[] domains, String emailAddress, byte[] logoBytes, String taxIdNumber, String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntries
void deactivateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntry
AccountEntry deactivateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntries
void deleteAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntry
void deleteAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchAccountEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AccountEntry fetchAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchAccountEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) AccountEntry fetchAccountEntryByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<AccountEntry> getAccountEntries(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AccountEntry getAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) AccountEntry getAccountEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
-
searchAccountEntries
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry> searchAccountEntries(String keywords, LinkedHashMap<String, Object> params, int cur, int delta, String orderByField, boolean reverse) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAccountEntry
AccountEntry updateAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAccountEntry
AccountEntry updateAccountEntry(long accountEntryId, long parentAccountEntryId, String name, String description, boolean deleteLogo, String[] domains, String emailAddress, byte[] logoBytes, String taxIdNumber, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultBillingAddressId
AccountEntry updateDefaultBillingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultShippingAddressId
AccountEntry updateDefaultShippingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDomains
AccountEntry updateDomains(long accountEntryId, String[] domains) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
AccountEntry updateExternalReferenceCode(long accountEntryId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRestrictMembership
AccountEntry updateRestrictMembership(long accountEntryId, boolean restrictMembership) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-