Package com.liferay.account.service
Class AccountEntryServiceUtil
java.lang.Object
com.liferay.account.service.AccountEntryServiceUtil
Provides the remote service utility for AccountEntry. This utility wraps
com.liferay.account.service.impl.AccountEntryServiceImpl 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 voidactivateAccountEntries(long[] accountEntryIds) static AccountEntryactivateAccountEntry(long accountEntryId) static AccountEntryaddAccountEntry(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) static AccountEntryaddOrUpdateAccountEntry(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) static voiddeactivateAccountEntries(long[] accountEntryIds) static AccountEntrydeactivateAccountEntry(long accountEntryId) static voiddeleteAccountEntries(long[] accountEntryIds) static voiddeleteAccountEntry(long accountEntryId) static AccountEntryfetchAccountEntry(long accountEntryId) static AccountEntryfetchAccountEntryByExternalReferenceCode(long companyId, String externalReferenceCode) static List<AccountEntry>getAccountEntries(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) static AccountEntrygetAccountEntry(long accountEntryId) static AccountEntrygetAccountEntryByExternalReferenceCode(String externalReferenceCode, long companyId) static StringReturns the OSGi service identifier.static AccountEntryServicestatic com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry>searchAccountEntries(String keywords, LinkedHashMap<String, Object> params, int cur, int delta, String orderByField, boolean reverse) static AccountEntryupdateAccountEntry(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) static AccountEntryupdateAccountEntry(AccountEntry accountEntry) static AccountEntryupdateDefaultBillingAddressId(long accountEntryId, long addressId) static AccountEntryupdateDefaultShippingAddressId(long accountEntryId, long addressId) static AccountEntryupdateDomains(long accountEntryId, String[] domains) static AccountEntryupdateExternalReferenceCode(long accountEntryId, String externalReferenceCode) static AccountEntryupdateRestrictMembership(long accountEntryId, boolean restrictMembership)
-
Constructor Details
-
AccountEntryServiceUtil
public AccountEntryServiceUtil()
-
-
Method Details
-
activateAccountEntries
public static void activateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateAccountEntry
public static AccountEntry activateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAccountEntry
public static 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
public static 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
public static void deactivateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntry
public static AccountEntry deactivateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntries
public static void deleteAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntry
public static void deleteAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchAccountEntry
public static AccountEntry fetchAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchAccountEntryByExternalReferenceCode
public static AccountEntry fetchAccountEntryByExternalReferenceCode(long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntries
public static 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
public static AccountEntry getAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntryByExternalReferenceCode
public static AccountEntry getAccountEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
-
searchAccountEntries
public static 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
public static AccountEntry updateAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAccountEntry
public static 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
public static AccountEntry updateDefaultBillingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultShippingAddressId
public static AccountEntry updateDefaultShippingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDomains
public static AccountEntry updateDomains(long accountEntryId, String[] domains) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public static AccountEntry updateExternalReferenceCode(long accountEntryId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRestrictMembership
public static AccountEntry updateRestrictMembership(long accountEntryId, boolean restrictMembership) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-