@ProviderType public interface ObjectActionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectAction>
Caching information and settings can be found in portal.properties
ObjectActionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectAction> objectActions)
Caches the object actions in the entity cache if it is enabled.
|
void |
cacheResult(ObjectAction objectAction)
Caches the object action in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object actions.
|
int |
countByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey)
Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object actions where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object actions where uuid = ?.
|
ObjectAction |
create(long objectActionId)
Creates a new object action with the primary key.
|
ObjectAction |
fetchByO_A_OATK_First(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
ObjectAction |
fetchByO_A_OATK_Last(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
ObjectAction |
fetchByPrimaryKey(long objectActionId)
Returns the object action with the primary key or returns
null if it could not be found. |
ObjectAction |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where uuid = ? and companyId = ?.
|
ObjectAction |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where uuid = ? and companyId = ?.
|
ObjectAction |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where uuid = ?.
|
ObjectAction |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where uuid = ?.
|
java.util.List<ObjectAction> |
findAll()
Returns all the object actions.
|
java.util.List<ObjectAction> |
findAll(int start,
int end)
Returns a range of all the object actions.
|
java.util.List<ObjectAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns an ordered range of all the object actions.
|
java.util.List<ObjectAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object actions.
|
ObjectAction |
findByO_A_OATK_First(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
ObjectAction |
findByO_A_OATK_Last(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
ObjectAction[] |
findByO_A_OATK_PrevAndNext(long objectActionId,
long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
java.util.List<ObjectAction> |
findByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey)
Returns all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
java.util.List<ObjectAction> |
findByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
int start,
int end)
Returns a range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
java.util.List<ObjectAction> |
findByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
java.util.List<ObjectAction> |
findByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
|
ObjectAction |
findByPrimaryKey(long objectActionId)
Returns the object action with the primary key or throws a
NoSuchObjectActionException if it could not be found. |
ObjectAction |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where uuid = ? and companyId = ?.
|
ObjectAction |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where uuid = ? and companyId = ?.
|
ObjectAction[] |
findByUuid_C_PrevAndNext(long objectActionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the object actions before and after the current object action in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ObjectAction> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object actions where uuid = ? and companyId = ?.
|
java.util.List<ObjectAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object actions where uuid = ? and companyId = ?.
|
java.util.List<ObjectAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns an ordered range of all the object actions where uuid = ? and companyId = ?.
|
java.util.List<ObjectAction> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object actions where uuid = ? and companyId = ?.
|
ObjectAction |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the first object action in the ordered set where uuid = ?.
|
ObjectAction |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the last object action in the ordered set where uuid = ?.
|
ObjectAction[] |
findByUuid_PrevAndNext(long objectActionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns the object actions before and after the current object action in the ordered set where uuid = ?.
|
java.util.List<ObjectAction> |
findByUuid(java.lang.String uuid)
Returns all the object actions where uuid = ?.
|
java.util.List<ObjectAction> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object actions where uuid = ?.
|
java.util.List<ObjectAction> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
Returns an ordered range of all the object actions where uuid = ?.
|
java.util.List<ObjectAction> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object actions where uuid = ?.
|
ObjectAction |
remove(long objectActionId)
Removes the object action with the primary key from the database.
|
void |
removeAll()
Removes all the object actions from the database.
|
void |
removeByO_A_OATK(long objectDefinitionId,
boolean active,
java.lang.String objectActionTriggerKey)
Removes all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object actions where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object actions where uuid = ? from the database.
|
ObjectAction |
updateImpl(ObjectAction objectAction) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ObjectAction> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)java.util.List<ObjectAction> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectAction> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectAction findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction[] findByUuid_PrevAndNext(long objectActionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
objectActionId
- the primary key of the current object actionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a object action with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectAction> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)java.util.List<ObjectAction> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectAction> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectAction findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction[] findByUuid_C_PrevAndNext(long objectActionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
objectActionId
- the primary key of the current object actionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a object 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<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey)
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyjava.util.List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keystart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)java.util.List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keystart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keystart
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectAction findByO_A_OATK_First(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByO_A_OATK_First(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction findByO_A_OATK_Last(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a matching object action could not be foundObjectAction fetchByO_A_OATK_Last(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object action could not be foundObjectAction[] findByO_A_OATK_PrevAndNext(long objectActionId, long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException
objectActionId
- the primary key of the current object actionobjectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectActionException
- if a object action with the primary key could not be foundvoid removeByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey)
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyint countByO_A_OATK(long objectDefinitionId, boolean active, java.lang.String objectActionTriggerKey)
objectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyvoid cacheResult(ObjectAction objectAction)
objectAction
- the object actionvoid cacheResult(java.util.List<ObjectAction> objectActions)
objectActions
- the object actionsObjectAction create(long objectActionId)
objectActionId
- the primary key for the new object actionObjectAction remove(long objectActionId) throws NoSuchObjectActionException
objectActionId
- the primary key of the object actionNoSuchObjectActionException
- if a object action with the primary key could not be foundObjectAction updateImpl(ObjectAction objectAction)
ObjectAction findByPrimaryKey(long objectActionId) throws NoSuchObjectActionException
NoSuchObjectActionException
if it could not be found.objectActionId
- the primary key of the object actionNoSuchObjectActionException
- if a object action with the primary key could not be foundObjectAction fetchByPrimaryKey(long objectActionId)
null
if it could not be found.objectActionId
- the primary key of the object actionnull
if a object action with the primary key could not be foundjava.util.List<ObjectAction> findAll()
java.util.List<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
start
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)java.util.List<ObjectAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
start
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
start
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()