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, com.liferay.portal.kernel.util.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 update(Shard shard)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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,
                    com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

update

Shard update(Shard shard)
             throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

Shard updateImpl(Shard shard,
                 boolean merge)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

Shard findByPrimaryKey(long shardId)
                       throws NoSuchShardException,
                              com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

fetchByPrimaryKey

Shard fetchByPrimaryKey(long shardId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByName

Shard findByName(java.lang.String name)
                 throws NoSuchShardException,
                        com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

fetchByName

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

fetchByName

Shard fetchByName(java.lang.String name,
                  boolean retrieveFromCache)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

Shard findByC_C(long classNameId,
                long classPK)
                throws NoSuchShardException,
                       com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

fetchByC_C

Shard fetchByC_C(long classNameId,
                 long classPK)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C

Shard fetchByC_C(long classNameId,
                 long classPK,
                 boolean retrieveFromCache)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByName

void removeByName(java.lang.String name)
                  throws NoSuchShardException,
                         com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws NoSuchShardException,
                        com.liferay.portal.SystemException
Throws:
NoSuchShardException
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByName

int countByName(java.lang.String name)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException