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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, 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,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException

updateImpl

ClassName updateImpl(ClassName className,
                     boolean merge)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

ClassName findByPrimaryKey(long classNameId)
                           throws NoSuchClassNameException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

ClassName fetchByPrimaryKey(long classNameId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByValue

ClassName findByValue(java.lang.String value)
                      throws NoSuchClassNameException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException

fetchByValue

ClassName fetchByValue(java.lang.String value)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByValue

ClassName fetchByValue(java.lang.String value,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

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

removeByValue

void removeByValue(java.lang.String value)
                   throws NoSuchClassNameException,
                          com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException

removeAll

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

countByValue

int countByValue(java.lang.String value)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

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