Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Class LayoutSetPrototypeUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.LayoutSetPrototypeUtil

@ProviderType
public class LayoutSetPrototypeUtil
extends Object

The persistence utility for the layout set prototype service. This utility wraps LayoutSetPrototypePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
LayoutSetPrototypePersistence, LayoutSetPrototypePersistenceImpl

Constructor Summary
LayoutSetPrototypeUtil()
           
 
Method Summary
static void cacheResult(LayoutSetPrototype layoutSetPrototype)
          Caches the layout set prototype in the entity cache if it is enabled.
static void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
          Caches the layout set prototypes in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(LayoutSetPrototype layoutSetPrototype)
           
static int countAll()
          Returns the number of layout set prototypes.
static int countByC_A(long companyId, boolean active)
          Returns the number of layout set prototypes where companyId = ? and active = ?.
static int countByCompanyId(long companyId)
          Returns the number of layout set prototypes where companyId = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of layout set prototypes where uuid = ? and companyId = ?.
static int countByUuid(String uuid)
          Returns the number of layout set prototypes where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static LayoutSetPrototype create(long layoutSetPrototypeId)
          Creates a new layout set prototype with the primary key.
static LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
static LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
static LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
static LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
static LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or returns null if it could not be found.
static Map<Serializable,LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
static LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
static LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
static LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
static LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
static 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 = ?.
static int filterCountByCompanyId(long companyId)
          Returns the number of layout set prototypes that the user has permission to view where companyId = ?.
static 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 = ?.
static int filterCountByUuid(String uuid)
          Returns the number of layout set prototypes that the user has permission to view where uuid = ?.
static LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> 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 = ?.
static 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 = ?.
static 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 = ?.
static List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.
static LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> 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 = ?.
static List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
          Returns all the layout set prototypes that the user has permission to view where companyId = ?.
static 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 = ?.
static List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.
static LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> 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 = ?.
static 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 = ?.
static 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 = ?.
static List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.
static LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> 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 = ?.
static List<LayoutSetPrototype> filterFindByUuid(String uuid)
          Returns all the layout set prototypes that the user has permission to view where uuid = ?.
static 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 = ?.
static List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.
static List<LayoutSetPrototype> findAll()
          Returns all the layout set prototypes.
static List<LayoutSetPrototype> findAll(int start, int end)
          Returns a range of all the layout set prototypes.
static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes.
static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout set prototypes.
static LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
static LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
static LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.
static List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
          Returns all the layout set prototypes where companyId = ? and active = ?.
static 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 = ?.
static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
static LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
static LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
static LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.
static List<LayoutSetPrototype> findByCompanyId(long companyId)
          Returns all the layout set prototypes where companyId = ?.
static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout set prototypes where companyId = ?.
static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes where companyId = ?.
static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout set prototypes where companyId = ?.
static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found.
static LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
static LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
static LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.
static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId)
          Returns all the layout set prototypes where uuid = ? and companyId = ?.
static 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 = ?.
static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
static LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
static LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
static LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.
static List<LayoutSetPrototype> findByUuid(String uuid)
          Returns all the layout set prototypes where uuid = ?.
static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout set prototypes where uuid = ?.
static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
          Returns an ordered range of all the layout set prototypes where uuid = ?.
static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout set prototypes where uuid = ?.
static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
           
static Set<String> getBadColumnNames()
           
static LayoutSetPrototypePersistence getPersistence()
           
static LayoutSetPrototype remove(long layoutSetPrototypeId)
          Removes the layout set prototype with the primary key from the database.
static void removeAll()
          Removes all the layout set prototypes from the database.
static void removeByC_A(long companyId, boolean active)
          Removes all the layout set prototypes where companyId = ? and active = ? from the database.
static void removeByCompanyId(long companyId)
          Removes all the layout set prototypes where companyId = ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the layout set prototypes where uuid = ? from the database.
static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype)
           
static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype, ServiceContext serviceContext)
           
static LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetPrototypeUtil

public LayoutSetPrototypeUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(LayoutSetPrototype layoutSetPrototype)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end,
                                                            OrderByComparator<LayoutSetPrototype> orderByComparator)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype,
                                        ServiceContext serviceContext)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByUuid

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

Parameters:
uuid - the uuid
Returns:
the matching layout set prototypes

findByUuid

public static List<LayoutSetPrototype> findByUuid(String uuid,
                                                  int start,
                                                  int end)
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

findByUuid

public static List<LayoutSetPrototype> findByUuid(String uuid,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid

public static List<LayoutSetPrototype> findByUuid(String uuid,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<LayoutSetPrototype> orderByComparator,
                                                  boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout set prototypes

findByUuid_First

public static LayoutSetPrototype findByUuid_First(String uuid,
                                                  OrderByComparator<LayoutSetPrototype> orderByComparator)
                                           throws NoSuchLayoutSetPrototypeException
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

fetchByUuid_First

public static LayoutSetPrototype fetchByUuid_First(String uuid,
                                                   OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid_Last

public static LayoutSetPrototype findByUuid_Last(String uuid,
                                                 OrderByComparator<LayoutSetPrototype> orderByComparator)
                                          throws NoSuchLayoutSetPrototypeException
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

fetchByUuid_Last

public static LayoutSetPrototype fetchByUuid_Last(String uuid,
                                                  OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid_PrevAndNext

public static LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId,
                                                          String uuid,
                                                          OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                   throws NoSuchLayoutSetPrototypeException
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

filterFindByUuid

public static List<LayoutSetPrototype> filterFindByUuid(String uuid)
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

filterFindByUuid

public static 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 = ?.

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

filterFindByUuid

public static List<LayoutSetPrototype> filterFindByUuid(String uuid,
                                                        int start,
                                                        int end,
                                                        OrderByComparator<LayoutSetPrototype> orderByComparator)
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

filterFindByUuid_PrevAndNext

public static LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
                                                                String uuid,
                                                                OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                         throws NoSuchLayoutSetPrototypeException
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

removeByUuid

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

Parameters:
uuid - the uuid

countByUuid

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

Parameters:
uuid - the uuid
Returns:
the number of matching layout set prototypes

filterCountByUuid

public static int filterCountByUuid(String uuid)
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

findByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout set prototypes

findByUuid_C

public static 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 = ?.

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

findByUuid_C

public static List<LayoutSetPrototype> findByUuid_C(String uuid,
                                                    long companyId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid_C

public static List<LayoutSetPrototype> findByUuid_C(String uuid,
                                                    long companyId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator<LayoutSetPrototype> orderByComparator,
                                                    boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout set prototypes

findByUuid_C_First

public static LayoutSetPrototype findByUuid_C_First(String uuid,
                                                    long companyId,
                                                    OrderByComparator<LayoutSetPrototype> orderByComparator)
                                             throws NoSuchLayoutSetPrototypeException
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

fetchByUuid_C_First

public static LayoutSetPrototype fetchByUuid_C_First(String uuid,
                                                     long companyId,
                                                     OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid_C_Last

public static LayoutSetPrototype findByUuid_C_Last(String uuid,
                                                   long companyId,
                                                   OrderByComparator<LayoutSetPrototype> orderByComparator)
                                            throws NoSuchLayoutSetPrototypeException
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

fetchByUuid_C_Last

public static LayoutSetPrototype fetchByUuid_C_Last(String uuid,
                                                    long companyId,
                                                    OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByUuid_C_PrevAndNext

public static LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
                                                            String uuid,
                                                            long companyId,
                                                            OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                     throws NoSuchLayoutSetPrototypeException
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

filterFindByUuid_C

public static 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 = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout set prototypes that the user has permission to view

filterFindByUuid_C

public static 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 = ?.

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

filterFindByUuid_C

public static List<LayoutSetPrototype> filterFindByUuid_C(String uuid,
                                                          long companyId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator<LayoutSetPrototype> orderByComparator)
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

filterFindByUuid_C_PrevAndNext

public static LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
                                                                  String uuid,
                                                                  long companyId,
                                                                  OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                           throws NoSuchLayoutSetPrototypeException
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

removeByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

public static int countByUuid_C(String uuid,
                                long companyId)
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

filterCountByUuid_C

public static 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 = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layout set prototypes that the user has permission to view

findByCompanyId

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

Parameters:
companyId - the company ID
Returns:
the matching layout set prototypes

findByCompanyId

public static List<LayoutSetPrototype> findByCompanyId(long companyId,
                                                       int start,
                                                       int end)
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

findByCompanyId

public static List<LayoutSetPrototype> findByCompanyId(long companyId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByCompanyId

public static List<LayoutSetPrototype> findByCompanyId(long companyId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator<LayoutSetPrototype> orderByComparator,
                                                       boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout set prototypes

findByCompanyId_First

public static LayoutSetPrototype findByCompanyId_First(long companyId,
                                                       OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                throws NoSuchLayoutSetPrototypeException
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

fetchByCompanyId_First

public static LayoutSetPrototype fetchByCompanyId_First(long companyId,
                                                        OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByCompanyId_Last

public static LayoutSetPrototype findByCompanyId_Last(long companyId,
                                                      OrderByComparator<LayoutSetPrototype> orderByComparator)
                                               throws NoSuchLayoutSetPrototypeException
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

fetchByCompanyId_Last

public static LayoutSetPrototype fetchByCompanyId_Last(long companyId,
                                                       OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByCompanyId_PrevAndNext

public static LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                               long companyId,
                                                               OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                        throws NoSuchLayoutSetPrototypeException
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

filterFindByCompanyId

public static List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
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

filterFindByCompanyId

public static 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 = ?.

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

filterFindByCompanyId

public static List<LayoutSetPrototype> filterFindByCompanyId(long companyId,
                                                             int start,
                                                             int end,
                                                             OrderByComparator<LayoutSetPrototype> orderByComparator)
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

filterFindByCompanyId_PrevAndNext

public static LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                                     long companyId,
                                                                     OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                              throws NoSuchLayoutSetPrototypeException
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

removeByCompanyId

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

Parameters:
companyId - the company ID

countByCompanyId

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

Parameters:
companyId - the company ID
Returns:
the number of matching layout set prototypes

filterCountByCompanyId

public static int filterCountByCompanyId(long companyId)
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

findByC_A

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

Parameters:
companyId - the company ID
active - the active
Returns:
the matching layout set prototypes

findByC_A

public static 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 = ?.

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

findByC_A

public static List<LayoutSetPrototype> findByC_A(long companyId,
                                                 boolean active,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByC_A

public static List<LayoutSetPrototype> findByC_A(long companyId,
                                                 boolean active,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<LayoutSetPrototype> orderByComparator,
                                                 boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout set prototypes

findByC_A_First

public static LayoutSetPrototype findByC_A_First(long companyId,
                                                 boolean active,
                                                 OrderByComparator<LayoutSetPrototype> orderByComparator)
                                          throws NoSuchLayoutSetPrototypeException
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

fetchByC_A_First

public static LayoutSetPrototype fetchByC_A_First(long companyId,
                                                  boolean active,
                                                  OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByC_A_Last

public static LayoutSetPrototype findByC_A_Last(long companyId,
                                                boolean active,
                                                OrderByComparator<LayoutSetPrototype> orderByComparator)
                                         throws NoSuchLayoutSetPrototypeException
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

fetchByC_A_Last

public static LayoutSetPrototype fetchByC_A_Last(long companyId,
                                                 boolean active,
                                                 OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findByC_A_PrevAndNext

public static LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId,
                                                         long companyId,
                                                         boolean active,
                                                         OrderByComparator<LayoutSetPrototype> orderByComparator)
                                                  throws NoSuchLayoutSetPrototypeException
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

filterFindByC_A

public static 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 = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the matching layout set prototypes that the user has permission to view

filterFindByC_A

public static 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 = ?.

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

filterFindByC_A

public static List<LayoutSetPrototype> filterFindByC_A(long companyId,
                                                       boolean active,
                                                       int start,
                                                       int end,
                                                       OrderByComparator<LayoutSetPrototype> orderByComparator)
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

filterFindByC_A_PrevAndNext

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

removeByC_A

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

Parameters:
companyId - the company ID
active - the active

countByC_A

public static int countByC_A(long companyId,
                             boolean active)
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

filterCountByC_A

public static 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 = ?.

Parameters:
companyId - the company ID
active - the active
Returns:
the number of matching layout set prototypes that the user has permission to view

cacheResult

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

Parameters:
layoutSetPrototype - the layout set prototype

cacheResult

public static 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

public static 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

public static LayoutSetPrototype remove(long layoutSetPrototypeId)
                                 throws NoSuchLayoutSetPrototypeException
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

updateImpl

public static LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)

findByPrimaryKey

public static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
                                           throws NoSuchLayoutSetPrototypeException
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

fetchByPrimaryKey

public static LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
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

fetchByPrimaryKeys

public static Map<Serializable,LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys)

findAll

public static List<LayoutSetPrototype> findAll()
Returns all the layout set prototypes.

Returns:
the layout set prototypes

findAll

public static List<LayoutSetPrototype> findAll(int start,
                                               int end)
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

findAll

public static List<LayoutSetPrototype> findAll(int start,
                                               int end,
                                               OrderByComparator<LayoutSetPrototype> orderByComparator)
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

findAll

public static List<LayoutSetPrototype> findAll(int start,
                                               int end,
                                               OrderByComparator<LayoutSetPrototype> orderByComparator,
                                               boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of layout set prototypes

removeAll

public static void removeAll()
Removes all the layout set prototypes from the database.


countAll

public static int countAll()
Returns the number of layout set prototypes.

Returns:
the number of layout set prototypes

getBadColumnNames

public static Set<String> getBadColumnNames()

getPersistence

public static LayoutSetPrototypePersistence getPersistence()

Liferay 7.0-ce-b4