Class AccountEntryLocalServiceWrapper
- All Implemented Interfaces:
AccountEntryLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryLocalService>
AccountEntryLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionAccountEntryLocalServiceWrapper
(AccountEntryLocalService accountEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
activateAccountEntries
(long[] accountEntryIds) activateAccountEntry
(long accountEntryId) activateAccountEntry
(AccountEntry accountEntry) addAccountEntry
(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) addAccountEntry
(AccountEntry accountEntry) Adds the account entry to the database.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) createAccountEntry
(long accountEntryId) Creates a new account entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deactivateAccountEntries
(long[] accountEntryIds) deactivateAccountEntry
(long accountEntryId) deactivateAccountEntry
(AccountEntry accountEntry) void
deleteAccountEntries
(long[] accountEntryIds) void
deleteAccountEntriesByCompanyId
(long companyId) deleteAccountEntry
(long accountEntryId) Deletes the account entry with the primary key from the database.deleteAccountEntry
(AccountEntry accountEntry) Deletes the account entry from the database.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchAccountEntry
(long accountEntryId) fetchAccountEntryByExternalReferenceCode
(String externalReferenceCode, long companyId) fetchAccountEntryByUuidAndCompanyId
(String uuid, long companyId) Returns the account entry with the matching UUID and company.fetchPersonAccountEntry
(long userId) fetchSupplierAccountEntry
(long userId) fetchUserAccountEntry
(long userId, long accountEntryId) getAccountEntries
(int start, int end) Returns a range of all the account entries.getAccountEntries
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) int
Returns the number of account entries.int
getAccountEntriesCount
(long companyId, int status) getAccountEntry
(long accountEntryId) Returns the account entry with the primary key.getAccountEntryByExternalReferenceCode
(String externalReferenceCode, long companyId) getAccountEntryByUuidAndCompanyId
(String uuid, long companyId) Returns the account entry with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getGuestAccountEntry
(long companyId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getUserAccountEntries
(long userId, Long parentAccountEntryId, String keywords, String[] types, int start, int end) getUserAccountEntries
(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status, int start, int end) getUserAccountEntries
(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) int
getUserAccountEntriesCount
(long userId, Long parentAccountEntryId, String keywords, String[] types) int
getUserAccountEntriesCount
(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status) com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry>
searchAccountEntries
(long companyId, String keywords, LinkedHashMap<String, Object> params, int cur, int delta, String orderByField, boolean reverse) void
setWrappedService
(AccountEntryLocalService accountEntryLocalService) 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) Updates the account entry in the database or adds it if it does not yet exist.updateDefaultBillingAddressId
(long accountEntryId, long addressId) updateDefaultShippingAddressId
(long accountEntryId, long addressId) updateDomains
(long accountEntryId, String[] domains) updateExternalReferenceCode
(long accountEntryId, String externalReferenceCode) updateExternalReferenceCode
(AccountEntry accountEntry, String externalReferenceCode) updateRestrictMembership
(long accountEntryId, boolean restrictMembership) updateStatus
(long accountEntryId, int status) updateStatus
(long userId, long accountEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) updateStatus
(AccountEntry accountEntry, int status) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
AccountEntryLocalServiceWrapper
public AccountEntryLocalServiceWrapper() -
AccountEntryLocalServiceWrapper
-
-
Method Details
-
activateAccountEntries
public void activateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateAccountEntry
public AccountEntry activateAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateAccountEntry
public AccountEntry activateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAccountEntry
Adds the account entry to the database. Also notifies the appropriate model listeners.Important: Inspect AccountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntry
- the account entry- Returns:
- the account entry that was added
-
addAccountEntry
public AccountEntry addAccountEntry(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 - Specified by:
addAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateAccountEntry
public 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 - Specified by:
addOrUpdateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createAccountEntry
Creates a new account entry with the primary key. Does not add the account entry to the database.- Specified by:
createAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntryId
- the primary key for the new account entry- Returns:
- the new account entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceAccountEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntries
public void deactivateAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deactivateAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntry
public AccountEntry deactivateAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deactivateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateAccountEntry
public AccountEntry deactivateAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deactivateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntries
public void deleteAccountEntries(long[] accountEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntriesByCompanyId
public void deleteAccountEntriesByCompanyId(long companyId) - Specified by:
deleteAccountEntriesByCompanyId
in interfaceAccountEntryLocalService
-
deleteAccountEntry
public AccountEntry deleteAccountEntry(AccountEntry accountEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the account entry from the database. Also notifies the appropriate model listeners.Important: Inspect AccountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntry
- the account entry- Returns:
- the account entry that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountEntry
public AccountEntry deleteAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the account entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AccountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry that was removed
- Throws:
PortalException
- if a account entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceAccountEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAccountEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAccountEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceAccountEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceAccountEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceAccountEntryLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceAccountEntryLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceAccountEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceAccountEntryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAccountEntry
- Specified by:
fetchAccountEntry
in interfaceAccountEntryLocalService
-
fetchAccountEntryByExternalReferenceCode
public AccountEntry fetchAccountEntryByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchAccountEntryByExternalReferenceCode
in interfaceAccountEntryLocalService
-
fetchAccountEntryByUuidAndCompanyId
Returns the account entry with the matching UUID and company.- Specified by:
fetchAccountEntryByUuidAndCompanyId
in interfaceAccountEntryLocalService
- Parameters:
uuid
- the account entry's UUIDcompanyId
- the primary key of the company- Returns:
- the matching account entry, or
null
if a matching account entry could not be found
-
fetchPersonAccountEntry
- Specified by:
fetchPersonAccountEntry
in interfaceAccountEntryLocalService
-
fetchSupplierAccountEntry
- Specified by:
fetchSupplierAccountEntry
in interfaceAccountEntryLocalService
-
fetchUserAccountEntry
- Specified by:
fetchUserAccountEntry
in interfaceAccountEntryLocalService
-
getAccountEntries
Returns a range of all the account entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountEntryModelImpl
.- Specified by:
getAccountEntries
in interfaceAccountEntryLocalService
- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of account entries
-
getAccountEntries
public List<AccountEntry> getAccountEntries(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) - Specified by:
getAccountEntries
in interfaceAccountEntryLocalService
-
getAccountEntriesCount
public int getAccountEntriesCount()Returns the number of account entries.- Specified by:
getAccountEntriesCount
in interfaceAccountEntryLocalService
- Returns:
- the number of account entries
-
getAccountEntriesCount
public int getAccountEntriesCount(long companyId, int status) - Specified by:
getAccountEntriesCount
in interfaceAccountEntryLocalService
-
getAccountEntry
public AccountEntry getAccountEntry(long accountEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the account entry with the primary key.- Specified by:
getAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry
- Throws:
PortalException
- if a account entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getAccountEntryByExternalReferenceCode
public AccountEntry getAccountEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAccountEntryByExternalReferenceCode
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountEntryByUuidAndCompanyId
public AccountEntry getAccountEntryByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the account entry with the matching UUID and company.- Specified by:
getAccountEntryByUuidAndCompanyId
in interfaceAccountEntryLocalService
- Parameters:
uuid
- the account entry's UUIDcompanyId
- the primary key of the company- Returns:
- the matching account entry
- Throws:
PortalException
- if a matching account entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceAccountEntryLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceAccountEntryLocalService
-
getGuestAccountEntry
public AccountEntry getGuestAccountEntry(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getGuestAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceAccountEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAccountEntryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceAccountEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getUserAccountEntries
public List<AccountEntry> getUserAccountEntries(long userId, Long parentAccountEntryId, String keywords, String[] types, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserAccountEntries
public List<AccountEntry> getUserAccountEntries(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserAccountEntries
public List<AccountEntry> getUserAccountEntries(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserAccountEntries
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserAccountEntriesCount
public int getUserAccountEntriesCount(long userId, Long parentAccountEntryId, String keywords, String[] types) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserAccountEntriesCount
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserAccountEntriesCount
public int getUserAccountEntriesCount(long userId, Long parentAccountEntryId, String keywords, String[] types, Integer status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUserAccountEntriesCount
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchAccountEntries
public com.liferay.portal.kernel.search.BaseModelSearchResult<AccountEntry> searchAccountEntries(long companyId, String keywords, LinkedHashMap<String, Object> params, int cur, int delta, String orderByField, boolean reverse) - Specified by:
searchAccountEntries
in interfaceAccountEntryLocalService
-
updateAccountEntry
Updates the account entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AccountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateAccountEntry
in interfaceAccountEntryLocalService
- Parameters:
accountEntry
- the account entry- Returns:
- the account entry that was updated
-
updateAccountEntry
public 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 - Specified by:
updateAccountEntry
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultBillingAddressId
public AccountEntry updateDefaultBillingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDefaultBillingAddressId
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultShippingAddressId
public AccountEntry updateDefaultShippingAddressId(long accountEntryId, long addressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDefaultShippingAddressId
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDomains
public AccountEntry updateDomains(long accountEntryId, String[] domains) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDomains
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public AccountEntry updateExternalReferenceCode(AccountEntry accountEntry, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public AccountEntry updateExternalReferenceCode(long accountEntryId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRestrictMembership
public AccountEntry updateRestrictMembership(long accountEntryId, boolean restrictMembership) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateRestrictMembership
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public AccountEntry updateStatus(AccountEntry accountEntry, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public AccountEntry updateStatus(long accountEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public AccountEntry updateStatus(long userId, long accountEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateStatus
in interfaceAccountEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountEntryLocalService>
-