com.liferay.portal.service.persistence
Interface ShardPersistence

All Superinterfaces:
BasePersistence<Shard>

public interface ShardPersistence
extends BasePersistence<Shard>

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:
ShardPersistenceImpl, ShardUtil
Generated:

Method Summary
 void cacheResult(java.util.List<Shard> shards)
           
 void cacheResult(Shard shard)
           
 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, OrderByComparator orderByComparator)
           
 Shard findByC_C(long classNameId, long classPK)
           
 Shard findByName(java.lang.String name)
           
 Shard findByPrimaryKey(long shardId)
           
 Shard remove(long shardId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByName(java.lang.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
 

Method Detail

cacheResult

void cacheResult(Shard shard)

cacheResult

void cacheResult(java.util.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(java.lang.String name)
                 throws NoSuchShardException,
                        SystemException
Throws:
NoSuchShardException
SystemException

fetchByName

Shard fetchByName(java.lang.String name)
                  throws SystemException
Throws:
SystemException

fetchByName

Shard fetchByName(java.lang.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

java.util.List<Shard> findAll()
                              throws SystemException
Throws:
SystemException

findAll

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

findAll

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

removeByName

void removeByName(java.lang.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(java.lang.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