@ProviderType public interface TacticPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<Tactic>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.service.persistence.impl.TacticPersistenceImpl,
TacticUtil| Modifier and Type | Method and Description |
|---|---|
void |
addUserSegment(long pk,
long userSegmentPK)
Adds an association between the tactic and the user segment.
|
void |
addUserSegment(long pk,
UserSegment userSegment)
Adds an association between the tactic and the user segment.
|
void |
addUserSegments(long pk,
java.util.List<UserSegment> userSegments)
Adds an association between the tactic and the user segments.
|
void |
addUserSegments(long pk,
long[] userSegmentPKs)
Adds an association between the tactic and the user segments.
|
void |
cacheResult(java.util.List<Tactic> tactics)
Caches the tactics in the entity cache if it is enabled.
|
void |
cacheResult(Tactic tactic)
Caches the tactic in the entity cache if it is enabled.
|
void |
clearUserSegments(long pk)
Clears all associations between the tactic and its user segments.
|
boolean |
containsUserSegment(long pk,
long userSegmentPK)
Returns
true if the user segment is associated with the tactic. |
boolean |
containsUserSegments(long pk)
Returns
true if the tactic has any user segments associated with it. |
int |
countAll()
Returns the number of tactics.
|
int |
countByCampaignId(long campaignId)
Returns the number of tactics where campaignId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of tactics where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of tactics where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of tactics where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of tactics where uuid = ?.
|
Tactic |
create(long tacticId)
Creates a new tactic with the primary key.
|
Tactic |
fetchByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where campaignId = ?.
|
Tactic |
fetchByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where campaignId = ?.
|
Tactic |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where groupId = ?.
|
Tactic |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where groupId = ?.
|
Tactic |
fetchByPrimaryKey(long tacticId)
Returns the tactic with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,Tactic> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
Tactic |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where uuid = ? and companyId = ?.
|
Tactic |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where uuid = ? and companyId = ?.
|
Tactic |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where uuid = ?.
|
Tactic |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the tactic where uuid = ? and groupId = ? or returns
null if it could not be found. |
Tactic |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the tactic where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
Tactic |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where uuid = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of tactics that the user has permission to view where groupId = ?.
|
Tactic[] |
filterFindByGroupId_PrevAndNext(long tacticId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the tactics before and after the current tactic in the ordered set of tactics that the user has permission to view where groupId = ?.
|
java.util.List<Tactic> |
filterFindByGroupId(long groupId)
Returns all the tactics that the user has permission to view where groupId = ?.
|
java.util.List<Tactic> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the tactics that the user has permission to view where groupId = ?.
|
java.util.List<Tactic> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics that the user has permissions to view where groupId = ?.
|
java.util.List<Tactic> |
findAll()
Returns all the tactics.
|
java.util.List<Tactic> |
findAll(int start,
int end)
Returns a range of all the tactics.
|
java.util.List<Tactic> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics.
|
java.util.List<Tactic> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the tactics.
|
Tactic |
findByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where campaignId = ?.
|
Tactic |
findByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where campaignId = ?.
|
Tactic[] |
findByCampaignId_PrevAndNext(long tacticId,
long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the tactics before and after the current tactic in the ordered set where campaignId = ?.
|
java.util.List<Tactic> |
findByCampaignId(long campaignId)
Returns all the tactics where campaignId = ?.
|
java.util.List<Tactic> |
findByCampaignId(long campaignId,
int start,
int end)
Returns a range of all the tactics where campaignId = ?.
|
java.util.List<Tactic> |
findByCampaignId(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics where campaignId = ?.
|
java.util.List<Tactic> |
findByCampaignId(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the tactics where campaignId = ?.
|
Tactic |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where groupId = ?.
|
Tactic |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where groupId = ?.
|
Tactic[] |
findByGroupId_PrevAndNext(long tacticId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the tactics before and after the current tactic in the ordered set where groupId = ?.
|
java.util.List<Tactic> |
findByGroupId(long groupId)
Returns all the tactics where groupId = ?.
|
java.util.List<Tactic> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the tactics where groupId = ?.
|
java.util.List<Tactic> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics where groupId = ?.
|
java.util.List<Tactic> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the tactics where groupId = ?.
|
Tactic |
findByPrimaryKey(long tacticId)
Returns the tactic with the primary key or throws a
NoSuchTacticException if it could not be found. |
Tactic |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where uuid = ? and companyId = ?.
|
Tactic |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where uuid = ? and companyId = ?.
|
Tactic[] |
findByUuid_C_PrevAndNext(long tacticId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the tactics before and after the current tactic in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<Tactic> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the tactics where uuid = ? and companyId = ?.
|
java.util.List<Tactic> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the tactics where uuid = ? and companyId = ?.
|
java.util.List<Tactic> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics where uuid = ? and companyId = ?.
|
java.util.List<Tactic> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the tactics where uuid = ? and companyId = ?.
|
Tactic |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the first tactic in the ordered set where uuid = ?.
|
Tactic |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the tactic where uuid = ? and groupId = ? or throws a
NoSuchTacticException if it could not be found. |
Tactic |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the last tactic in the ordered set where uuid = ?.
|
Tactic[] |
findByUuid_PrevAndNext(long tacticId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns the tactics before and after the current tactic in the ordered set where uuid = ?.
|
java.util.List<Tactic> |
findByUuid(java.lang.String uuid)
Returns all the tactics where uuid = ?.
|
java.util.List<Tactic> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the tactics where uuid = ?.
|
java.util.List<Tactic> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns an ordered range of all the tactics where uuid = ?.
|
java.util.List<Tactic> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the tactics where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
long[] |
getUserSegmentPrimaryKeys(long pk)
Returns the primaryKeys of user segments associated with the tactic.
|
java.util.List<UserSegment> |
getUserSegments(long pk)
Returns all the user segments associated with the tactic.
|
java.util.List<UserSegment> |
getUserSegments(long pk,
int start,
int end)
Returns a range of all the user segments associated with the tactic.
|
java.util.List<UserSegment> |
getUserSegments(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
Returns an ordered range of all the user segments associated with the tactic.
|
int |
getUserSegmentsSize(long pk)
Returns the number of user segments associated with the tactic.
|
Tactic |
remove(long tacticId)
Removes the tactic with the primary key from the database.
|
void |
removeAll()
Removes all the tactics from the database.
|
void |
removeByCampaignId(long campaignId)
Removes all the tactics where campaignId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the tactics where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the tactics where uuid = ? and companyId = ? from the database.
|
Tactic |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the tactic where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the tactics where uuid = ? from the database.
|
void |
removeUserSegment(long pk,
long userSegmentPK)
Removes the association between the tactic and the user segment.
|
void |
removeUserSegment(long pk,
UserSegment userSegment)
Removes the association between the tactic and the user segment.
|
void |
removeUserSegments(long pk,
java.util.List<UserSegment> userSegments)
Removes the association between the tactic and the user segments.
|
void |
removeUserSegments(long pk,
long[] userSegmentPKs)
Removes the association between the tactic and the user segments.
|
void |
setUserSegments(long pk,
java.util.List<UserSegment> userSegments)
Sets the user segments associated with the tactic, removing and adding associations as necessary.
|
void |
setUserSegments(long pk,
long[] userSegmentPKs)
Sets the user segments associated with the tactic, removing and adding associations as necessary.
|
Tactic |
updateImpl(Tactic tactic) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<Tactic> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<Tactic> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheTactic findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic[] findByUuid_PrevAndNext(long tacticId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
tacticId - the primary key of the current tacticuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a tactic with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidTactic findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTacticException
NoSuchTacticException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchTacticException - if a matching tactic could not be foundTactic 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 tactic could not be foundTactic 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 tactic could not be foundTactic removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTacticException
uuid - the uuidgroupId - the group IDNoSuchTacticExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<Tactic> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<Tactic> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheTactic findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic[] findByUuid_C_PrevAndNext(long tacticId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
tacticId - the primary key of the current tacticuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a tactic 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<Tactic> findByGroupId(long groupId)
groupId - the group IDjava.util.List<Tactic> findByGroupId(long groupId, 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 TacticModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<Tactic> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheTactic findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic[] findByGroupId_PrevAndNext(long tacticId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
tacticId - the primary key of the current tacticgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a tactic with the primary key could not be foundjava.util.List<Tactic> filterFindByGroupId(long groupId)
groupId - the group IDjava.util.List<Tactic> filterFindByGroupId(long groupId, 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 TacticModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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.
groupId - the group IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)Tactic[] filterFindByGroupId_PrevAndNext(long tacticId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
tacticId - the primary key of the current tacticgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a tactic with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDint filterCountByGroupId(long groupId)
groupId - the group IDjava.util.List<Tactic> findByCampaignId(long campaignId)
campaignId - the campaign IDjava.util.List<Tactic> findByCampaignId(long campaignId, 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 TacticModelImpl. 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.
campaignId - the campaign IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> findByCampaignId(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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.
campaignId - the campaign IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<Tactic> findByCampaignId(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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.
campaignId - the campaign IDstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheTactic findByCampaignId_First(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
campaignId - the campaign IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByCampaignId_First(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
campaignId - the campaign IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic findByCampaignId_Last(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
campaignId - the campaign IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a matching tactic could not be foundTactic fetchByCampaignId_Last(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
campaignId - the campaign IDorderByComparator - the comparator to order the set by (optionally null)null if a matching tactic could not be foundTactic[] findByCampaignId_PrevAndNext(long tacticId, long campaignId, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) throws NoSuchTacticException
tacticId - the primary key of the current tacticcampaignId - the campaign IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTacticException - if a tactic with the primary key could not be foundvoid removeByCampaignId(long campaignId)
campaignId - the campaign IDint countByCampaignId(long campaignId)
campaignId - the campaign IDvoid cacheResult(Tactic tactic)
tactic - the tacticvoid cacheResult(java.util.List<Tactic> tactics)
tactics - the tacticsTactic create(long tacticId)
tacticId - the primary key for the new tacticTactic remove(long tacticId) throws NoSuchTacticException
tacticId - the primary key of the tacticNoSuchTacticException - if a tactic with the primary key could not be foundTactic findByPrimaryKey(long tacticId) throws NoSuchTacticException
NoSuchTacticException if it could not be found.tacticId - the primary key of the tacticNoSuchTacticException - if a tactic with the primary key could not be foundTactic fetchByPrimaryKey(long tacticId)
null if it could not be found.tacticId - the primary key of the tacticnull if a tactic with the primary key could not be foundjava.util.Map<java.io.Serializable,Tactic> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<Tactic>java.util.List<Tactic> findAll()
java.util.List<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<Tactic> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<Tactic> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> 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 TacticModelImpl. 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 tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
long[] getUserSegmentPrimaryKeys(long pk)
pk - the primary key of the tacticjava.util.List<UserSegment> getUserSegments(long pk)
pk - the primary key of the tacticjava.util.List<UserSegment> getUserSegments(long pk, 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 TacticModelImpl. 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.
pk - the primary key of the tacticstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)java.util.List<UserSegment> getUserSegments(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> 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 TacticModelImpl. 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.
pk - the primary key of the tacticstart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)int getUserSegmentsSize(long pk)
pk - the primary key of the tacticboolean containsUserSegment(long pk,
long userSegmentPK)
true if the user segment is associated with the tactic.pk - the primary key of the tacticuserSegmentPK - the primary key of the user segmenttrue if the user segment is associated with the tactic; false otherwiseboolean containsUserSegments(long pk)
true if the tactic has any user segments associated with it.pk - the primary key of the tactic to check for associations with user segmentstrue if the tactic has any user segments associated with it; false otherwisevoid addUserSegment(long pk,
long userSegmentPK)
pk - the primary key of the tacticuserSegmentPK - the primary key of the user segmentvoid addUserSegment(long pk,
UserSegment userSegment)
pk - the primary key of the tacticuserSegment - the user segmentvoid addUserSegments(long pk,
long[] userSegmentPKs)
pk - the primary key of the tacticuserSegmentPKs - the primary keys of the user segmentsvoid addUserSegments(long pk,
java.util.List<UserSegment> userSegments)
pk - the primary key of the tacticuserSegments - the user segmentsvoid clearUserSegments(long pk)
pk - the primary key of the tactic to clear the associated user segments fromvoid removeUserSegment(long pk,
long userSegmentPK)
pk - the primary key of the tacticuserSegmentPK - the primary key of the user segmentvoid removeUserSegment(long pk,
UserSegment userSegment)
pk - the primary key of the tacticuserSegment - the user segmentvoid removeUserSegments(long pk,
long[] userSegmentPKs)
pk - the primary key of the tacticuserSegmentPKs - the primary keys of the user segmentsvoid removeUserSegments(long pk,
java.util.List<UserSegment> userSegments)
pk - the primary key of the tacticuserSegments - the user segmentsvoid setUserSegments(long pk,
long[] userSegmentPKs)
pk - the primary key of the tacticuserSegmentPKs - the primary keys of the user segments to be associated with the tacticvoid setUserSegments(long pk,
java.util.List<UserSegment> userSegments)
pk - the primary key of the tacticuserSegments - the user segments to be associated with the tacticjava.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<Tactic>