1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.ClassName;
18
19
32 public interface ClassNamePersistence extends BasePersistence<ClassName> {
33 public void cacheResult(com.liferay.portal.model.ClassName className);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.ClassName> classNames);
37
38 public com.liferay.portal.model.ClassName create(long classNameId);
39
40 public com.liferay.portal.model.ClassName remove(long classNameId)
41 throws com.liferay.portal.NoSuchClassNameException,
42 com.liferay.portal.SystemException;
43
44
47 public com.liferay.portal.model.ClassName update(
48 com.liferay.portal.model.ClassName className)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.ClassName updateImpl(
52 com.liferay.portal.model.ClassName className, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.ClassName findByPrimaryKey(long classNameId)
56 throws com.liferay.portal.NoSuchClassNameException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.ClassName fetchByPrimaryKey(
60 long classNameId) throws com.liferay.portal.SystemException;
61
62 public com.liferay.portal.model.ClassName findByValue(
63 java.lang.String value)
64 throws com.liferay.portal.NoSuchClassNameException,
65 com.liferay.portal.SystemException;
66
67 public com.liferay.portal.model.ClassName fetchByValue(
68 java.lang.String value) throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.ClassName fetchByValue(
71 java.lang.String value, boolean retrieveFromCache)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portal.model.ClassName> findAll()
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portal.model.ClassName> findAll(
78 int start, int end) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portal.model.ClassName> findAll(
81 int start, int end,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException;
84
85 public void removeByValue(java.lang.String value)
86 throws com.liferay.portal.NoSuchClassNameException,
87 com.liferay.portal.SystemException;
88
89 public void removeAll() throws com.liferay.portal.SystemException;
90
91 public int countByValue(java.lang.String value)
92 throws com.liferay.portal.SystemException;
93
94 public int countAll() throws com.liferay.portal.SystemException;
95 }