@ProviderType public interface MDRActionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<MDRAction>
Caching information and settings can be found in portal.properties
com.liferay.mobile.device.rules.service.persistence.impl.MDRActionPersistenceImpl
,
MDRActionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<MDRAction> mdrActions)
Caches the mdr actions in the entity cache if it is enabled.
|
void |
cacheResult(MDRAction mdrAction)
Caches the mdr action in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of mdr actions.
|
int |
countByRuleGroupInstanceId(long ruleGroupInstanceId)
Returns the number of mdr actions where ruleGroupInstanceId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of mdr actions where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of mdr actions where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of mdr actions where uuid = ?.
|
MDRAction |
create(long actionId)
Creates a new mdr action with the primary key.
|
MDRAction |
fetchByPrimaryKey(long actionId)
Returns the mdr action with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,MDRAction> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
MDRAction |
fetchByRuleGroupInstanceId_First(long ruleGroupInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where ruleGroupInstanceId = ?.
|
MDRAction |
fetchByRuleGroupInstanceId_Last(long ruleGroupInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where ruleGroupInstanceId = ?.
|
MDRAction |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where uuid = ? and companyId = ?.
|
MDRAction |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where uuid = ? and companyId = ?.
|
MDRAction |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where uuid = ?.
|
MDRAction |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the mdr action where uuid = ? and groupId = ? or returns
null if it could not be found. |
MDRAction |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the mdr action where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
MDRAction |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where uuid = ?.
|
java.util.List<MDRAction> |
findAll()
Returns all the mdr actions.
|
java.util.List<MDRAction> |
findAll(int start,
int end)
Returns a range of all the mdr actions.
|
java.util.List<MDRAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns an ordered range of all the mdr actions.
|
java.util.List<MDRAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr actions.
|
MDRAction |
findByPrimaryKey(long actionId)
Returns the mdr action with the primary key or throws a
NoSuchActionException if it could not be found. |
MDRAction |
findByRuleGroupInstanceId_First(long ruleGroupInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where ruleGroupInstanceId = ?.
|
MDRAction |
findByRuleGroupInstanceId_Last(long ruleGroupInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where ruleGroupInstanceId = ?.
|
MDRAction[] |
findByRuleGroupInstanceId_PrevAndNext(long actionId,
long ruleGroupInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the mdr actions before and after the current mdr action in the ordered set where ruleGroupInstanceId = ?.
|
java.util.List<MDRAction> |
findByRuleGroupInstanceId(long ruleGroupInstanceId)
Returns all the mdr actions where ruleGroupInstanceId = ?.
|
java.util.List<MDRAction> |
findByRuleGroupInstanceId(long ruleGroupInstanceId,
int start,
int end)
Returns a range of all the mdr actions where ruleGroupInstanceId = ?.
|
java.util.List<MDRAction> |
findByRuleGroupInstanceId(long ruleGroupInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns an ordered range of all the mdr actions where ruleGroupInstanceId = ?.
|
java.util.List<MDRAction> |
findByRuleGroupInstanceId(long ruleGroupInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr actions where ruleGroupInstanceId = ?.
|
MDRAction |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where uuid = ? and companyId = ?.
|
MDRAction |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where uuid = ? and companyId = ?.
|
MDRAction[] |
findByUuid_C_PrevAndNext(long actionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the mdr actions before and after the current mdr action in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<MDRAction> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the mdr actions where uuid = ? and companyId = ?.
|
java.util.List<MDRAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the mdr actions where uuid = ? and companyId = ?.
|
java.util.List<MDRAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns an ordered range of all the mdr actions where uuid = ? and companyId = ?.
|
java.util.List<MDRAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr actions where uuid = ? and companyId = ?.
|
MDRAction |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the first mdr action in the ordered set where uuid = ?.
|
MDRAction |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the mdr action where uuid = ? and groupId = ? or throws a
NoSuchActionException if it could not be found. |
MDRAction |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the last mdr action in the ordered set where uuid = ?.
|
MDRAction[] |
findByUuid_PrevAndNext(long actionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns the mdr actions before and after the current mdr action in the ordered set where uuid = ?.
|
java.util.List<MDRAction> |
findByUuid(java.lang.String uuid)
Returns all the mdr actions where uuid = ?.
|
java.util.List<MDRAction> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the mdr actions where uuid = ?.
|
java.util.List<MDRAction> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
Returns an ordered range of all the mdr actions where uuid = ?.
|
java.util.List<MDRAction> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr actions where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
MDRAction |
remove(long actionId)
Removes the mdr action with the primary key from the database.
|
void |
removeAll()
Removes all the mdr actions from the database.
|
void |
removeByRuleGroupInstanceId(long ruleGroupInstanceId)
Removes all the mdr actions where ruleGroupInstanceId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the mdr actions where uuid = ? and companyId = ? from the database.
|
MDRAction |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the mdr action where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the mdr actions where uuid = ? from the database.
|
MDRAction |
updateImpl(MDRAction mdrAction) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<MDRAction> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<MDRAction> findByUuid(java.lang.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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)java.util.List<MDRAction> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> 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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<MDRAction> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator, boolean retrieveFromCache)
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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheMDRAction findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction[] findByUuid_PrevAndNext(long actionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
actionId
- the primary key of the current mdr actionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a mdr action with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidMDRAction findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchActionException
NoSuchActionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching mdr action could not be foundMDRAction fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching mdr action could not be foundMDRAction removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchActionException
uuid
- the uuidgroupId
- the group IDNoSuchActionException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<MDRAction> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<MDRAction> findByUuid_C(java.lang.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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)java.util.List<MDRAction> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> 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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<MDRAction> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator, boolean retrieveFromCache)
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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheMDRAction findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction[] findByUuid_C_PrevAndNext(long actionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
actionId
- the primary key of the current mdr actionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a mdr action with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<MDRAction> findByRuleGroupInstanceId(long ruleGroupInstanceId)
ruleGroupInstanceId
- the rule group instance IDjava.util.List<MDRAction> findByRuleGroupInstanceId(long ruleGroupInstanceId, 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 MDRActionModelImpl
. 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.
ruleGroupInstanceId
- the rule group instance IDstart
- the lower bound of the range of mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)java.util.List<MDRAction> findByRuleGroupInstanceId(long ruleGroupInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> 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 MDRActionModelImpl
. 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.
ruleGroupInstanceId
- the rule group instance IDstart
- the lower bound of the range of mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<MDRAction> findByRuleGroupInstanceId(long ruleGroupInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator, boolean retrieveFromCache)
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 MDRActionModelImpl
. 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.
ruleGroupInstanceId
- the rule group instance IDstart
- the lower bound of the range of mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheMDRAction findByRuleGroupInstanceId_First(long ruleGroupInstanceId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
ruleGroupInstanceId
- the rule group instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByRuleGroupInstanceId_First(long ruleGroupInstanceId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
ruleGroupInstanceId
- the rule group instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction findByRuleGroupInstanceId_Last(long ruleGroupInstanceId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
ruleGroupInstanceId
- the rule group instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching mdr action could not be foundMDRAction fetchByRuleGroupInstanceId_Last(long ruleGroupInstanceId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator)
ruleGroupInstanceId
- the rule group instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr action could not be foundMDRAction[] findByRuleGroupInstanceId_PrevAndNext(long actionId, long ruleGroupInstanceId, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) throws NoSuchActionException
actionId
- the primary key of the current mdr actionruleGroupInstanceId
- the rule group instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a mdr action with the primary key could not be foundvoid removeByRuleGroupInstanceId(long ruleGroupInstanceId)
ruleGroupInstanceId
- the rule group instance IDint countByRuleGroupInstanceId(long ruleGroupInstanceId)
ruleGroupInstanceId
- the rule group instance IDvoid cacheResult(MDRAction mdrAction)
mdrAction
- the mdr actionvoid cacheResult(java.util.List<MDRAction> mdrActions)
mdrActions
- the mdr actionsMDRAction create(long actionId)
actionId
- the primary key for the new mdr actionMDRAction remove(long actionId) throws NoSuchActionException
actionId
- the primary key of the mdr actionNoSuchActionException
- if a mdr action with the primary key could not be foundMDRAction findByPrimaryKey(long actionId) throws NoSuchActionException
NoSuchActionException
if it could not be found.actionId
- the primary key of the mdr actionNoSuchActionException
- if a mdr action with the primary key could not be foundMDRAction fetchByPrimaryKey(long actionId)
null
if it could not be found.actionId
- the primary key of the mdr actionnull
if a mdr action with the primary key could not be foundjava.util.Map<java.io.Serializable,MDRAction> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<MDRAction>
java.util.List<MDRAction> findAll()
java.util.List<MDRAction> 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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)java.util.List<MDRAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> 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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<MDRAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator, boolean retrieveFromCache)
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 MDRActionModelImpl
. 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 mdr actionsend
- the upper bound of the range of mdr actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<MDRAction>