|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutSetPrototype> com.liferay.portal.service.persistence.LayoutSetPrototypePersistenceImpl
public class LayoutSetPrototypePersistenceImpl
The persistence implementation for the layout set prototype service.
Caching information and settings can be found in portal.properties
LayoutSetPrototypePersistence
,
LayoutSetPrototypeUtil
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 |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_COUNT_BY_C_A
Constructor Detail |
---|
public LayoutSetPrototypePersistenceImpl()
Method Detail |
---|
public List<LayoutSetPrototype> findByUuid(String uuid) throws SystemException
findByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_First
in interface LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_Last
in interface LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype getByUuid_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, OrderByComparator orderByComparator, boolean previous)
public List<LayoutSetPrototype> filterFindByUuid(String uuid) throws SystemException
filterFindByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
filterFindByUuid_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype filterGetByUuid_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int filterCountByUuid(String uuid) throws SystemException
filterCountByUuid
in interface LayoutSetPrototypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId) throws SystemException
findByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_C_First
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_First
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_C_Last
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_Last
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByUuid_C_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype getByUuid_C_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId) throws SystemException
filterFindByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
filterFindByUuid_C_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype filterGetByUuid_C_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId) throws SystemException
removeByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic int countByUuid_C(String uuid, long companyId) throws SystemException
countByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic int filterCountByUuid_C(String uuid, long companyId) throws SystemException
filterCountByUuid_C
in interface LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByCompanyId_First
in interface LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_First
in interface LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByCompanyId_Last
in interface LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_Last
in interface LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByCompanyId_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype getByCompanyId_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<LayoutSetPrototype> filterFindByCompanyId(long companyId) throws SystemException
filterFindByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
filterFindByCompanyId_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype filterGetByCompanyId_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic int filterCountByCompanyId(long companyId) throws SystemException
filterCountByCompanyId
in interface LayoutSetPrototypePersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByC_A(long companyId, boolean active) throws SystemException
findByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByC_A_First
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
fetchByC_A_First
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByC_A_Last
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
fetchByC_A_Last
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
findByC_A_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype getByC_A_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, OrderByComparator orderByComparator, boolean previous)
public List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active) throws SystemException
filterFindByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
filterFindByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutSetPrototypeException, SystemException
filterFindByC_A_PrevAndNext
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype filterGetByC_A_PrevAndNext(Session session, LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, OrderByComparator orderByComparator, boolean previous)
public void removeByC_A(long companyId, boolean active) throws SystemException
removeByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredpublic int countByC_A(long companyId, boolean active) throws SystemException
countByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredpublic int filterCountByC_A(long companyId, boolean active) throws SystemException
filterCountByC_A
in interface LayoutSetPrototypePersistence
companyId
- the company IDactive
- the active
SystemException
- if a system exception occurredpublic void cacheResult(LayoutSetPrototype layoutSetPrototype)
cacheResult
in interface LayoutSetPrototypePersistence
layoutSetPrototype
- the layout set prototypepublic void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
cacheResult
in interface LayoutSetPrototypePersistence
layoutSetPrototypes
- the layout set prototypespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<LayoutSetPrototype>
clearCache
in class BasePersistenceImpl<LayoutSetPrototype>
public void clearCache(LayoutSetPrototype layoutSetPrototype)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<LayoutSetPrototype>
clearCache
in class BasePersistenceImpl<LayoutSetPrototype>
layoutSetPrototype
- the instance of this model to clear the cache forpublic void clearCache(List<LayoutSetPrototype> layoutSetPrototypes)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<LayoutSetPrototype>
clearCache
in class BasePersistenceImpl<LayoutSetPrototype>
layoutSetPrototypes
- the List instances of this model to clear the cache forpublic LayoutSetPrototype create(long layoutSetPrototypeId)
create
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key for the new layout set prototype
public LayoutSetPrototype remove(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException, SystemException
remove
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype remove(Serializable primaryKey) throws NoSuchLayoutSetPrototypeException, SystemException
remove
in interface BasePersistence<LayoutSetPrototype>
remove
in class BasePersistenceImpl<LayoutSetPrototype>
primaryKey
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredprotected LayoutSetPrototype removeImpl(LayoutSetPrototype layoutSetPrototype) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<LayoutSetPrototype>
layoutSetPrototype
- the model instance to remove
SystemException
- if a system exception occurredpublic LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface LayoutSetPrototypePersistence
updateImpl
in class BasePersistenceImpl<LayoutSetPrototype>
layoutSetPrototype
- the model instance to update
SystemException
- if a system exception occurredprotected LayoutSetPrototype toUnwrappedModel(LayoutSetPrototype layoutSetPrototype)
public LayoutSetPrototype findByPrimaryKey(Serializable primaryKey) throws NoSuchLayoutSetPrototypeException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<LayoutSetPrototype>
findByPrimaryKey
in class BasePersistenceImpl<LayoutSetPrototype>
primaryKey
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException, SystemException
NoSuchLayoutSetPrototypeException
if it could not be found.
findByPrimaryKey
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<LayoutSetPrototype>
fetchByPrimaryKey
in class BasePersistenceImpl<LayoutSetPrototype>
primaryKey
- the primary key of the layout set prototype
null
if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototype
null
if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findAll() throws SystemException
findAll
in interface LayoutSetPrototypePersistence
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findAll
in interface LayoutSetPrototypePersistence
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
findAll
in interface LayoutSetPrototypePersistence
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface LayoutSetPrototypePersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface LayoutSetPrototypePersistence
SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class BasePersistenceImpl<LayoutSetPrototype>
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |