|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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_C(String uuid,
long companyId)
Returns the number of layouts where uuid = ? and companyId = ?. |
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_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
Layout |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
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_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
Layout |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
Layout[] |
findByUuid_C_PrevAndNext(long plid,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?. |
List<Layout> |
findByUuid_C(String uuid,
long companyId)
Returns all the layouts where uuid = ? and companyId = ?. |
List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layouts where uuid = ? and companyId = ?. |
List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?. |
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 Set<String> |
getBadColumnNames()
|
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_C_PrevAndNext(Session session,
Layout layout,
String uuid,
long companyId,
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. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layouts where uuid = ? and companyId = ? 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)
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, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
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, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, 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_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
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_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
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
Constructor Detail |
---|
public LayoutPersistenceImpl()
Method Detail |
---|
public List<Layout> findByUuid(String uuid) throws SystemException
findByUuid
in interface LayoutPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface LayoutPersistence
uuid
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface LayoutPersistence
uuid
- 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 occurredpublic Layout findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_First
in interface LayoutPersistence
uuid
- 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 occurredpublic Layout fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface LayoutPersistence
uuid
- 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 occurredpublic Layout findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_Last
in interface LayoutPersistence
uuid
- 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 occurredpublic Layout fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface LayoutPersistence
uuid
- 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 occurredpublic Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout getByUuid_PrevAndNext(Session session, Layout layout, String uuid, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface LayoutPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface LayoutPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
uuid
- 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 occurredpublic Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException, SystemException
removeByUUID_G_P
in interface LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurred
NoSuchLayoutException
public int countByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws SystemException
countByUUID_G_P
in interface LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic List<Layout> findByUuid_C(String uuid, long companyId) throws SystemException
findByUuid_C
in interface LayoutPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<Layout> findByUuid_C(String uuid, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic List<Layout> findByUuid_C(String uuid, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_C_First
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic Layout fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_First
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_C_Last
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic Layout fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_Last
in interface LayoutPersistence
uuid
- the uuidcompanyId
- 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 occurredpublic Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByUuid_C_PrevAndNext
in interface LayoutPersistence
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- 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 occurredprotected Layout getByUuid_C_PrevAndNext(Session session, Layout layout, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId) throws SystemException
removeByUuid_C
in interface LayoutPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic int countByUuid_C(String uuid, long companyId) throws SystemException
countByUuid_C
in interface LayoutPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<Layout> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface LayoutPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByGroupId_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByGroupId_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByGroupId_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout getByGroupId_PrevAndNext(Session session, Layout layout, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<Layout> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface LayoutPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
filterFindByGroupId_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout filterGetByGroupId_PrevAndNext(Session session, Layout layout, long groupId, OrderByComparator orderByComparator, boolean previous)
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface LayoutPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface LayoutPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface LayoutPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<Layout> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface LayoutPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface LayoutPersistence
companyId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface LayoutPersistence
companyId
- 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 occurredpublic Layout findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByCompanyId_First
in interface LayoutPersistence
companyId
- 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 occurredpublic Layout fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_First
in interface LayoutPersistence
companyId
- 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 occurredpublic Layout findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByCompanyId_Last
in interface LayoutPersistence
companyId
- 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 occurredpublic Layout fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_Last
in interface LayoutPersistence
companyId
- 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 occurredpublic Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByCompanyId_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout getByCompanyId_PrevAndNext(Session session, Layout layout, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface LayoutPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface LayoutPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic Layout findByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
findByIconImageId
in interface LayoutPersistence
iconImageId
- the icon image ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic Layout fetchByIconImageId(long iconImageId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByIconImageId
in interface LayoutPersistence
iconImageId
- the icon image ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByIconImageId
in interface LayoutPersistence
iconImageId
- the icon image IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic Layout removeByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
removeByIconImageId
in interface LayoutPersistence
iconImageId
- the icon image ID
SystemException
- if a system exception occurred
NoSuchLayoutException
public int countByIconImageId(long iconImageId) throws SystemException
countByIconImageId
in interface LayoutPersistence
iconImageId
- the icon image ID
SystemException
- if a system exception occurredpublic List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
findByLayoutPrototypeUuid
in interface LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutPrototypeUuid
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutPrototypeUuid
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByLayoutPrototypeUuid_First
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
fetchByLayoutPrototypeUuid_First
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByLayoutPrototypeUuid_Last
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
fetchByLayoutPrototypeUuid_Last
in interface LayoutPersistence
layoutPrototypeUuid
- 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 occurredpublic Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByLayoutPrototypeUuid_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout getByLayoutPrototypeUuid_PrevAndNext(Session session, Layout layout, String layoutPrototypeUuid, OrderByComparator orderByComparator, boolean previous)
public void removeByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
removeByLayoutPrototypeUuid
in interface LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic int countByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
countByLayoutPrototypeUuid
in interface LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
findBySourcePrototypeLayoutUuid
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findBySourcePrototypeLayoutUuid
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findBySourcePrototypeLayoutUuid
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findBySourcePrototypeLayoutUuid_First
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
fetchBySourcePrototypeLayoutUuid_First
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findBySourcePrototypeLayoutUuid_Last
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
fetchBySourcePrototypeLayoutUuid_Last
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- 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 occurredpublic Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findBySourcePrototypeLayoutUuid_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout getBySourcePrototypeLayoutUuid_PrevAndNext(Session session, Layout layout, String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator, boolean previous)
public void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
removeBySourcePrototypeLayoutUuid
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
countBySourcePrototypeLayoutUuid
in interface LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic List<Layout> findByG_P(long groupId, boolean privateLayout) throws SystemException
findByG_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected 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 LayoutPersistence
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
filterFindByG_P_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout filterGetByG_P_PrevAndNext(Session session, Layout layout, long groupId, boolean privateLayout, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P(long groupId, boolean privateLayout) throws SystemException
removeByG_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic int countByG_P(long groupId, boolean privateLayout) throws SystemException
countByG_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic int filterCountByG_P(long groupId, boolean privateLayout) throws SystemException
filterCountByG_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException, SystemException
removeByG_P_L
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurred
NoSuchLayoutException
public int countByG_P_L(long groupId, boolean privateLayout, long layoutId) throws SystemException
countByG_P_L
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurredpublic List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
findByG_P_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_P
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_P
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_P_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_P_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_P_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_P_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_P_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected 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 LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_P
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_P
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
filterFindByG_P_P_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout filterGetByG_P_P_PrevAndNext(Session session, Layout layout, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
removeByG_P_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
countByG_P_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
filterCountByG_P_P
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException, SystemException
removeByG_P_F
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurred
NoSuchLayoutException
public int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
countByG_P_F
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
findByG_P_T
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_T
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_T
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_T_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_T_First
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_T_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_T_Last
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
findByG_P_T_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected 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 LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_T
in interface LayoutPersistence
groupId
- 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 occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_T
in interface LayoutPersistence
groupId
- 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 occurredpublic Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
filterFindByG_P_T_PrevAndNext
in interface LayoutPersistence
plid
- 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 occurredprotected Layout filterGetByG_P_T_PrevAndNext(Session session, Layout layout, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
removeByG_P_T
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic int countByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
countByG_P_T
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic int filterCountByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
filterCountByG_P_T
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic 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 LayoutPersistence
groupId
- 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 occurredpublic Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException, SystemException
removeByG_P_SPLU
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurred
NoSuchLayoutException
public int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws SystemException
countByG_P_SPLU
in interface LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic void cacheResult(Layout layout)
cacheResult
in interface LayoutPersistence
layout
- the layoutpublic void cacheResult(List<Layout> layouts)
cacheResult
in interface LayoutPersistence
layouts
- 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 LayoutPersistence
plid
- the primary key for the new layout
public Layout remove(long plid) throws NoSuchLayoutException, SystemException
remove
in interface LayoutPersistence
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic 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 occurredprotected Layout removeImpl(Layout layout) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.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 occurredpublic Layout updateImpl(Layout layout) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface LayoutPersistence
updateImpl
in class BasePersistenceImpl<Layout>
layout
- the model instance to update
SystemException
- if a system exception occurredprotected Layout toUnwrappedModel(Layout layout)
public Layout findByPrimaryKey(Serializable primaryKey) throws NoSuchLayoutException, 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
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic Layout findByPrimaryKey(long plid) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
findByPrimaryKey
in interface LayoutPersistence
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic 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 occurredpublic Layout fetchByPrimaryKey(long plid) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface LayoutPersistence
plid
- the primary key of the layout
null
if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic List<Layout> findAll() throws SystemException
findAll
in interface LayoutPersistence
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface LayoutPersistence
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface LayoutPersistence
start
- 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 occurredpublic void removeAll() throws SystemException
removeAll
in interface LayoutPersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface LayoutPersistence
SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class BasePersistenceImpl<Layout>
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |