Liferay 6.0.3

com.liferay.portal.service.persistence
Interface ClassNamePersistence

All Superinterfaces:
BasePersistence<ClassName>
All Known Implementing Classes:
ClassNamePersistenceImpl

public interface ClassNamePersistence
extends BasePersistence<ClassName>

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

Method Summary
 void cacheResult(ClassName className)
           
 void cacheResult(List<ClassName> classNames)
           
 int countAll()
           
 int countByValue(String value)
           
 ClassName create(long classNameId)
           
 ClassName fetchByPrimaryKey(long classNameId)
           
 ClassName fetchByValue(String value)
           
 ClassName fetchByValue(String value, boolean retrieveFromCache)
           
 List<ClassName> findAll()
           
 List<ClassName> findAll(int start, int end)
           
 List<ClassName> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ClassName findByPrimaryKey(long classNameId)
           
 ClassName findByValue(String value)
           
 ClassName remove(long classNameId)
           
 void removeAll()
           
 void removeByValue(String value)
           
 ClassName updateImpl(ClassName className, 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(ClassName className)

cacheResult

void cacheResult(List<ClassName> classNames)

create

ClassName create(long classNameId)

remove

ClassName remove(long classNameId)
                 throws NoSuchClassNameException,
                        SystemException
Throws:
NoSuchClassNameException
SystemException

updateImpl

ClassName updateImpl(ClassName className,
                     boolean merge)
                     throws SystemException
Throws:
SystemException

findByPrimaryKey

ClassName findByPrimaryKey(long classNameId)
                           throws NoSuchClassNameException,
                                  SystemException
Throws:
NoSuchClassNameException
SystemException

fetchByPrimaryKey

ClassName fetchByPrimaryKey(long classNameId)
                            throws SystemException
Throws:
SystemException

findByValue

ClassName findByValue(String value)
                      throws NoSuchClassNameException,
                             SystemException
Throws:
NoSuchClassNameException
SystemException

fetchByValue

ClassName fetchByValue(String value)
                       throws SystemException
Throws:
SystemException

fetchByValue

ClassName fetchByValue(String value,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findAll

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

findAll

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

findAll

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

removeByValue

void removeByValue(String value)
                   throws NoSuchClassNameException,
                          SystemException
Throws:
NoSuchClassNameException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByValue

int countByValue(String value)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3