|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
AccountPersistenceImpl
,
AccountUtil
Method Summary | |
---|---|
void |
cacheResult(Account account)
|
void |
cacheResult(java.util.List<Account> accounts)
|
void |
clearCache()
|
int |
countAll()
|
Account |
create(long accountId)
|
Account |
fetchByPrimaryKey(long accountId)
|
java.util.List<Account> |
findAll()
|
java.util.List<Account> |
findAll(int start,
int end)
|
java.util.List<Account> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Account |
findByPrimaryKey(long accountId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Account |
remove(Account account)
|
Account |
remove(long accountId)
|
void |
removeAll()
|
Account |
update(Account account)
Deprecated. Use update(Account, boolean merge) . |
Account |
update(Account account,
boolean merge)
Add, update, or merge, the entity. |
Account |
updateImpl(Account account,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(Account account)
void cacheResult(java.util.List<Account> accounts)
void clearCache()
clearCache
in interface BasePersistence
Account create(long accountId)
Account remove(long accountId) throws NoSuchAccountException, com.liferay.portal.SystemException
NoSuchAccountException
com.liferay.portal.SystemException
Account remove(Account account) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Account update(Account account) throws com.liferay.portal.SystemException
update(Account, boolean merge)
.
com.liferay.portal.SystemException
Account update(Account account, boolean merge) throws com.liferay.portal.SystemException
account
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The default
value is false. Setting merge to true is more expensive and
should only be true when account is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
Account updateImpl(Account account, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Account findByPrimaryKey(long accountId) throws NoSuchAccountException, com.liferay.portal.SystemException
NoSuchAccountException
com.liferay.portal.SystemException
Account fetchByPrimaryKey(long accountId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Account> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Account> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Account> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |