1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface ClassNamePersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.ClassName className);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.ClassName> classNames);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.ClassName create(long classNameId);
48
49 public com.liferay.portal.model.ClassName remove(long classNameId)
50 throws com.liferay.portal.NoSuchClassNameException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.ClassName remove(
54 com.liferay.portal.model.ClassName className)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.ClassName update(
61 com.liferay.portal.model.ClassName className)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.ClassName update(
77 com.liferay.portal.model.ClassName className, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.ClassName updateImpl(
81 com.liferay.portal.model.ClassName className, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.ClassName findByPrimaryKey(long classNameId)
85 throws com.liferay.portal.NoSuchClassNameException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.ClassName fetchByPrimaryKey(
89 long classNameId) throws com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.ClassName findByValue(
92 java.lang.String value)
93 throws com.liferay.portal.NoSuchClassNameException,
94 com.liferay.portal.SystemException;
95
96 public com.liferay.portal.model.ClassName fetchByValue(
97 java.lang.String value) throws com.liferay.portal.SystemException;
98
99 public com.liferay.portal.model.ClassName fetchByValue(
100 java.lang.String value, boolean retrieveFromCache)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<Object> findWithDynamicQuery(
104 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105 throws com.liferay.portal.SystemException;
106
107 public java.util.List<Object> findWithDynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
109 int end) throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portal.model.ClassName> findAll()
112 throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portal.model.ClassName> findAll(
115 int start, int end) throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portal.model.ClassName> findAll(
118 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException;
120
121 public void removeByValue(java.lang.String value)
122 throws com.liferay.portal.NoSuchClassNameException,
123 com.liferay.portal.SystemException;
124
125 public void removeAll() throws com.liferay.portal.SystemException;
126
127 public int countByValue(java.lang.String value)
128 throws com.liferay.portal.SystemException;
129
130 public int countAll() throws com.liferay.portal.SystemException;
131 }