Liferay 6.2.0

com.liferay.portal.service.persistence
Interface LayoutSetPrototypePersistence

All Superinterfaces:
BasePersistence<LayoutSetPrototype>
All Known Implementing Classes:
LayoutSetPrototypePersistenceImpl

@ProviderType
public interface LayoutSetPrototypePersistence
extends BasePersistence<LayoutSetPrototype>

The persistence interface for the layout set prototype service.

Caching information and settings can be found in portal.properties

See Also:
LayoutSetPrototypePersistenceImpl, LayoutSetPrototypeUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  void cacheResult(LayoutSetPrototype layoutSetPrototype)
          Caches the layout set prototype in the entity cache if it is enabled.
abstract  void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
          Caches the layout set prototypes in the entity cache if it is enabled.
abstract  int countAll()
          Returns the number of layout set prototypes.
abstract  int countByC_A(long companyId, boolean active)
          Returns the number of layout set prototypes where companyId = ? and active = ?.
abstract  int countByCompanyId(long companyId)
          Returns the number of layout set prototypes where companyId = ?.
abstract  int countByUuid_C(String uuid, long companyId)
          Returns the number of layout set prototypes where uuid = ? and companyId = ?.
abstract  int countByUuid(String uuid)
          Returns the number of layout set prototypes where uuid = ?.
abstract  LayoutSetPrototype create(long layoutSetPrototypeId)
          Creates a new layout set prototype with the primary key.
abstract  LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
abstract  LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
abstract  LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
abstract  LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
abstract  LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or returns null if it could not be found.
abstract  LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
abstract  LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
abstract  LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
abstract  LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
abstract  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 = ?.
abstract  int filterCountByCompanyId(long companyId)
          Returns the number of layout set prototypes that the user has permission to view where companyId = ?.
abstract  int filterCountByUuid_C(String uuid, long companyId)
          Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
abstract  int filterCountByUuid(String uuid)
          Returns the number of layout set prototypes that the user has permission to view where uuid = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
          Returns all the layout set prototypes that the user has permission to view where companyId = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, 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 uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId)
          Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> filterFindByUuid_C(String uuid, 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 uuid = ? and companyId = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> filterFindByUuid(String uuid)
          Returns all the layout set prototypes that the user has permission to view where uuid = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> findAll()
          Returns all the layout set prototypes.
abstract  List<LayoutSetPrototype> findAll(int start, int end)
          Returns a range of all the layout set prototypes.
abstract  List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes.
abstract  LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
abstract  LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
          Returns all the layout set prototypes where companyId = ? and active = ?.
abstract  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 = ?.
abstract  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 = ?.
abstract  LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
abstract  LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> findByCompanyId(long companyId)
          Returns all the layout set prototypes where companyId = ?.
abstract  List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout set prototypes where companyId = ?.
abstract  List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where companyId = ?.
abstract  LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found.
abstract  LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
abstract  LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
abstract  LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId)
          Returns all the layout set prototypes where uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.
abstract  List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
abstract  LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
abstract  LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
abstract  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 = ?.
abstract  List<LayoutSetPrototype> findByUuid(String uuid)
          Returns all the layout set prototypes where uuid = ?.
abstract  List<LayoutSetPrototype> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout set prototypes where uuid = ?.
abstract  List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where uuid = ?.
abstract  LayoutSetPrototype remove(long layoutSetPrototypeId)
          Removes the layout set prototype with the primary key from the database.
abstract  void removeAll()
          Removes all the layout set prototypes from the database.
abstract  void removeByC_A(long companyId, boolean active)
          Removes all the layout set prototypes where companyId = ? and active = ? from the database.
abstract  void removeByCompanyId(long companyId)
          Removes all the layout set prototypes where companyId = ? from the database.
abstract  void removeByUuid_C(String uuid, long companyId)
          Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.
abstract  void removeByUuid(String uuid)
          Removes all the layout set prototypes where uuid = ? from the database.
abstract  LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<LayoutSetPrototype> findByUuid(String uuid)
                                    throws SystemException
Returns all the layout set prototypes where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid

List<LayoutSetPrototype> findByUuid(String uuid,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the layout set prototypes where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid

List<LayoutSetPrototype> findByUuid(String uuid,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the layout set prototypes where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid_First

LayoutSetPrototype findByUuid_First(String uuid,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchLayoutSetPrototypeException,
                                           SystemException
Returns the first layout set prototype in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByUuid_First

LayoutSetPrototype fetchByUuid_First(String uuid,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first layout set prototype in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

LayoutSetPrototype findByUuid_Last(String uuid,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchLayoutSetPrototypeException,
                                          SystemException
Returns the last layout set prototype in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

LayoutSetPrototype fetchByUuid_Last(String uuid,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last layout set prototype in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId,
                                            String uuid,
                                            OrderByComparator orderByComparator)
                                            throws NoSuchLayoutSetPrototypeException,
                                                   SystemException
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

filterFindByUuid

List<LayoutSetPrototype> filterFindByUuid(String uuid)
                                          throws SystemException
Returns all the layout set prototypes that the user has permission to view where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid

List<LayoutSetPrototype> filterFindByUuid(String uuid,
                                          int start,
                                          int end)
                                          throws SystemException
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid

List<LayoutSetPrototype> filterFindByUuid(String uuid,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid_PrevAndNext

LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
                                                  String uuid,
                                                  OrderByComparator orderByComparator)
                                                  throws NoSuchLayoutSetPrototypeException,
                                                         SystemException
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 = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the layout set prototypes where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of layout set prototypes where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByUuid

int filterCountByUuid(String uuid)
                      throws SystemException
Returns the number of layout set prototypes that the user has permission to view where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<LayoutSetPrototype> findByUuid_C(String uuid,
                                      long companyId)
                                      throws SystemException
Returns all the layout set prototypes where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<LayoutSetPrototype> findByUuid_C(String uuid,
                                      long companyId,
                                      int start,
                                      int end)
                                      throws SystemException
Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<LayoutSetPrototype> findByUuid_C(String uuid,
                                      long companyId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

LayoutSetPrototype findByUuid_C_First(String uuid,
                                      long companyId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchLayoutSetPrototypeException,
                                             SystemException
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

LayoutSetPrototype fetchByUuid_C_First(String uuid,
                                       long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

LayoutSetPrototype findByUuid_C_Last(String uuid,
                                     long companyId,
                                     OrderByComparator orderByComparator)
                                     throws NoSuchLayoutSetPrototypeException,
                                            SystemException
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

LayoutSetPrototype fetchByUuid_C_Last(String uuid,
                                      long companyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
                                              String uuid,
                                              long companyId,
                                              OrderByComparator orderByComparator)
                                              throws NoSuchLayoutSetPrototypeException,
                                                     SystemException
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

filterFindByUuid_C

List<LayoutSetPrototype> filterFindByUuid_C(String uuid,
                                            long companyId)
                                            throws SystemException
Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid_C

List<LayoutSetPrototype> filterFindByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end)
                                            throws SystemException
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid_C

List<LayoutSetPrototype> filterFindByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByUuid_C_PrevAndNext

LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
                                                    String uuid,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                                    throws NoSuchLayoutSetPrototypeException,
                                                           SystemException
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 = ? and companyId = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
                    throws SystemException
Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
                  throws SystemException
Returns the number of layout set prototypes where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByUuid_C

int filterCountByUuid_C(String uuid,
                        long companyId)
                        throws SystemException
Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<LayoutSetPrototype> findByCompanyId(long companyId)
                                         throws SystemException
Returns all the layout set prototypes where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<LayoutSetPrototype> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                         throws SystemException
Returns a range of all the layout set prototypes where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<LayoutSetPrototype> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the layout set prototypes where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

LayoutSetPrototype findByCompanyId_First(long companyId,
                                         OrderByComparator orderByComparator)
                                         throws NoSuchLayoutSetPrototypeException,
                                                SystemException
Returns the first layout set prototype in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

LayoutSetPrototype fetchByCompanyId_First(long companyId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first layout set prototype in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

LayoutSetPrototype findByCompanyId_Last(long companyId,
                                        OrderByComparator orderByComparator)
                                        throws NoSuchLayoutSetPrototypeException,
                                               SystemException
Returns the last layout set prototype in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

LayoutSetPrototype fetchByCompanyId_Last(long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last layout set prototype in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                                 throws NoSuchLayoutSetPrototypeException,
                                                        SystemException
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

filterFindByCompanyId

List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
                                               throws SystemException
Returns all the layout set prototypes that the user has permission to view where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByCompanyId

List<LayoutSetPrototype> filterFindByCompanyId(long companyId,
                                               int start,
                                               int end)
                                               throws SystemException
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByCompanyId

List<LayoutSetPrototype> filterFindByCompanyId(long companyId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByCompanyId_PrevAndNext

LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                       long companyId,
                                                       OrderByComparator orderByComparator)
                                                       throws NoSuchLayoutSetPrototypeException,
                                                              SystemException
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 = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the layout set prototypes where companyId = ? from the database.

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Returns the number of layout set prototypes where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByCompanyId

int filterCountByCompanyId(long companyId)
                           throws SystemException
Returns the number of layout set prototypes that the user has permission to view where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_A

List<LayoutSetPrototype> findByC_A(long companyId,
                                   boolean active)
                                   throws SystemException
Returns all the layout set prototypes where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByC_A

List<LayoutSetPrototype> findByC_A(long companyId,
                                   boolean active,
                                   int start,
                                   int end)
                                   throws SystemException
Returns a range of all the layout set prototypes where companyId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
active - the active
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByC_A

List<LayoutSetPrototype> findByC_A(long companyId,
                                   boolean active,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
active - the active
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByC_A_First

LayoutSetPrototype findByC_A_First(long companyId,
                                   boolean active,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchLayoutSetPrototypeException,
                                          SystemException
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByC_A_First

LayoutSetPrototype fetchByC_A_First(long companyId,
                                    boolean active,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByC_A_Last

LayoutSetPrototype findByC_A_Last(long companyId,
                                  boolean active,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchLayoutSetPrototypeException,
                                         SystemException
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
SystemException - if a system exception occurred

fetchByC_A_Last

LayoutSetPrototype fetchByC_A_Last(long companyId,
                                   boolean active,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout set prototype, or null if a matching layout set prototype could not be found
Throws:
SystemException - if a system exception occurred

findByC_A_PrevAndNext

LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId,
                                           long companyId,
                                           boolean active,
                                           OrderByComparator orderByComparator)
                                           throws NoSuchLayoutSetPrototypeException,
                                                  SystemException
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

filterFindByC_A

List<LayoutSetPrototype> filterFindByC_A(long companyId,
                                         boolean active)
                                         throws SystemException
Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByC_A

List<LayoutSetPrototype> filterFindByC_A(long companyId,
                                         boolean active,
                                         int start,
                                         int end)
                                         throws SystemException
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
active - the active
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByC_A

List<LayoutSetPrototype> filterFindByC_A(long companyId,
                                         boolean active,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
active - the active
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByC_A_PrevAndNext

LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
                                                 long companyId,
                                                 boolean active,
                                                 OrderByComparator orderByComparator)
                                                 throws NoSuchLayoutSetPrototypeException,
                                                        SystemException
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 = ?.

Parameters:
layoutSetPrototypeId - the primary key of the current layout set prototype
companyId - the company ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

removeByC_A

void removeByC_A(long companyId,
                 boolean active)
                 throws SystemException
Removes all the layout set prototypes where companyId = ? and active = ? from the database.

Parameters:
companyId - the company ID
active - the active
Throws:
SystemException - if a system exception occurred

countByC_A

int countByC_A(long companyId,
               boolean active)
               throws SystemException
Returns the number of layout set prototypes where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByC_A

int filterCountByC_A(long companyId,
                     boolean active)
                     throws SystemException
Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the number of matching layout set prototypes that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

void cacheResult(LayoutSetPrototype layoutSetPrototype)
Caches the layout set prototype in the entity cache if it is enabled.

Parameters:
layoutSetPrototype - the layout set prototype

cacheResult

void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
Caches the layout set prototypes in the entity cache if it is enabled.

Parameters:
layoutSetPrototypes - the layout set prototypes

create

LayoutSetPrototype create(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.

Parameters:
layoutSetPrototypeId - the primary key for the new layout set prototype
Returns:
the new layout set prototype

remove

LayoutSetPrototype remove(long layoutSetPrototypeId)
                          throws NoSuchLayoutSetPrototypeException,
                                 SystemException
Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
layoutSetPrototypeId - the primary key of the layout set prototype
Returns:
the layout set prototype that was removed
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
                                    throws NoSuchLayoutSetPrototypeException,
                                           SystemException
Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found.

Parameters:
layoutSetPrototypeId - the primary key of the layout set prototype
Returns:
the layout set prototype
Throws:
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
                                     throws SystemException
Returns the layout set prototype with the primary key or returns null if it could not be found.

Parameters:
layoutSetPrototypeId - the primary key of the layout set prototype
Returns:
the layout set prototype, or null if a layout set prototype with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<LayoutSetPrototype> findAll()
                                 throws SystemException
Returns all the layout set prototypes.

Returns:
the layout set prototypes
Throws:
SystemException - if a system exception occurred

findAll

List<LayoutSetPrototype> findAll(int start,
                                 int end)
                                 throws SystemException
Returns a range of all the layout set prototypes.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
Returns:
the range of layout set prototypes
Throws:
SystemException - if a system exception occurred

findAll

List<LayoutSetPrototype> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the layout set prototypes.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of layout set prototypes
end - the upper bound of the range of layout set prototypes (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of layout set prototypes
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the layout set prototypes from the database.

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of layout set prototypes.

Returns:
the number of layout set prototypes
Throws:
SystemException - if a system exception occurred

Liferay 6.2.0