com.liferay.portal.service.persistence
Interface ClassNamePersistence
- All Superinterfaces:
- BasePersistence<ClassName>
- All Known Implementing Classes:
- ClassNamePersistenceImpl
public interface ClassNamePersistence
- extends BasePersistence<ClassName>
- See Also:
ClassNamePersistenceImpl,
ClassNameUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is 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, update |
cacheResult
void cacheResult(ClassName className)
cacheResult
void cacheResult(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(String value)
throws NoSuchClassNameException,
SystemException
- Throws:
NoSuchClassNameException
SystemException
fetchByValue
ClassName fetchByValue(String value)
throws SystemException
- Throws:
SystemException
fetchByValue
ClassName fetchByValue(String value,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
List<ClassName> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<ClassName> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<ClassName> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByValue
void removeByValue(String value)
throws NoSuchClassNameException,
SystemException
- Throws:
NoSuchClassNameException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByValue
int countByValue(String value)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException