001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.ClassName;
018
019
025 public interface ClassNamePersistence extends BasePersistence<ClassName> {
026 public void cacheResult(com.liferay.portal.model.ClassName className);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.ClassName> classNames);
030
031 public com.liferay.portal.model.ClassName create(long classNameId);
032
033 public com.liferay.portal.model.ClassName remove(long classNameId)
034 throws com.liferay.portal.NoSuchClassNameException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.ClassName updateImpl(
038 com.liferay.portal.model.ClassName className, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.ClassName findByPrimaryKey(long classNameId)
042 throws com.liferay.portal.NoSuchClassNameException,
043 com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.ClassName fetchByPrimaryKey(
046 long classNameId)
047 throws com.liferay.portal.kernel.exception.SystemException;
048
049 public com.liferay.portal.model.ClassName findByValue(
050 java.lang.String value)
051 throws com.liferay.portal.NoSuchClassNameException,
052 com.liferay.portal.kernel.exception.SystemException;
053
054 public com.liferay.portal.model.ClassName fetchByValue(
055 java.lang.String value)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public com.liferay.portal.model.ClassName fetchByValue(
059 java.lang.String value, boolean retrieveFromCache)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portal.model.ClassName> findAll()
063 throws com.liferay.portal.kernel.exception.SystemException;
064
065 public java.util.List<com.liferay.portal.model.ClassName> findAll(
066 int start, int end)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public java.util.List<com.liferay.portal.model.ClassName> findAll(
070 int start, int end,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException;
073
074 public void removeByValue(java.lang.String value)
075 throws com.liferay.portal.NoSuchClassNameException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078 public void removeAll()
079 throws com.liferay.portal.kernel.exception.SystemException;
080
081 public int countByValue(java.lang.String value)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084 public int countAll()
085 throws com.liferay.portal.kernel.exception.SystemException;
086 }