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:
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 |
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.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.SystemException
update
ClassName update(ClassName className)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
ClassName updateImpl(ClassName className,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ClassName findByPrimaryKey(long classNameId)
throws NoSuchClassNameException,
com.liferay.portal.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.SystemException
fetchByPrimaryKey
ClassName fetchByPrimaryKey(long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByValue
ClassName findByValue(java.lang.String value)
throws NoSuchClassNameException,
com.liferay.portal.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.SystemException
fetchByValue
ClassName fetchByValue(java.lang.String value)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByValue
ClassName fetchByValue(java.lang.String value,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ClassName> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ClassName> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ClassName> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByValue
void removeByValue(java.lang.String value)
throws NoSuchClassNameException,
com.liferay.portal.SystemException
- Throws:
NoSuchClassNameException
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByValue
int countByValue(java.lang.String value)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException