@ProviderType public interface LayoutPrototypePersistence extends BasePersistence<LayoutPrototype>
Caching information and settings can be found in portal.properties
LayoutPrototypeUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(LayoutPrototype layoutPrototype)
Caches the layout prototype in the entity cache if it is enabled.
|
void |
cacheResult(List<LayoutPrototype> layoutPrototypes)
Caches the layout prototypes in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of layout prototypes.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of layout prototypes where companyId = ? and active = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of layout prototypes where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layout prototypes where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of layout prototypes where uuid = ?.
|
LayoutPrototype |
create(long layoutPrototypeId)
Creates a new layout prototype with the primary key.
|
LayoutPrototype |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
LayoutPrototype |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
LayoutPrototype |
fetchByCompanyId_First(long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
LayoutPrototype |
fetchByCompanyId_Last(long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
LayoutPrototype |
fetchByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or returns
null if it could not be found. |
LayoutPrototype |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
LayoutPrototype |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
LayoutPrototype |
fetchByUuid_First(String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
LayoutPrototype |
fetchByUuid_Last(String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of layout prototypes that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(String uuid,
long companyId)
Returns the number of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(String uuid)
Returns the number of layout prototypes that the user has permission to view where uuid = ?.
|
LayoutPrototype[] |
filterFindByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ? and active = ?.
|
LayoutPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ?.
|
List<LayoutPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout prototypes that the user has permission to view where companyId = ?.
|
List<LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ?.
|
List<LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ?.
|
LayoutPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId)
Returns all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
LayoutPrototype[] |
filterFindByUuid_PrevAndNext(long layoutPrototypeId,
String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ?.
|
List<LayoutPrototype> |
filterFindByUuid(String uuid)
Returns all the layout prototypes that the user has permission to view where uuid = ?.
|
List<LayoutPrototype> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ?.
|
List<LayoutPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ?.
|
List<LayoutPrototype> |
findAll()
Returns all the layout prototypes.
|
List<LayoutPrototype> |
findAll(int start,
int end)
Returns a range of all the layout prototypes.
|
List<LayoutPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes.
|
List<LayoutPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout prototypes.
|
LayoutPrototype |
findByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
LayoutPrototype |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
LayoutPrototype[] |
findByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ? and active = ?.
|
List<LayoutPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout prototypes where companyId = ? and active = ?.
|
List<LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ? and active = ?.
|
List<LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
List<LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
LayoutPrototype |
findByCompanyId_First(long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
LayoutPrototype |
findByCompanyId_Last(long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
LayoutPrototype[] |
findByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ?.
|
List<LayoutPrototype> |
findByCompanyId(long companyId)
Returns all the layout prototypes where companyId = ?.
|
List<LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ?.
|
List<LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
List<LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
LayoutPrototype |
findByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or throws a
NoSuchLayoutPrototypeException if it could not be found. |
LayoutPrototype |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
LayoutPrototype |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
LayoutPrototype[] |
findByUuid_C_PrevAndNext(long layoutPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout prototypes where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
List<LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
LayoutPrototype |
findByUuid_First(String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
LayoutPrototype |
findByUuid_Last(String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
LayoutPrototype[] |
findByUuid_PrevAndNext(long layoutPrototypeId,
String uuid,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ?.
|
List<LayoutPrototype> |
findByUuid(String uuid)
Returns all the layout prototypes where uuid = ?.
|
List<LayoutPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ?.
|
List<LayoutPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
List<LayoutPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
LayoutPrototype |
remove(long layoutPrototypeId)
Removes the layout prototype with the primary key from the database.
|
void |
removeAll()
Removes all the layout prototypes from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the layout prototypes where companyId = ? and active = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the layout prototypes where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layout prototypes where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the layout prototypes where uuid = ? from the database.
|
LayoutPrototype |
updateImpl(LayoutPrototype layoutPrototype) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<LayoutPrototype> findByUuid(String uuid)
uuid
- the uuidList<LayoutPrototype> findByUuid(String uuid, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<LayoutPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator, boolean useFinderCache)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPrototype findByUuid_First(String uuid, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByUuid_First(String uuid, OrderByComparator<LayoutPrototype> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype findByUuid_Last(String uuid, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByUuid_Last(String uuid, OrderByComparator<LayoutPrototype> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype[] findByUuid_PrevAndNext(long layoutPrototypeId, String uuid, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundList<LayoutPrototype> filterFindByUuid(String uuid)
uuid
- the uuidList<LayoutPrototype> filterFindByUuid(String uuid, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)LayoutPrototype[] filterFindByUuid_PrevAndNext(long layoutPrototypeId, String uuid, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidint filterCountByUuid(String uuid)
uuid
- the uuidList<LayoutPrototype> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator, boolean useFinderCache)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype[] findByUuid_C_PrevAndNext(long layoutPrototypeId, String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundList<LayoutPrototype> filterFindByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<LayoutPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)LayoutPrototype[] filterFindByUuid_C_PrevAndNext(long layoutPrototypeId, String uuid, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<LayoutPrototype> findByCompanyId(long companyId)
companyId
- the company IDList<LayoutPrototype> findByCompanyId(long companyId, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<LayoutPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator, boolean useFinderCache)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPrototype findByCompanyId_First(long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByCompanyId_First(long companyId, OrderByComparator<LayoutPrototype> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype findByCompanyId_Last(long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutPrototype> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundList<LayoutPrototype> filterFindByCompanyId(long companyId)
companyId
- the company IDList<LayoutPrototype> filterFindByCompanyId(long companyId, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)LayoutPrototype[] filterFindByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDList<LayoutPrototype> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeList<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator, boolean useFinderCache)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPrototype findByC_A_First(long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundLayoutPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundLayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundList<LayoutPrototype> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeList<LayoutPrototype> filterFindByC_A(long companyId, boolean active, int start, int end)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)LayoutPrototype[] filterFindByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, OrderByComparator<LayoutPrototype> orderByComparator) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundvoid removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activevoid cacheResult(LayoutPrototype layoutPrototype)
layoutPrototype
- the layout prototypevoid cacheResult(List<LayoutPrototype> layoutPrototypes)
layoutPrototypes
- the layout prototypesLayoutPrototype create(long layoutPrototypeId)
layoutPrototypeId
- the primary key for the new layout prototypeLayoutPrototype remove(long layoutPrototypeId) throws NoSuchLayoutPrototypeException
layoutPrototypeId
- the primary key of the layout prototypeNoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundLayoutPrototype updateImpl(LayoutPrototype layoutPrototype)
LayoutPrototype findByPrimaryKey(long layoutPrototypeId) throws NoSuchLayoutPrototypeException
NoSuchLayoutPrototypeException
if it could not be found.layoutPrototypeId
- the primary key of the layout prototypeNoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundLayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
null
if it could not be found.layoutPrototypeId
- the primary key of the layout prototypenull
if a layout prototype with the primary key could not be foundList<LayoutPrototype> findAll()
List<LayoutPrototype> findAll(int start, int end)
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 LayoutPrototypeModelImpl
. 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.
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)List<LayoutPrototype> findAll(int start, int end, OrderByComparator<LayoutPrototype> orderByComparator)
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 LayoutPrototypeModelImpl
. 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.
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<LayoutPrototype> findAll(int start, int end, OrderByComparator<LayoutPrototype> orderByComparator, boolean useFinderCache)
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 LayoutPrototypeModelImpl
. 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.
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()