001
014
015 package com.liferay.portlet.expando.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.expando.model.ExpandoTable;
020
021
027 public interface ExpandoTablePersistence extends BasePersistence<ExpandoTable> {
028 public void cacheResult(
029 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables);
033
034 public com.liferay.portlet.expando.model.ExpandoTable create(long tableId);
035
036 public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.expando.NoSuchTableException;
039
040 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
041 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
046 long tableId)
047 throws com.liferay.portal.kernel.exception.SystemException,
048 com.liferay.portlet.expando.NoSuchTableException;
049
050 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
051 long tableId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
055 long companyId, long classNameId)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
059 long companyId, long classNameId, int start, int end)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
063 long companyId, long classNameId, int start, int end,
064 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065 throws com.liferay.portal.kernel.exception.SystemException;
066
067 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(
068 long companyId, long classNameId,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.kernel.exception.SystemException,
071 com.liferay.portlet.expando.NoSuchTableException;
072
073 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(
074 long companyId, long classNameId,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.kernel.exception.SystemException,
077 com.liferay.portlet.expando.NoSuchTableException;
078
079 public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(
080 long tableId, long companyId, long classNameId,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.kernel.exception.SystemException,
083 com.liferay.portlet.expando.NoSuchTableException;
084
085 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(
086 long companyId, long classNameId, java.lang.String name)
087 throws com.liferay.portal.kernel.exception.SystemException,
088 com.liferay.portlet.expando.NoSuchTableException;
089
090 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
091 long companyId, long classNameId, java.lang.String name)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
095 long companyId, long classNameId, java.lang.String name,
096 boolean retrieveFromCache)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
103 int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
107 int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public void removeByC_C(long companyId, long classNameId)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public void removeByC_C_N(long companyId, long classNameId,
115 java.lang.String name)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.expando.NoSuchTableException;
118
119 public void removeAll()
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public int countByC_C(long companyId, long classNameId)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public int countByC_C_N(long companyId, long classNameId,
126 java.lang.String name)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public int countAll()
130 throws com.liferay.portal.kernel.exception.SystemException;
131 }