1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface ClassNamePersistence {
32 public com.liferay.portal.model.ClassName create(long classNameId);
33
34 public com.liferay.portal.model.ClassName remove(long classNameId)
35 throws com.liferay.portal.NoSuchClassNameException,
36 com.liferay.portal.SystemException;
37
38 public com.liferay.portal.model.ClassName remove(
39 com.liferay.portal.model.ClassName className)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portal.model.ClassName update(
46 com.liferay.portal.model.ClassName className)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portal.model.ClassName update(
63 com.liferay.portal.model.ClassName className, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portal.model.ClassName updateImpl(
67 com.liferay.portal.model.ClassName className, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.ClassName findByPrimaryKey(long classNameId)
71 throws com.liferay.portal.NoSuchClassNameException,
72 com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.ClassName fetchByPrimaryKey(
75 long classNameId) throws com.liferay.portal.SystemException;
76
77 public com.liferay.portal.model.ClassName findByValue(
78 java.lang.String value)
79 throws com.liferay.portal.NoSuchClassNameException,
80 com.liferay.portal.SystemException;
81
82 public com.liferay.portal.model.ClassName fetchByValue(
83 java.lang.String value) throws com.liferay.portal.SystemException;
84
85 public java.util.List<Object> findWithDynamicQuery(
86 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<Object> findWithDynamicQuery(
90 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
91 int end) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portal.model.ClassName> findAll()
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portal.model.ClassName> findAll(
97 int start, int end) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.ClassName> findAll(
100 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public void removeByValue(java.lang.String value)
104 throws com.liferay.portal.NoSuchClassNameException,
105 com.liferay.portal.SystemException;
106
107 public void removeAll() throws com.liferay.portal.SystemException;
108
109 public int countByValue(java.lang.String value)
110 throws com.liferay.portal.SystemException;
111
112 public int countAll() throws com.liferay.portal.SystemException;
113
114 public void registerListener(
115 com.liferay.portal.model.ModelListener listener);
116
117 public void unregisterListener(
118 com.liferay.portal.model.ModelListener listener);
119 }