Liferay 6.0.3

com.liferay.portal.service.persistence
Class ClassNameUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ClassNameUtil

public class ClassNameUtil
extends Object

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

Constructor Summary
ClassNameUtil()
           
 
Method Summary
static void cacheResult(ClassName className)
           
static void cacheResult(List<ClassName> classNames)
           
static void clearCache()
           
static void clearCache(ClassName className)
           
static int countAll()
           
static int countByValue(String value)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static ClassName create(long classNameId)
           
static ClassName fetchByPrimaryKey(long classNameId)
           
static ClassName fetchByValue(String value)
           
static ClassName fetchByValue(String value, boolean retrieveFromCache)
           
static List<ClassName> findAll()
           
static List<ClassName> findAll(int start, int end)
           
static List<ClassName> findAll(int start, int end, OrderByComparator orderByComparator)
           
static ClassName findByPrimaryKey(long classNameId)
           
static ClassName findByValue(String value)
           
static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static ClassNamePersistence getPersistence()
           
static ClassName remove(ClassName className)
           
static ClassName remove(long classNameId)
           
static void removeAll()
           
static void removeByValue(String value)
           
 void setPersistence(ClassNamePersistence persistence)
           
static ClassName update(ClassName className, boolean merge)
           
static ClassName update(ClassName className, boolean merge, ServiceContext serviceContext)
           
static ClassName updateImpl(ClassName className, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassNameUtil

public ClassNameUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ClassName className)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<ClassName> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static ClassName remove(ClassName className)
                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ClassName update(ClassName className,
                               boolean merge)
                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static ClassName update(ClassName className,
                               boolean merge,
                               ServiceContext serviceContext)
                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(ClassName className)

cacheResult

public static void cacheResult(List<ClassName> classNames)

create

public static ClassName create(long classNameId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static ClassName fetchByPrimaryKey(long classNameId)
                                   throws SystemException
Throws:
SystemException

findByValue

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

fetchByValue

public static ClassName fetchByValue(String value)
                              throws SystemException
Throws:
SystemException

fetchByValue

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

findAll

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

findAll

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

findAll

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

removeByValue

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByValue

public static int countByValue(String value)
                        throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static ClassNamePersistence getPersistence()

setPersistence

public void setPersistence(ClassNamePersistence persistence)

Liferay 6.0.3