Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class LayoutSetPrototypePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutSetPrototype>
      extended by com.liferay.portal.service.persistence.LayoutSetPrototypePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<LayoutSetPrototype>, LayoutSetPrototypePersistence

public class LayoutSetPrototypePersistenceImpl
extends BasePersistenceImpl<LayoutSetPrototype>
implements LayoutSetPrototypePersistence

The persistence implementation for the layout set prototype service.

Caching information and settings can be found in portal.properties

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_A
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
LayoutSetPrototypePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the layout set prototype persistence.
 void cacheResult(LayoutSetPrototype layoutSetPrototype)
          Caches the layout set prototype in the entity cache if it is enabled.
 void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
          Caches the layout set prototypes in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all layout set prototypes.
 void clearCache(LayoutSetPrototype layoutSetPrototype)
          Clears the cache for the layout set prototype.
 void clearCache(List<LayoutSetPrototype> layoutSetPrototypes)
          Clears the cache for a List instances of this model.
 int countAll()
          Returns the number of layout set prototypes.
 int countByC_A(long companyId, boolean active)
          Returns the number of layout set prototypes where companyId = ? and active = ?.
 int countByCompanyId(long companyId)
          Returns the number of layout set prototypes where companyId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of layout set prototypes where uuid = ? and companyId = ?.
 int countByUuid(String uuid)
          Returns the number of layout set prototypes where uuid = ?.
 LayoutSetPrototype create(long layoutSetPrototypeId)
          Creates a new layout set prototype with the primary key.
 void destroy()
           
 LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
 LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
 LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
 LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
 LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or returns null if it could not be found.
 LayoutSetPrototype fetchByPrimaryKey(Serializable primaryKey)
          Returns the layout set prototype with the primary key or returns null if it could not be found.
 LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
 LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
 LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
 LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
 int filterCountByC_A(long companyId, boolean active)
          Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
 int filterCountByCompanyId(long companyId)
          Returns the number of layout set prototypes that the user has permission to view where companyId = ?.
 int filterCountByUuid_C(String uuid, long companyId)
          Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
 int filterCountByUuid(String uuid)
          Returns the number of layout set prototypes that the user has permission to view where uuid = ?.
 LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
 List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active)
          Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
 List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end)
          Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
 List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.
 LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?.
 List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
          Returns all the layout set prototypes that the user has permission to view where companyId = ?.
 List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.
 List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.
 LayoutSetPrototype[] filterFindByUuid_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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?.
 List<LayoutSetPrototype> filterFindByUuid(String uuid)
          Returns all the layout set prototypes that the user has permission to view where uuid = ?.
 List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end)
          Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.
 List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.
protected  LayoutSetPrototype filterGetByC_A_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype filterGetByCompanyId_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype filterGetByUuid_C_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype filterGetByUuid_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 List<LayoutSetPrototype> findAll()
          Returns all the layout set prototypes.
 List<LayoutSetPrototype> findAll(int start, int end)
          Returns a range of all the layout set prototypes.
 List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes.
 LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
 LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
 LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.
 List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
          Returns all the layout set prototypes where companyId = ? and active = ?.
 List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end)
          Returns a range of all the layout set prototypes where companyId = ? and active = ?.
 List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
 LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where companyId = ?.
 LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where companyId = ?.
 LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.
 List<LayoutSetPrototype> findByCompanyId(long companyId)
          Returns all the layout set prototypes where companyId = ?.
 List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout set prototypes where companyId = ?.
 List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where companyId = ?.
 LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
          Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found.
 LayoutSetPrototype findByPrimaryKey(Serializable primaryKey)
          Returns the layout set prototype with the primary key or throws a NoSuchModelException if it could not be found.
 LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
 LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
 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 = ?.
 List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId)
          Returns all the layout set prototypes where uuid = ? and companyId = ?.
 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 = ?.
 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 = ?.
 LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout set prototype in the ordered set where uuid = ?.
 LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout set prototype in the ordered set where uuid = ?.
 LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator)
          Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.
 List<LayoutSetPrototype> findByUuid(String uuid)
          Returns all the layout set prototypes where uuid = ?.
 List<LayoutSetPrototype> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout set prototypes where uuid = ?.
 List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout set prototypes where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  LayoutSetPrototype getByC_A_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype getByCompanyId_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype getByUuid_C_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutSetPrototype getByUuid_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 LayoutSetPrototype remove(long layoutSetPrototypeId)
          Removes the layout set prototype with the primary key from the database.
 LayoutSetPrototype remove(Serializable primaryKey)
          Removes the layout set prototype with the primary key from the database.
 void removeAll()
          Removes all the layout set prototypes from the database.
 void removeByC_A(long companyId, boolean active)
          Removes all the layout set prototypes where companyId = ? and active = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the layout set prototypes where companyId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the layout set prototypes where uuid = ? from the database.
protected  LayoutSetPrototype removeImpl(LayoutSetPrototype layoutSetPrototype)
          Removes the model instance from the database.
protected  LayoutSetPrototype toUnwrappedModel(LayoutSetPrototype layoutSetPrototype)
           
 LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A

FINDER_PATH_COUNT_BY_C_A

public static final FinderPath FINDER_PATH_COUNT_BY_C_A
Constructor Detail

LayoutSetPrototypePersistenceImpl

public LayoutSetPrototypePersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface LayoutSetPrototypePersistence
Parameters:
uuid - the uuid
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid

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

Specified by:
findByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByUuid_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByUuid_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_PrevAndNext in interface LayoutSetPrototypePersistence
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

getByUuid_PrevAndNext

protected LayoutSetPrototype getByUuid_PrevAndNext(Session session,
                                                   LayoutSetPrototype layoutSetPrototype,
                                                   String uuid,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByUuid

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

Specified by:
filterFindByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid_PrevAndNext in interface LayoutSetPrototypePersistence
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

filterGetByUuid_PrevAndNext

protected LayoutSetPrototype filterGetByUuid_PrevAndNext(Session session,
                                                         LayoutSetPrototype layoutSetPrototype,
                                                         String uuid,
                                                         OrderByComparator orderByComparator,
                                                         boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface LayoutSetPrototypePersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface LayoutSetPrototypePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByUuid

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

Specified by:
filterCountByUuid in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_C in interface LayoutSetPrototypePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByUuid_C

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

Specified by:
findByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_C_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByUuid_C_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_C_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByUuid_C_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByUuid_C_PrevAndNext in interface LayoutSetPrototypePersistence
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

getByUuid_C_PrevAndNext

protected LayoutSetPrototype getByUuid_C_PrevAndNext(Session session,
                                                     LayoutSetPrototype layoutSetPrototype,
                                                     String uuid,
                                                     long companyId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

filterFindByUuid_C

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

Specified by:
filterFindByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByUuid_C_PrevAndNext in interface LayoutSetPrototypePersistence
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

filterGetByUuid_C_PrevAndNext

protected LayoutSetPrototype filterGetByUuid_C_PrevAndNext(Session session,
                                                           LayoutSetPrototype layoutSetPrototype,
                                                           String uuid,
                                                           long companyId,
                                                           OrderByComparator orderByComparator,
                                                           boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface LayoutSetPrototypePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

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

Specified by:
countByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterCountByUuid_C in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByCompanyId in interface LayoutSetPrototypePersistence
Parameters:
companyId - the company ID
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Specified by:
findByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByCompanyId_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByCompanyId_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByCompanyId_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByCompanyId_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByCompanyId_PrevAndNext in interface LayoutSetPrototypePersistence
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

getByCompanyId_PrevAndNext

protected LayoutSetPrototype getByCompanyId_PrevAndNext(Session session,
                                                        LayoutSetPrototype layoutSetPrototype,
                                                        long companyId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

filterFindByCompanyId

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

Specified by:
filterFindByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByCompanyId_PrevAndNext in interface LayoutSetPrototypePersistence
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

filterGetByCompanyId_PrevAndNext

protected LayoutSetPrototype filterGetByCompanyId_PrevAndNext(Session session,
                                                              LayoutSetPrototype layoutSetPrototype,
                                                              long companyId,
                                                              OrderByComparator orderByComparator,
                                                              boolean previous)

removeByCompanyId

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

Specified by:
removeByCompanyId in interface LayoutSetPrototypePersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

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

Specified by:
countByCompanyId in interface LayoutSetPrototypePersistence
Parameters:
companyId - the company ID
Returns:
the number of matching layout set prototypes
Throws:
SystemException - if a system exception occurred

filterCountByCompanyId

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

Specified by:
filterCountByCompanyId in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByC_A in interface LayoutSetPrototypePersistence
Parameters:
companyId - the company ID
active - the active
Returns:
the matching layout set prototypes
Throws:
SystemException - if a system exception occurred

findByC_A

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

Specified by:
findByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByC_A_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByC_A_First in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByC_A_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByC_A_Last in interface LayoutSetPrototypePersistence
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

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

Specified by:
findByC_A_PrevAndNext in interface LayoutSetPrototypePersistence
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

getByC_A_PrevAndNext

protected LayoutSetPrototype getByC_A_PrevAndNext(Session session,
                                                  LayoutSetPrototype layoutSetPrototype,
                                                  long companyId,
                                                  boolean active,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByC_A

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

Specified by:
filterFindByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterFindByC_A_PrevAndNext in interface LayoutSetPrototypePersistence
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

filterGetByC_A_PrevAndNext

protected LayoutSetPrototype filterGetByC_A_PrevAndNext(Session session,
                                                        LayoutSetPrototype layoutSetPrototype,
                                                        long companyId,
                                                        boolean active,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

removeByC_A

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

Specified by:
removeByC_A in interface LayoutSetPrototypePersistence
Parameters:
companyId - the company ID
active - the active
Throws:
SystemException - if a system exception occurred

countByC_A

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

Specified by:
countByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
filterCountByC_A in interface LayoutSetPrototypePersistence
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

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

Specified by:
cacheResult in interface LayoutSetPrototypePersistence
Parameters:
layoutSetPrototype - the layout set prototype

cacheResult

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

Specified by:
cacheResult in interface LayoutSetPrototypePersistence
Parameters:
layoutSetPrototypes - the layout set prototypes

clearCache

public void clearCache()
Clears the cache for all layout set prototypes.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutSetPrototype>
Overrides:
clearCache in class BasePersistenceImpl<LayoutSetPrototype>

clearCache

public void clearCache(LayoutSetPrototype layoutSetPrototype)
Clears the cache for the layout set prototype.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutSetPrototype>
Overrides:
clearCache in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
layoutSetPrototype - the instance of this model to clear the cache for

clearCache

public void clearCache(List<LayoutSetPrototype> layoutSetPrototypes)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutSetPrototype>
Overrides:
clearCache in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
layoutSetPrototypes - the List instances of this model to clear the cache for

create

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

Specified by:
create in interface LayoutSetPrototypePersistence
Parameters:
layoutSetPrototypeId - the primary key for the new layout set prototype
Returns:
the new layout set prototype

remove

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

Specified by:
remove in interface LayoutSetPrototypePersistence
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

remove

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

Specified by:
remove in interface BasePersistence<LayoutSetPrototype>
Overrides:
remove in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
primaryKey - 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

removeImpl

protected LayoutSetPrototype removeImpl(LayoutSetPrototype layoutSetPrototype)
                                 throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
layoutSetPrototype - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface LayoutSetPrototypePersistence
Overrides:
updateImpl in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
layoutSetPrototype - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected LayoutSetPrototype toUnwrappedModel(LayoutSetPrototype layoutSetPrototype)

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface BasePersistence<LayoutSetPrototype>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
primaryKey - 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

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface LayoutSetPrototypePersistence
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

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

Specified by:
fetchByPrimaryKey in interface BasePersistence<LayoutSetPrototype>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<LayoutSetPrototype>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface LayoutSetPrototypePersistence
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

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

Specified by:
findAll in interface LayoutSetPrototypePersistence
Returns:
the layout set prototypes
Throws:
SystemException - if a system exception occurred

findAll

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

Specified by:
findAll in interface LayoutSetPrototypePersistence
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

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

Specified by:
findAll in interface LayoutSetPrototypePersistence
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

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

Specified by:
removeAll in interface LayoutSetPrototypePersistence
Throws:
SystemException - if a system exception occurred

countAll

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

Specified by:
countAll in interface LayoutSetPrototypePersistence
Returns:
the number of layout set prototypes
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<LayoutSetPrototype>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the layout set prototype persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5