|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<Layout>
com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl
@ProviderType 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 |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(LayoutModelImpl layoutModelImpl,
boolean isNew)
|
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(LayoutModelImpl layoutModelImpl)
|
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<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
fetchByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
fetchByGroupId_Last(long groupId,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> 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. |
Map<Serializable,Layout> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
Layout |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
Layout |
fetchByUuid_First(String uuid,
OrderByComparator<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> orderByComparator,
boolean previous)
|
protected Layout |
filterGetByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
filterGetByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
filterGetByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts. |
List<Layout> |
findAll(int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts. |
Layout |
findByCompanyId_First(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
findByCompanyId_Last(long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> orderByComparator)
Returns an ordered 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<Layout> orderByComparator,
boolean retrieveFromCache)
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<Layout> 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<Layout> 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<Layout> 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<Layout> 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<Layout> orderByComparator)
Returns an ordered 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<Layout> orderByComparator,
boolean retrieveFromCache)
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<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
Layout |
findByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
findByGroupId_Last(long groupId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ?. |
List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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<Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
Layout[] |
findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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<Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout[] |
findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. |
Layout |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
Layout |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
Layout[] |
findByUuid_C_PrevAndNext(long plid,
String uuid,
long companyId,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?. |
List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?. |
Layout |
findByUuid_First(String uuid,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator<Layout> 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<Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ?. |
List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected Layout |
getByCompanyId_PrevAndNext(Session session,
Layout layout,
long companyId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByLayoutPrototypeUuid_PrevAndNext(Session session,
Layout layout,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getBySourcePrototypeLayoutUuid_PrevAndNext(Session session,
Layout layout,
String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByUuid_C_PrevAndNext(Session session,
Layout layout,
String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Layout |
getByUuid_PrevAndNext(Session session,
Layout layout,
String uuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
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, getColumnName, 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_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_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_SPLU
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_SPLU
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public LayoutPersistenceImpl()
| Method Detail |
|---|
public List<Layout> findByUuid(String uuid)
findByUuid in interface LayoutPersistenceuuid - the uuid
public List<Layout> findByUuid(String uuid,
int start,
int end)
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 LayoutPersistenceuuid - the uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByUuid(String uuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistenceuuid - the uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByUuid(String uuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistenceuuid - the uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByUuid_First(String uuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_First in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByUuid_First(String uuid,
OrderByComparator<Layout> orderByComparator)
fetchByUuid_First in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByUuid_Last(String uuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_Last in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByUuid_Last(String uuid,
OrderByComparator<Layout> orderByComparator)
fetchByUuid_Last in interface LayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByUuid_PrevAndNext(Session session,
Layout layout,
String uuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface LayoutPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface LayoutPersistenceuuid - the uuid
public Layout findByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
null if it could not be found. Uses the finder cache.
fetchByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
null if a matching layout could not be found
public Layout fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layoutretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout could not be found
public Layout removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
throws NoSuchLayoutException
removeByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
NoSuchLayoutException
public int countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
countByUUID_G_P in interface LayoutPersistenceuuid - the uuidgroupId - the group IDprivateLayout - the private layout
public List<Layout> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface LayoutPersistenceuuid - the uuidcompanyId - the company ID
public List<Layout> findByUuid_C(String uuid,
long companyId,
int start,
int end)
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 LayoutPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistenceuuid - 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)
public List<Layout> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_C_First in interface LayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
fetchByUuid_C_First in interface LayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_C_Last in interface LayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
fetchByUuid_C_Last in interface LayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByUuid_C_PrevAndNext(long plid,
String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByUuid_C_PrevAndNext in interface LayoutPersistenceplid - 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
protected Layout getByUuid_C_PrevAndNext(Session session,
Layout layout,
String uuid,
long companyId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface LayoutPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface LayoutPersistenceuuid - the uuidcompanyId - the company ID
public List<Layout> findByGroupId(long groupId)
findByGroupId in interface LayoutPersistencegroupId - the group ID
public List<Layout> findByGroupId(long groupId,
int start,
int end)
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 LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByGroupId_First in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByGroupId_First(long groupId,
OrderByComparator<Layout> orderByComparator)
fetchByGroupId_First in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByGroupId_Last(long groupId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByGroupId_Last in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByGroupId_Last(long groupId,
OrderByComparator<Layout> orderByComparator)
fetchByGroupId_Last in interface LayoutPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByGroupId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public List<Layout> filterFindByGroupId(long groupId)
filterFindByGroupId in interface LayoutPersistencegroupId - the group ID
public List<Layout> filterFindByGroupId(long groupId,
int start,
int end)
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 LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public Layout[] filterFindByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
filterFindByGroupId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout filterGetByGroupId_PrevAndNext(Session session,
Layout layout,
long groupId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface LayoutPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface LayoutPersistencegroupId - the group ID
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface LayoutPersistencegroupId - the group ID
public List<Layout> findByCompanyId(long companyId)
findByCompanyId in interface LayoutPersistencecompanyId - the company ID
public List<Layout> findByCompanyId(long companyId,
int start,
int end)
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 LayoutPersistencecompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencecompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencecompanyId - the company IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByCompanyId_First(long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByCompanyId_First in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByCompanyId_First(long companyId,
OrderByComparator<Layout> orderByComparator)
fetchByCompanyId_First in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByCompanyId_Last(long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByCompanyId_Last in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByCompanyId_Last(long companyId,
OrderByComparator<Layout> orderByComparator)
fetchByCompanyId_Last in interface LayoutPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByCompanyId_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByCompanyId_PrevAndNext(Session session,
Layout layout,
long companyId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface LayoutPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface LayoutPersistencecompanyId - the company ID
public Layout findByIconImageId(long iconImageId)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
NoSuchLayoutException - if a matching layout could not be foundpublic Layout fetchByIconImageId(long iconImageId)
null if it could not be found. Uses the finder cache.
fetchByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
null if a matching layout could not be found
public Layout fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByIconImageId in interface LayoutPersistenceiconImageId - the icon image IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout could not be found
public Layout removeByIconImageId(long iconImageId)
throws NoSuchLayoutException
removeByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
NoSuchLayoutExceptionpublic int countByIconImageId(long iconImageId)
countByIconImageId in interface LayoutPersistenceiconImageId - the icon image ID
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
findByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuid
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
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 LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByLayoutPrototypeUuid_First in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
fetchByLayoutPrototypeUuid_First in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByLayoutPrototypeUuid_Last in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
fetchByLayoutPrototypeUuid_Last in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByLayoutPrototypeUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutlayoutPrototypeUuid - the layout prototype uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByLayoutPrototypeUuid_PrevAndNext(Session session,
Layout layout,
String layoutPrototypeUuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
removeByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuidpublic int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
countByLayoutPrototypeUuid in interface LayoutPersistencelayoutPrototypeUuid - the layout prototype uuid
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
findBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuid
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
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 LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findBySourcePrototypeLayoutUuid_First in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
fetchBySourcePrototypeLayoutUuid_First in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findBySourcePrototypeLayoutUuid_Last in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
fetchBySourcePrototypeLayoutUuid_Last in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findBySourcePrototypeLayoutUuid_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutsourcePrototypeLayoutUuid - the source prototype layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getBySourcePrototypeLayoutUuid_PrevAndNext(Session session,
Layout layout,
String sourcePrototypeLayoutUuid,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
removeBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuidpublic int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
countBySourcePrototypeLayoutUuid in interface LayoutPersistencesourcePrototypeLayoutUuid - the source prototype layout uuid
public List<Layout> findByG_P(long groupId,
boolean privateLayout)
findByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
public List<Layout> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout)
filterFindByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public Layout[] filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
filterFindByG_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout filterGetByG_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByG_P(long groupId,
boolean privateLayout)
removeByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
public int countByG_P(long groupId,
boolean privateLayout)
countByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
public int filterCountByG_P(long groupId,
boolean privateLayout)
filterCountByG_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layout
public Layout findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
null if it could not be found. Uses the finder cache.
fetchByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
null if a matching layout could not be found
public Layout fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout could not be found
public Layout removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException
removeByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
NoSuchLayoutException
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
countByG_P_L in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
findByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_P_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_P_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
filterFindByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDstart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public Layout[] filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
filterFindByG_P_P_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout filterGetByG_P_P_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
removeByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
public int countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
countByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
public int filterCountByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
filterCountByG_P_P in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutparentLayoutId - the parent layout ID
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type)
findByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public Layout findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_T_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_T_First in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_T_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
fetchByG_P_T_Last in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout could not be found
public Layout[] findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
findByG_P_T_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout getByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type)
filterFindByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the typestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public Layout[] filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator)
throws NoSuchLayoutException
filterFindByG_P_T_PrevAndNext in interface LayoutPersistenceplid - the primary key of the current layoutgroupId - the group IDprivateLayout - the private layouttype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutException - if a layout with the primary key could not be found
protected Layout filterGetByG_P_T_PrevAndNext(Session session,
Layout layout,
long groupId,
boolean privateLayout,
String type,
OrderByComparator<Layout> orderByComparator,
boolean previous)
public void removeByG_P_T(long groupId,
boolean privateLayout,
String type)
removeByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
public int countByG_P_T(long groupId,
boolean privateLayout,
String type)
countByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
public int filterCountByG_P_T(long groupId,
boolean privateLayout,
String type)
filterCountByG_P_T in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layouttype - the type
public Layout findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
null if it could not be found. Uses the finder cache.
fetchByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
null if a matching layout could not be found
public Layout fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout could not be found
public Layout removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException
removeByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
NoSuchLayoutException
public int countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
countByG_P_F in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
public Layout findByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
NoSuchLayoutException - if a matching layout could not be found
public Layout fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
null if it could not be found. Uses the finder cache.
fetchByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
null if a matching layout could not be found
public Layout fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuidretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout could not be found
public Layout removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
throws NoSuchLayoutException
removeByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
NoSuchLayoutException
public int countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
countByG_P_SPLU in interface LayoutPersistencegroupId - the group IDprivateLayout - the private layoutsourcePrototypeLayoutUuid - the source prototype layout uuid
public void cacheResult(Layout layout)
cacheResult in interface LayoutPersistencelayout - the layoutpublic void cacheResult(List<Layout> layouts)
cacheResult in interface LayoutPersistencelayouts - the layoutspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>public void clearCache(Layout layout)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>layout - the instance of this model to clear the cache forpublic void clearCache(List<Layout> layouts)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Layout>clearCache in class BasePersistenceImpl<Layout>layouts - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(LayoutModelImpl layoutModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(LayoutModelImpl layoutModelImpl)
public Layout create(long plid)
create in interface LayoutPersistenceplid - the primary key for the new layout
public Layout remove(long plid)
throws NoSuchLayoutException
remove in interface LayoutPersistenceplid - the primary key of the layout
NoSuchLayoutException - if a layout with the primary key could not be found
public Layout remove(Serializable primaryKey)
throws NoSuchLayoutException
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 foundprotected Layout removeImpl(Layout layout)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<Layout>layout - the model instance to remove
public Layout updateImpl(Layout layout)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface LayoutPersistenceupdateImpl in class BasePersistenceImpl<Layout>layout - the model instance to update
protected Layout toUnwrappedModel(Layout layout)
public Layout findByPrimaryKey(Serializable primaryKey)
throws NoSuchLayoutException
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
public Layout findByPrimaryKey(long plid)
throws NoSuchLayoutException
NoSuchLayoutException if it could not be found.
findByPrimaryKey in interface LayoutPersistenceplid - the primary key of the layout
NoSuchLayoutException - if a layout with the primary key could not be foundpublic Layout fetchByPrimaryKey(Serializable primaryKey)
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 foundpublic Layout fetchByPrimaryKey(long plid)
null if it could not be found.
fetchByPrimaryKey in interface LayoutPersistenceplid - the primary key of the layout
null if a layout with the primary key could not be foundpublic Map<Serializable,Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<Layout>fetchByPrimaryKeys in interface LayoutPersistencefetchByPrimaryKeys in class BasePersistenceImpl<Layout>public List<Layout> findAll()
findAll in interface LayoutPersistence
public List<Layout> findAll(int start,
int end)
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 LayoutPersistencestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public List<Layout> findAll(int start,
int end,
OrderByComparator<Layout> orderByComparator)
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 LayoutPersistencestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<Layout> findAll(int start,
int end,
OrderByComparator<Layout> orderByComparator,
boolean retrieveFromCache)
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 LayoutPersistencestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface LayoutPersistencepublic int countAll()
countAll in interface LayoutPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<Layout>getBadColumnNames in interface LayoutPersistencegetBadColumnNames in class BasePersistenceImpl<Layout>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<Layout>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||