com.liferay.portal.service.persistence
Interface AccountPersistence
- All Superinterfaces:
- BasePersistence<Account>
public interface AccountPersistence
- extends BasePersistence<Account>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
AccountPersistenceImpl
,
AccountUtil
- Generated:
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(Account account)
cacheResult
void cacheResult(java.util.List<Account> accounts)
create
Account create(long accountId)
remove
Account remove(long accountId)
throws NoSuchAccountException,
com.liferay.portal.SystemException
- Throws:
NoSuchAccountException
com.liferay.portal.SystemException
update
Account update(Account account)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
Account updateImpl(Account account,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
Account findByPrimaryKey(long accountId)
throws NoSuchAccountException,
com.liferay.portal.SystemException
- Throws:
NoSuchAccountException
com.liferay.portal.SystemException
fetchByPrimaryKey
Account fetchByPrimaryKey(long accountId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Account> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Account> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Account> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException