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.ExpandoColumn;
020
021
027 public interface ExpandoColumnPersistence extends BasePersistence<ExpandoColumn> {
028 public void cacheResult(
029 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> expandoColumns);
033
034 public com.liferay.portlet.expando.model.ExpandoColumn create(long columnId);
035
036 public com.liferay.portlet.expando.model.ExpandoColumn remove(long columnId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.expando.NoSuchColumnException;
039
040 public com.liferay.portlet.expando.model.ExpandoColumn updateImpl(
041 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portlet.expando.model.ExpandoColumn findByPrimaryKey(
046 long columnId)
047 throws com.liferay.portal.kernel.exception.SystemException,
048 com.liferay.portlet.expando.NoSuchColumnException;
049
050 public com.liferay.portlet.expando.model.ExpandoColumn fetchByPrimaryKey(
051 long columnId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
055 long tableId)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
059 long tableId, int start, int end)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
063 long tableId, 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.ExpandoColumn findByTableId_First(
068 long tableId,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.kernel.exception.SystemException,
071 com.liferay.portlet.expando.NoSuchColumnException;
072
073 public com.liferay.portlet.expando.model.ExpandoColumn findByTableId_Last(
074 long tableId,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.kernel.exception.SystemException,
077 com.liferay.portlet.expando.NoSuchColumnException;
078
079 public com.liferay.portlet.expando.model.ExpandoColumn[] findByTableId_PrevAndNext(
080 long columnId, long tableId,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.kernel.exception.SystemException,
083 com.liferay.portlet.expando.NoSuchColumnException;
084
085 public com.liferay.portlet.expando.model.ExpandoColumn findByT_N(
086 long tableId, java.lang.String name)
087 throws com.liferay.portal.kernel.exception.SystemException,
088 com.liferay.portlet.expando.NoSuchColumnException;
089
090 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
091 long tableId, java.lang.String name)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
095 long tableId, java.lang.String name, boolean retrieveFromCache)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll()
099 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
102 int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
106 int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public void removeByTableId(long tableId)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public void removeByT_N(long tableId, java.lang.String name)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.expando.NoSuchColumnException;
116
117 public void removeAll()
118 throws com.liferay.portal.kernel.exception.SystemException;
119
120 public int countByTableId(long tableId)
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public int countByT_N(long tableId, java.lang.String name)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public int countAll()
127 throws com.liferay.portal.kernel.exception.SystemException;
128 }