com.liferay.portal.service.persistence
Class ClassNameUtil
java.lang.Object
com.liferay.portal.service.persistence.ClassNameUtil
public class ClassNameUtil
- extends java.lang.Object
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:
ClassNamePersistence
,
ClassNamePersistenceImpl
- Generated:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassNameUtil
public ClassNameUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static ClassName remove(ClassName className)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static ClassName update(ClassName className,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(ClassName className)
cacheResult
public static void cacheResult(java.util.List<ClassName> classNames)
create
public static ClassName create(long classNameId)
remove
public static ClassName remove(long classNameId)
throws NoSuchClassNameException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException
updateImpl
public static ClassName updateImpl(ClassName className,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static ClassName findByPrimaryKey(long classNameId)
throws NoSuchClassNameException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public static ClassName fetchByPrimaryKey(long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByValue
public static ClassName findByValue(java.lang.String value)
throws NoSuchClassNameException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException
fetchByValue
public static ClassName fetchByValue(java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByValue
public static ClassName fetchByValue(java.lang.String value,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ClassName> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ClassName> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static 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
public static void removeByValue(java.lang.String value)
throws NoSuchClassNameException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByValue
public static int countByValue(java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static ClassNamePersistence getPersistence()
setPersistence
public void setPersistence(ClassNamePersistence persistence)