com.liferay.portal.service
Interface AccountLocalService
- All Known Implementing Classes:
- AccountLocalServiceBaseImpl, AccountLocalServiceImpl, AccountLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AccountLocalService
This interface defines the service. The default implementation is
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.
- See Also:
AccountLocalServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
addAccount
Account addAccount(Account account)
throws SystemException
- Throws:
SystemException
createAccount
Account createAccount(long accountId)
deleteAccount
void deleteAccount(long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAccount
void deleteAccount(Account account)
throws SystemException
- Throws:
SystemException
dynamicQuery
List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAccount
@Transactional(propagation=SUPPORTS,
readOnly=true)
Account getAccount(long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAccounts
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Account> getAccounts(int start,
int end)
throws SystemException
- Throws:
SystemException
getAccountsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAccountsCount()
throws SystemException
- Throws:
SystemException
updateAccount
Account updateAccount(Account account)
throws SystemException
- Throws:
SystemException
updateAccount
Account updateAccount(Account account,
boolean merge)
throws SystemException
- Throws:
SystemException
getAccount
@Transactional(propagation=SUPPORTS,
readOnly=true)
Account getAccount(long companyId,
long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException