|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutSetPrototypePersistence
The persistence interface for the layout set prototype service.
Caching information and settings can be found in portal.properties
LayoutSetPrototypePersistenceImpl
,
LayoutSetPrototypeUtil
Method Summary | |
---|---|
void |
cacheResult(LayoutSetPrototype layoutSetPrototype)
Caches the layout set prototype in the entity cache if it is enabled. |
void |
cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
Caches the layout set prototypes in the entity cache if it is enabled. |
int |
countAll()
Returns the number of layout set prototypes. |
int |
countByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes where companyId = ? and active = ?. |
int |
countByCompanyId(long companyId)
Returns the number of layout set prototypes where companyId = ?. |
int |
countByUuid(String uuid)
Returns the number of layout set prototypes where uuid = ?. |
LayoutSetPrototype |
create(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key. |
LayoutSetPrototype |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
fetchByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or returns null if it could not be found. |
LayoutSetPrototype |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?. |
int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?. |
int |
filterCountByCompanyId(long companyId)
Returns the number of layout set prototypes that the user has permission to view where companyId = ?. |
int |
filterCountByUuid(String uuid)
Returns the number of layout set prototypes that the user has permission to view where uuid = ?. |
LayoutSetPrototype[] |
filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?. |
LayoutSetPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?. |
List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout set prototypes that the user has permission to view where companyId = ?. |
List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?. |
List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?. |
LayoutSetPrototype[] |
filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?. |
List<LayoutSetPrototype> |
filterFindByUuid(String uuid)
Returns all the layout set prototypes that the user has permission to view where uuid = ?. |
List<LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?. |
List<LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?. |
List<LayoutSetPrototype> |
findAll()
Returns all the layout set prototypes. |
List<LayoutSetPrototype> |
findAll(int start,
int end)
Returns a range of all the layout set prototypes. |
List<LayoutSetPrototype> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes. |
LayoutSetPrototype |
findByC_A_First(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype[] |
findByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout set prototypes where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?. |
LayoutSetPrototype |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype[] |
findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId)
Returns all the layout set prototypes where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ?. |
LayoutSetPrototype |
findByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found. |
LayoutSetPrototype |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype[] |
findByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid)
Returns all the layout set prototypes where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ?. |
LayoutSetPrototype |
remove(long layoutSetPrototypeId)
Removes the layout set prototype with the primary key from the database. |
void |
removeAll()
Removes all the layout set prototypes from the database. |
void |
removeByC_A(long companyId,
boolean active)
Removes all the layout set prototypes where companyId = ? and active = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the layout set prototypes where companyId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the layout set prototypes where uuid = ? from the database. |
LayoutSetPrototype |
updateImpl(LayoutSetPrototype layoutSetPrototype,
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(LayoutSetPrototype layoutSetPrototype)
layoutSetPrototype
- the layout set prototypevoid cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
layoutSetPrototypes
- the layout set prototypesLayoutSetPrototype create(long layoutSetPrototypeId)
layoutSetPrototypeId
- the primary key for the new layout set prototype
LayoutSetPrototype remove(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredLayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype, boolean merge) throws SystemException
SystemException
LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException, SystemException
NoSuchLayoutSetPrototypeException
if it could not be found.
layoutSetPrototypeId
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredLayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId) throws SystemException
null
if it could not be found.
layoutSetPrototypeId
- the primary key of the layout set prototype
null
if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype 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 set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype 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 set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByUuid(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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByUuid(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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype 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 set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype 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 set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByCompanyId(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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByCompanyId(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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> findByC_A(long companyId, boolean active) throws SystemException
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredList<LayoutSetPrototype> findByC_A(long companyId, boolean active, 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 IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> findByC_A(long companyId, boolean active, 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 IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredLayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active) throws SystemException
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, 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 IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, 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 IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredLayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredList<LayoutSetPrototype> findAll() throws SystemException
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredList<LayoutSetPrototype> 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 layout set prototypesend
- the upper bound of the range of layout set prototypes (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 occurredvoid removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredvoid removeByC_A(long companyId, boolean active) throws SystemException
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint filterCountByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredint filterCountByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredint countByC_A(long companyId, boolean active) throws SystemException
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredint filterCountByC_A(long companyId, boolean active) throws SystemException
companyId
- the company IDactive
- the active
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 |