public class AccountEntryServiceUtil
extends java.lang.Object
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.AccountEntryService
Constructor and Description |
---|
AccountEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
activateAccountEntries(long[] accountEntryIds) |
static AccountEntry |
activateAccountEntry(long accountEntryId) |
static AccountEntry |
addAccountEntry(long userId,
long parentAccountEntryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] domains,
java.lang.String email,
byte[] logoBytes,
java.lang.String taxIdNumber,
java.lang.String type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AccountEntry |
addOrUpdateAccountEntry(java.lang.String externalReferenceCode,
long userId,
long parentAccountEntryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] domains,
java.lang.String emailAddress,
byte[] logoBytes,
java.lang.String taxIdNumber,
java.lang.String type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deactivateAccountEntries(long[] accountEntryIds) |
static AccountEntry |
deactivateAccountEntry(long accountEntryId) |
static void |
deleteAccountEntries(long[] accountEntryIds) |
static void |
deleteAccountEntry(long accountEntryId) |
static AccountEntry |
fetchAccountEntry(long accountEntryId) |
static java.util.List<AccountEntry> |
getAccountEntries(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) |
static AccountEntry |
getAccountEntry(long accountEntryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AccountEntryService |
getService() |
static com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry> |
searchAccountEntries(java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int cur,
int delta,
java.lang.String orderByField,
boolean reverse) |
static AccountEntry |
updateAccountEntry(AccountEntry accountEntry) |
static AccountEntry |
updateAccountEntry(long accountEntryId,
long parentAccountEntryId,
java.lang.String name,
java.lang.String description,
boolean deleteLogo,
java.lang.String[] domains,
java.lang.String emailAddress,
byte[] logoBytes,
java.lang.String taxIdNumber,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AccountEntry |
updateExternalReferenceCode(long accountEntryId,
java.lang.String externalReferenceCode) |
public static void activateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry activateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry addAccountEntry(long userId, long parentAccountEntryId, java.lang.String name, java.lang.String description, java.lang.String[] domains, java.lang.String email, byte[] logoBytes, java.lang.String taxIdNumber, java.lang.String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry addOrUpdateAccountEntry(java.lang.String externalReferenceCode, long userId, long parentAccountEntryId, java.lang.String name, java.lang.String description, java.lang.String[] domains, java.lang.String emailAddress, byte[] logoBytes, java.lang.String taxIdNumber, java.lang.String type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deactivateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry deactivateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry fetchAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.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
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry getAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry> searchAccountEntries(java.lang.String keywords, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int cur, int delta, java.lang.String orderByField, boolean reverse) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry updateAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry updateAccountEntry(long accountEntryId, long parentAccountEntryId, java.lang.String name, java.lang.String description, boolean deleteLogo, java.lang.String[] domains, java.lang.String emailAddress, byte[] logoBytes, java.lang.String taxIdNumber, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntry updateExternalReferenceCode(long accountEntryId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AccountEntryService getService()