|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutPersistence
The persistence interface for the layout service.
Caching information and settings can be found in portal.properties
LayoutPersistenceImpl
,
LayoutUtil
Method Summary | |
---|---|
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. |
int |
countAll()
Returns the number of layouts. |
int |
countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?. |
int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?. |
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?. |
int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
int |
countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?. |
int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?. |
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?. |
int |
countByGroupId(long groupId)
Returns the number of layouts where groupId = ?. |
int |
countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?. |
int |
countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?. |
int |
countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?. |
int |
countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?. |
int |
countByUuid(String uuid)
Returns the number of layouts where uuid = ?. |
Layout |
create(long plid)
Creates a new layout with the primary key. |
Layout |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found. |
Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found. |
Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found. |
Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
Layout |
fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns null if it could not be found. |
Layout |
fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns null if it could not be found. |
Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found. |
Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout,
boolean retrieveFromCache)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache. |
Layout |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
int |
filterCountByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
int |
filterCountByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?. |
Layout[] |
filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
Layout[] |
filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?. |
Layout[] |
filterFindByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ?. |
List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?. |
List<Layout> |
findAll()
Returns all the layouts. |
List<Layout> |
findAll(int start,
int end)
Returns a range of all the layouts. |
List<Layout> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts. |
Layout |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
Layout |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId)
Returns all the layouts where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layouts where companyId = ?. |
List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where companyId = ?. |
Layout |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout |
findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
Layout[] |
findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?. |
Layout |
findByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout |
findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
Layout[] |
findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?. |
List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
Layout |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
Layout |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ?. |
List<Layout> |
findByGroupId(long groupId)
Returns all the layouts where groupId = ?. |
List<Layout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts where groupId = ?. |
List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ?. |
Layout |
findByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
Layout[] |
findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?. |
List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?. |
Layout |
findByPrimaryKey(long plid)
Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found. |
Layout |
findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
Layout[] |
findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?. |
List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. |
Layout |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
Layout |
findByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found. |
Layout |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ?. |
List<Layout> |
findByUuid(String uuid)
Returns all the layouts where uuid = ?. |
List<Layout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layouts where uuid = ?. |
List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where uuid = ?. |
Layout |
remove(long plid)
Removes the layout with the primary key from the database. |
void |
removeAll()
Removes all the layouts from the database. |
void |
removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database. |
Layout |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. |
Layout |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database. |
void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database. |
Layout |
removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database. |
void |
removeByG_P_T(long groupId,
boolean privateLayout,
String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database. |
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database. |
Layout |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database. |
void |
removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database. |
void |
removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database. |
Layout |
removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database. |
Layout |
updateImpl(Layout layout,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(Layout layout)
layout
- the layoutvoid cacheResult(List<Layout> layouts)
layouts
- the layoutsLayout create(long plid)
plid
- the primary key for the new layout
Layout remove(long plid) throws NoSuchLayoutException, SystemException
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout updateImpl(Layout layout, boolean merge) throws SystemException
SystemException
Layout findByPrimaryKey(long plid) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout fetchByPrimaryKey(long plid) throws SystemException
null
if it could not be found.
plid
- the primary key of the layout
null
if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<Layout> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredList<Layout> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<Layout> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<Layout> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredList<Layout> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout findByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
iconImageId
- the icon image ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByIconImageId(long iconImageId) throws SystemException
null
if it could not be found. Uses the finder cache.
iconImageId
- the icon image ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByIconImageId(long iconImageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
iconImageId
- the icon image IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredList<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredList<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredList<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> findByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredList<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> filterFindByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredList<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredList<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredList<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredList<Layout> findByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredList<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDprivateLayout
- the private layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredLayout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
null
if a matching layout could not be found
SystemException
- if a system exception occurredLayout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredList<Layout> findAll() throws SystemException
SystemException
- if a system exception occurredList<Layout> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredList<Layout> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredLayout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException, SystemException
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurred
NoSuchLayoutException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredvoid removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredLayout removeByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
iconImageId
- the icon image ID
SystemException
- if a system exception occurred
NoSuchLayoutException
void removeByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredvoid removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredvoid removeByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredLayout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurred
NoSuchLayoutException
void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredLayout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurred
NoSuchLayoutException
void removeByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredLayout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurred
NoSuchLayoutException
void removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws SystemException
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredint countByIconImageId(long iconImageId) throws SystemException
iconImageId
- the icon image ID
SystemException
- if a system exception occurredint countByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredint countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredint countByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredint filterCountByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredint countByG_P_L(long groupId, boolean privateLayout, long layoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurredint countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredint filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredint countByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredint countByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredint filterCountByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredint countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |