Liferay 6.0.3

com.liferay.portal.service.persistence
Interface ShardPersistence

All Superinterfaces:
BasePersistence<Shard>
All Known Implementing Classes:
ShardPersistenceImpl

public interface ShardPersistence
extends BasePersistence<Shard>

See Also:
ShardPersistenceImpl, ShardUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<Shard> shards)
           
 void cacheResult(Shard shard)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByName(String name)
           
 Shard create(long shardId)
           
 Shard fetchByC_C(long classNameId, long classPK)
           
 Shard fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 Shard fetchByName(String name)
           
 Shard fetchByName(String name, boolean retrieveFromCache)
           
 Shard fetchByPrimaryKey(long shardId)
           
 List<Shard> findAll()
           
 List<Shard> findAll(int start, int end)
           
 List<Shard> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Shard findByC_C(long classNameId, long classPK)
           
 Shard findByName(String name)
           
 Shard findByPrimaryKey(long shardId)
           
 Shard remove(long shardId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByName(String name)
           
 Shard updateImpl(Shard shard, boolean merge)
           
 
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, update
 

Method Detail

cacheResult

void cacheResult(Shard shard)

cacheResult

void cacheResult(List<Shard> shards)

create

Shard create(long shardId)

remove

Shard remove(long shardId)
             throws NoSuchShardException,
                    SystemException
Throws:
NoSuchShardException
SystemException

updateImpl

Shard updateImpl(Shard shard,
                 boolean merge)
                 throws SystemException
Throws:
SystemException

findByPrimaryKey

Shard findByPrimaryKey(long shardId)
                       throws NoSuchShardException,
                              SystemException
Throws:
NoSuchShardException
SystemException

fetchByPrimaryKey

Shard fetchByPrimaryKey(long shardId)
                        throws SystemException
Throws:
SystemException

findByName

Shard findByName(String name)
                 throws NoSuchShardException,
                        SystemException
Throws:
NoSuchShardException
SystemException

fetchByName

Shard fetchByName(String name)
                  throws SystemException
Throws:
SystemException

fetchByName

Shard fetchByName(String name,
                  boolean retrieveFromCache)
                  throws SystemException
Throws:
SystemException

findByC_C

Shard findByC_C(long classNameId,
                long classPK)
                throws NoSuchShardException,
                       SystemException
Throws:
NoSuchShardException
SystemException

fetchByC_C

Shard fetchByC_C(long classNameId,
                 long classPK)
                 throws SystemException
Throws:
SystemException

fetchByC_C

Shard fetchByC_C(long classNameId,
                 long classPK,
                 boolean retrieveFromCache)
                 throws SystemException
Throws:
SystemException

findAll

List<Shard> findAll()
                    throws SystemException
Throws:
SystemException

findAll

List<Shard> findAll(int start,
                    int end)
                    throws SystemException
Throws:
SystemException

findAll

List<Shard> findAll(int start,
                    int end,
                    OrderByComparator orderByComparator)
                    throws SystemException
Throws:
SystemException

removeByName

void removeByName(String name)
                  throws NoSuchShardException,
                         SystemException
Throws:
NoSuchShardException
SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws NoSuchShardException,
                        SystemException
Throws:
NoSuchShardException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByName

int countByName(String name)
                throws SystemException
Throws:
SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3