com.liferay.portal.service.persistence
Interface ClassNamePersistence

All Superinterfaces:
BasePersistence<ClassName>

public interface ClassNamePersistence
extends BasePersistence<ClassName>

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:
ClassNamePersistenceImpl, ClassNameUtil
Generated:

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

Method Detail

cacheResult

void cacheResult(ClassName className)

cacheResult

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

fetchByValue

ClassName fetchByValue(java.lang.String value)
                       throws SystemException
Throws:
SystemException

fetchByValue

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

findAll

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

findAll

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

findAll

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

removeByValue

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByValue

int countByValue(java.lang.String value)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException