|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShardPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
ShardPersistenceImpl
,
ShardUtil
Method Summary | |
---|---|
void |
cacheResult(java.util.List<Shard> shards)
|
void |
cacheResult(Shard shard)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_C(long classNameId,
long classPK)
|
int |
countByName(java.lang.String name)
|
Shard |
create(long shardId)
|
Shard |
fetchByC_C(long classNameId,
long classPK)
|
Shard |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
|
Shard |
fetchByName(java.lang.String name)
|
Shard |
fetchByName(java.lang.String name,
boolean retrieveFromCache)
|
Shard |
fetchByPrimaryKey(long shardId)
|
java.util.List<Shard> |
findAll()
|
java.util.List<Shard> |
findAll(int start,
int end)
|
java.util.List<Shard> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Shard |
findByC_C(long classNameId,
long classPK)
|
Shard |
findByName(java.lang.String name)
|
Shard |
findByPrimaryKey(long shardId)
|
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)
|
Shard |
remove(long shardId)
|
Shard |
remove(Shard shard)
|
void |
removeAll()
|
void |
removeByC_C(long classNameId,
long classPK)
|
void |
removeByName(java.lang.String name)
|
Shard |
update(Shard shard)
Deprecated. Use update(Shard, boolean merge) . |
Shard |
update(Shard shard,
boolean merge)
Add, update, or merge, the entity. |
Shard |
updateImpl(Shard shard,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(Shard shard)
void cacheResult(java.util.List<Shard> shards)
void clearCache()
clearCache
in interface BasePersistence
Shard create(long shardId)
Shard remove(long shardId) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
Shard remove(Shard shard) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard update(Shard shard) throws com.liferay.portal.SystemException
update(Shard, boolean merge)
.
com.liferay.portal.SystemException
Shard update(Shard shard, boolean merge) throws com.liferay.portal.SystemException
shard
- 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 shard is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
Shard updateImpl(Shard shard, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard findByPrimaryKey(long shardId) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
Shard fetchByPrimaryKey(long shardId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard findByName(java.lang.String name) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
Shard fetchByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard fetchByName(java.lang.String name, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard findByC_C(long classNameId, long classPK) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
Shard fetchByC_C(long classNameId, long classPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Shard fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache) 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<Shard> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Shard> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Shard> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByName(java.lang.String name) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
void removeByC_C(long classNameId, long classPK) throws NoSuchShardException, com.liferay.portal.SystemException
NoSuchShardException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_C(long classNameId, long classPK) 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 |