|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<Layout>
com.liferay.portal.service.persistence.LayoutPersistenceImpl
public class LayoutPersistenceImpl
The persistence implementation for the layout service.
Caching information and settings can be found in portal.properties
LayoutPersistence,
LayoutUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
LayoutPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the layout persistence. |
void |
cacheResult(Layout layout)
Caches the layout in the entity cache if it is enabled. |
void |
cacheResult(List<Layout> layouts)
Caches the layouts in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(Layout layout)
|
void |
clearCache()
Clears the cache for all layouts. |
void |
clearCache(Layout layout)
Clears the cache for the layout. |
void |
clearCache(List<Layout> layouts)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(Layout layout)
|
int |
countAll()
Returns the number of layouts. |
int |
countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?. |
int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?. |
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?. |
int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
int |
countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?. |
int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?. |
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?. |
int |
countByGroupId(long groupId)
Returns the number of layouts where groupId = ?. |
int |
countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?. |
int |
countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?. |
int |
countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?. |
int |
countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?. |
int |
countByUuid(String uuid)
Returns the number of layouts where uuid = ?. |
Layout |
create(long plid)
Creates a new layout with the primary key. |
void |
destroy()
|
Layout |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found. |
Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found. |
Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found. |
Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
Layout |
fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns null if it could not be found. |
Layout |
fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns null if it could not be found. |
Layout |
fetchByPrimaryKey(Serializable primaryKey)
Returns the layout with the primary key or returns null if it could not be found. |
Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found. |
Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout,
boolean retrieveFromCache)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
int |
filterCountByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
int |
filterCountByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?. |
Layout[] |
filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
Layout[] |
filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?. |
Layout[] |
filterFindByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?. |
protected Layout |
filterGetByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
filterGetByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
filterGetByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
filterGetByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<Layout> |
findAll()
Returns all the layouts. |
List<Layout> |
findAll(int start,
int end)
Returns a range of all the layouts. |
List<Layout> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts. |
Layout |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId)
Returns all the layouts where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layouts where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where companyId = ?. |
Layout |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout[] |
findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
Layout |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ?. |
List<Layout> |
findByGroupId(long groupId)
Returns all the layouts where groupId = ?. |
List<Layout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts where groupId = ?. |
List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ?. |
Layout |
findByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
Layout[] |
findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?. |
Layout |
findByPrimaryKey(long plid)
Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByPrimaryKey(Serializable primaryKey)
Returns the layout with the primary key or throws a NoSuchModelException if it could not be found. |
Layout |
findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout[] |
findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. |
Layout |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
Layout |
findByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ?. |
List<Layout> |
findByUuid(String uuid)
Returns all the layouts where uuid = ?. |
List<Layout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layouts where uuid = ?. |
List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where uuid = ?. |
protected Layout |
getByCompanyId_PrevAndNext(Session session,
Layout layout,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByLayoutPrototypeUuid_PrevAndNext(Session session,
Layout layout,
String layoutPrototypeUuid,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getBySourcePrototypeLayoutUuid_PrevAndNext(Session session,
Layout layout,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator,
boolean previous)
|
protected Layout |
getByUuid_PrevAndNext(Session session,
Layout layout,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
Layout |
remove(long plid)
Removes the layout with the primary key from the database. |
Layout |
remove(Serializable primaryKey)
Removes the layout with the primary key from the database. |
void |
removeAll()
Removes all the layouts from the database. |
void |
removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database. |
Layout |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. |
Layout |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database. |
void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database. |
Layout |
removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database. |
void |
removeByG_P_T(long groupId,
boolean privateLayout,
String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database. |
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database. |
Layout |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database. |
void |
removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database. |
void |
removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database. |
Layout |
removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database. |
protected Layout |
removeImpl(Layout layout)
Removes the model instance from the database. |
protected Layout |
toUnwrappedModel(Layout layout)
|
Layout |
updateImpl(Layout layout,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FETCH_BY_ICONIMAGEID
public static final FinderPath FINDER_PATH_COUNT_BY_ICONIMAGEID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID
public static final FinderPath FINDER_PATH_COUNT_BY_LAYOUTPROTOTYPEUUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID
public static final FinderPath FINDER_PATH_COUNT_BY_SOURCEPROTOTYPELAYOUTUUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_P
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_T
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_SPLU
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_SPLU
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AccountPersistence.class) protected AccountPersistence accountPersistence
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=ClusterGroupPersistence.class) protected ClusterGroupPersistence clusterGroupPersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutBranchPersistence.class) protected LayoutBranchPersistence layoutBranchPersistence
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutRevisionPersistence.class) protected LayoutRevisionPersistence layoutRevisionPersistence
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetBranchPersistence.class) protected LayoutSetBranchPersistence layoutSetBranchPersistence
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrgGroupPermissionPersistence.class) protected OrgGroupPermissionPersistence orgGroupPermissionPersistence
@BeanReference(type=OrgGroupRolePersistence.class) protected OrgGroupRolePersistence orgGroupRolePersistence
@BeanReference(type=OrgLaborPersistence.class) protected OrgLaborPersistence orgLaborPersistence
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence
@BeanReference(type=PermissionPersistence.class) protected PermissionPersistence permissionPersistence
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=PortalPreferencesPersistence.class) protected PortalPreferencesPersistence portalPreferencesPersistence
@BeanReference(type=PortletPersistence.class) protected PortletPersistence portletPersistence
@BeanReference(type=PortletItemPersistence.class) protected PortletItemPersistence portletItemPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ReleasePersistence.class) protected ReleasePersistence releasePersistence
@BeanReference(type=RepositoryPersistence.class) protected RepositoryPersistence repositoryPersistence
@BeanReference(type=RepositoryEntryPersistence.class) protected RepositoryEntryPersistence repositoryEntryPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=ResourceBlockPersistence.class) protected ResourceBlockPersistence resourceBlockPersistence
@BeanReference(type=ResourceBlockPermissionPersistence.class) protected ResourceBlockPermissionPersistence resourceBlockPermissionPersistence
@BeanReference(type=ResourceCodePersistence.class) protected ResourceCodePersistence resourceCodePersistence
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=ResourceTypePermissionPersistence.class) protected ResourceTypePermissionPersistence resourceTypePermissionPersistence
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=ServiceComponentPersistence.class) protected ServiceComponentPersistence serviceComponentPersistence
@BeanReference(type=ShardPersistence.class) protected ShardPersistence shardPersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=TeamPersistence.class) protected TeamPersistence teamPersistence
@BeanReference(type=TicketPersistence.class) protected TicketPersistence ticketPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
@BeanReference(type=UserGroupGroupRolePersistence.class) protected UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence
@BeanReference(type=UserNotificationEventPersistence.class) protected UserNotificationEventPersistence userNotificationEventPersistence
@BeanReference(type=UserTrackerPersistence.class) protected UserTrackerPersistence userTrackerPersistence
@BeanReference(type=UserTrackerPathPersistence.class) protected UserTrackerPathPersistence userTrackerPathPersistence
@BeanReference(type=VirtualHostPersistence.class) protected VirtualHostPersistence virtualHostPersistence
@BeanReference(type=WebDAVPropsPersistence.class) protected WebDAVPropsPersistence webDAVPropsPersistence
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalContentSearchPersistence.class) protected JournalContentSearchPersistence journalContentSearchPersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MDRRuleGroupInstancePersistence.class) protected MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
| Constructor Detail |
|---|
public LayoutPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(Layout layout)
cacheResult in interface LayoutPersistencelayout - the layoutpublic void cacheResult(List<Layout> layouts)
cacheResult in interface LayoutPersistencelayouts - the layoutspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>public void clearCache(Layout layout)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>layout - the instance of this model to clear the cache forpublic void clearCache(List<Layout> layouts)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>layouts - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(Layout layout)
protected void clearUniqueFindersCache(Layout layout)
public Layout create(long plid)
create in interface LayoutPersistenceplid - the primary key for the new layout
public Layout remove(long plid)
throws NoSuchLayoutException,
SystemException
remove in interface LayoutPersistenceplid - the primary key of the layout
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public Layout remove(Serializable primaryKey)
throws NoSuchLayoutException,
SystemException
remove in interface BasePersistence<Layout>remove in class BasePersistenceImpl<Layout>primaryKey - the primary key of the layout
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout removeImpl(Layout layout)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<Layout>layout - the model instance to remove
SystemException - if a system exception occurred
public Layout updateImpl(Layout layout,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface LayoutPersistenceupdateImpl in class BasePersistenceImpl<Layout>layout - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected Layout toUnwrappedModel(Layout layout)
public Layout findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<Layout>findByPrimaryKey in class BasePersistenceImpl<Layout>primaryKey - the primary key of the layout
NoSuchModelException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public Layout findByPrimaryKey(long plid)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByPrimaryKey in interface LayoutPersistenceplid - the primary key of the layout
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public Layout fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<Layout>fetchByPrimaryKey in class BasePersistenceImpl<Layout>primaryKey - the primary key of the layout
null if a layout with the primary key could not be found
SystemException - if a system exception occurred
public Layout fetchByPrimaryKey(long plid)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface LayoutPersistenceplid - the primary key of the layout
null if a layout with the primary key could not be found
SystemException - if a system exception occurred
public List<Layout> findByUuid(String uuid)
throws SystemException
findByUuid in interface LayoutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<Layout> findByUuid(String uuid,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface LayoutPersistenceuuid - the uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface LayoutPersistenceuuid - the uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByUuid_First in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByUuid_Last in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByUuid_PrevAndNext(Session session,
Layout layout,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public Layout findByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layoutretrieveFromCache - whether to use the finder cache
null if a matching layout could not be found
SystemException - if a system exception occurred
public List<Layout> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface LayoutPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<Layout> findByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByGroupId_First in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByGroupId_Last in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByGroupId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface LayoutPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<Layout> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout[] filterFindByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
filterFindByGroupId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout filterGetByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface LayoutPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<Layout> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByCompanyId in interface LayoutPersistencecompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByCompanyId in interface LayoutPersistencecompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByCompanyId_First in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_First in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByCompanyId_Last in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_Last in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByCompanyId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByCompanyId_PrevAndNext(Session session,
Layout layout,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public Layout findByIconImageId(long iconImageId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByIconImageId(long iconImageId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByIconImageId in interface LayoutPersistenceiconImageId - the icon image IDretrieveFromCache - whether to use the finder cache
null if a matching layout could not be found
SystemException - if a system exception occurred
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
throws SystemException
findByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuid
SystemException - if a system exception occurred
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByLayoutPrototypeUuid_First in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByLayoutPrototypeUuid_First in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByLayoutPrototypeUuid_Last in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByLayoutPrototypeUuid_Last in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByLayoutPrototypeUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutlayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByLayoutPrototypeUuid_PrevAndNext(Session session,
Layout layout,
String layoutPrototypeUuid,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
throws SystemException
findBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuid
SystemException - if a system exception occurred
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findBySourcePrototypeLayoutUuid_First in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
throws SystemException
fetchBySourcePrototypeLayoutUuid_First in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findBySourcePrototypeLayoutUuid_Last in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
throws SystemException
fetchBySourcePrototypeLayoutUuid_Last in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findBySourcePrototypeLayoutUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutsourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getBySourcePrototypeLayoutUuid_PrevAndNext(Session session,
Layout layout,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> findByG_P(long groupId,
boolean privateLayout)
throws SystemException
findByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public List<Layout> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout)
throws SystemException
filterFindByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout[] filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
filterFindByG_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout filterGetByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
public Layout findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDretrieveFromCache - whether to use the finder cache
null if a matching layout could not be found
SystemException - if a system exception occurred
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
findByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
SystemException - if a system exception occurred
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
filterFindByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout[] filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
filterFindByG_P_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout filterGetByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator,
boolean previous)
public Layout findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lretrieveFromCache - whether to use the finder cache
null if a matching layout could not be found
SystemException - if a system exception occurred
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
findByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
SystemException - if a system exception occurred
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_T_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_T_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_T_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_T_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout[] findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
findByG_P_T_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout getByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
filterFindByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public Layout[] filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
SystemException
filterFindByG_P_T_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
protected Layout filterGetByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator,
boolean previous)
public Layout findByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
findByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
null if a matching layout could not be found
SystemException - if a system exception occurred
public Layout fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuidretrieveFromCache - whether to use the finder cache
null if a matching layout could not be found
SystemException - if a system exception occurred
public List<Layout> findAll()
throws SystemException
findAll in interface LayoutPersistenceSystemException - if a system exception occurred
public List<Layout> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface LayoutPersistencestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
SystemException - if a system exception occurred
public List<Layout> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface LayoutPersistencestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface LayoutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public Layout removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws NoSuchLayoutException,
SystemException
removeByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
NoSuchLayoutException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface LayoutPersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface LayoutPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public Layout removeByIconImageId(long iconImageId)
throws NoSuchLayoutException,
SystemException
removeByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
SystemException - if a system exception occurred
NoSuchLayoutException
public void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
throws SystemException
removeByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuid
SystemException - if a system exception occurred
public void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
throws SystemException
removeBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuid
SystemException - if a system exception occurred
public void removeByG_P(long groupId,
boolean privateLayout)
throws SystemException
removeByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public Layout removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException,
SystemException
removeByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
SystemException - if a system exception occurred
NoSuchLayoutException
public void removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
removeByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
SystemException - if a system exception occurred
public Layout removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException,
SystemException
removeByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
SystemException - if a system exception occurred
NoSuchLayoutException
public void removeByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
removeByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
SystemException - if a system exception occurred
public Layout removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws NoSuchLayoutException,
SystemException
removeByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
SystemException - if a system exception occurred
NoSuchLayoutException
public void removeAll()
throws SystemException
removeAll in interface LayoutPersistenceSystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface LayoutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws SystemException
countByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface LayoutPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface LayoutPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface LayoutPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public int countByIconImageId(long iconImageId)
throws SystemException
countByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
SystemException - if a system exception occurred
public int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
throws SystemException
countByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuid
SystemException - if a system exception occurred
public int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
throws SystemException
countBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuid
SystemException - if a system exception occurred
public int countByG_P(long groupId,
boolean privateLayout)
throws SystemException
countByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public int filterCountByG_P(long groupId,
boolean privateLayout)
throws SystemException
filterCountByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
SystemException - if a system exception occurred
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
countByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
SystemException - if a system exception occurred
public int countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
countByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
SystemException - if a system exception occurred
public int filterCountByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
filterCountByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
SystemException - if a system exception occurred
public int countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws SystemException
countByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
SystemException - if a system exception occurred
public int countByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
countByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
SystemException - if a system exception occurred
public int filterCountByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
filterCountByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
SystemException - if a system exception occurred
public int countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws SystemException
countByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface LayoutPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||