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.SystemException,
36 com.liferay.portal.NoSuchClassNameException;
37
38 public com.liferay.portal.model.ClassName remove(
39 com.liferay.portal.model.ClassName className)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portal.model.ClassName update(
43 com.liferay.portal.model.ClassName className)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portal.model.ClassName update(
47 com.liferay.portal.model.ClassName className, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portal.model.ClassName findByPrimaryKey(long classNameId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portal.NoSuchClassNameException;
53
54 public com.liferay.portal.model.ClassName fetchByPrimaryKey(
55 long classNameId) throws com.liferay.portal.SystemException;
56
57 public com.liferay.portal.model.ClassName findByValue(
58 java.lang.String value)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.NoSuchClassNameException;
61
62 public com.liferay.portal.model.ClassName fetchByValue(
63 java.lang.String value) throws com.liferay.portal.SystemException;
64
65 public java.util.List findWithDynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List findWithDynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public java.util.List findAll() throws com.liferay.portal.SystemException;
74
75 public java.util.List findAll(int begin, int end)
76 throws com.liferay.portal.SystemException;
77
78 public java.util.List findAll(int begin, int end,
79 com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException;
81
82 public void removeByValue(java.lang.String value)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.NoSuchClassNameException;
85
86 public void removeAll() throws com.liferay.portal.SystemException;
87
88 public int countByValue(java.lang.String value)
89 throws com.liferay.portal.SystemException;
90
91 public int countAll() throws com.liferay.portal.SystemException;
92 }