com.liferay.portal.service.persistence
Class LayoutPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portal.service.persistence.LayoutPersistenceImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, LayoutPersistence
- public class LayoutPersistenceImpl
- extends BasePersistence
- implements LayoutPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByDLF(long dlFolderId)
|
int |
countByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
|
int |
countByG_P(long groupId,
boolean privateLayout)
|
com.liferay.portal.model.Layout |
create(long plid)
|
com.liferay.portal.model.Layout |
fetchByDLF(long dlFolderId)
|
com.liferay.portal.model.Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
com.liferay.portal.model.Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
com.liferay.portal.model.Layout |
fetchByPrimaryKey(long plid)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout |
findByDLF(long dlFolderId)
|
com.liferay.portal.model.Layout |
findByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
com.liferay.portal.model.Layout |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
com.liferay.portal.model.Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout |
findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout |
findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout[] |
findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
|
java.util.List |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
|
java.util.List |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout[] |
findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_P(long groupId,
boolean privateLayout)
|
java.util.List |
findByG_P(long groupId,
boolean privateLayout,
int begin,
int end)
|
java.util.List |
findByG_P(long groupId,
boolean privateLayout,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Layout |
findByPrimaryKey(long plid)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portal.model.Layout |
remove(com.liferay.portal.model.Layout layout)
|
com.liferay.portal.model.Layout |
remove(long plid)
|
void |
removeAll()
|
void |
removeByDLF(long dlFolderId)
|
void |
removeByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
void |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
|
void |
removeByG_P(long groupId,
boolean privateLayout)
|
com.liferay.portal.model.Layout |
update(com.liferay.portal.model.Layout layout)
|
com.liferay.portal.model.Layout |
update(com.liferay.portal.model.Layout layout,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutPersistenceImpl
public LayoutPersistenceImpl()
create
public com.liferay.portal.model.Layout create(long plid)
- Specified by:
create
in interface LayoutPersistence
remove
public com.liferay.portal.model.Layout remove(long plid)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
remove
public com.liferay.portal.model.Layout remove(com.liferay.portal.model.Layout layout)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portal.model.Layout findByPrimaryKey(long plid)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByDLF
public com.liferay.portal.model.Layout findByDLF(long dlFolderId)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByDLF
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
fetchByDLF
public com.liferay.portal.model.Layout fetchByDLF(long dlFolderId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByDLF
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P
public java.util.List findByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P
public java.util.List findByG_P(long groupId,
boolean privateLayout,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P
public java.util.List findByG_P(long groupId,
boolean privateLayout,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P_First
public com.liferay.portal.model.Layout findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_First
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_Last
public com.liferay.portal.model.Layout findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_Last
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_PrevAndNext
public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_PrevAndNext
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_L
public com.liferay.portal.model.Layout findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_L
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
fetchByG_P_L
public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByG_P_L
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P_P
public java.util.List findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P_P
public java.util.List findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P_P
public java.util.List findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_P_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findByG_P_P_First
public com.liferay.portal.model.Layout findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_P_First
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_P_Last
public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_P_Last
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_P_PrevAndNext
public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_P_PrevAndNext
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
findByG_P_F
public com.liferay.portal.model.Layout findByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
findByG_P_F
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
fetchByG_P_F
public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Specified by:
fetchByG_P_F
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
removeByDLF
public void removeByDLF(long dlFolderId)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
removeByDLF
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
removeByG_P
public void removeByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
removeByG_P_L
public void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
removeByG_P_L
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
removeByG_P_P
public void removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_P_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
removeByG_P_F
public void removeByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.NoSuchLayoutException,
com.liferay.portal.SystemException
- Specified by:
removeByG_P_F
in interface LayoutPersistence
- Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countByDLF
public int countByDLF(long dlFolderId)
throws com.liferay.portal.SystemException
- Specified by:
countByDLF
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countByG_P
public int countByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Specified by:
countByG_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countByG_P_L
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_P_L
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countByG_P_P
public int countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_P_P
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countByG_P_F
public int countByG_P_F(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Specified by:
countByG_P_F
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface LayoutPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()