com.liferay.portal.service
Interface AccountLocalService

All Known Implementing Classes:
AccountLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AccountLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.AccountLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
AccountLocalServiceUtil
Generated:

Method Summary
 Account addAccount(Account account)
           
 Account createAccount(long accountId)
           
 void deleteAccount(Account account)
           
 void deleteAccount(long accountId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 Account getAccount(long accountId)
           
 Account getAccount(long companyId, long accountId)
           
 java.util.List<Account> getAccounts(int start, int end)
           
 int getAccountsCount()
           
 Account updateAccount(Account account)
           
 Account updateAccount(Account account, boolean merge)
           
 

Method Detail

addAccount

Account addAccount(Account account)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createAccount

Account createAccount(long accountId)

deleteAccount

void deleteAccount(long accountId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteAccount

void deleteAccount(Account account)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAccount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Account getAccount(long accountId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAccounts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Account> getAccounts(int start,
                                                  int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAccountsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAccountsCount()
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAccount

Account updateAccount(Account account)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAccount

Account updateAccount(Account account,
                      boolean merge)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAccount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Account getAccount(long companyId,
                                 long accountId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException