001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.Account;
018
019
025 public interface AccountPersistence extends BasePersistence<Account> {
026 public void cacheResult(com.liferay.portal.model.Account account);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.Account> accounts);
030
031 public com.liferay.portal.model.Account create(long accountId);
032
033 public com.liferay.portal.model.Account remove(long accountId)
034 throws com.liferay.portal.NoSuchAccountException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.Account updateImpl(
038 com.liferay.portal.model.Account account, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.Account findByPrimaryKey(long accountId)
042 throws com.liferay.portal.NoSuchAccountException,
043 com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
046 throws com.liferay.portal.kernel.exception.SystemException;
047
048 public java.util.List<com.liferay.portal.model.Account> findAll()
049 throws com.liferay.portal.kernel.exception.SystemException;
050
051 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
052 int end) throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portal.model.Account> findAll(int start,
055 int end,
056 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
057 throws com.liferay.portal.kernel.exception.SystemException;
058
059 public void removeAll()
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public int countAll()
063 throws com.liferay.portal.kernel.exception.SystemException;
064 }