@Repository public class HibernateCampaignDeletionDao extends HibernateDeletionDao implements CampaignDeletionDao
| Constructor and Description |
|---|
HibernateCampaignDeletionDao() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
findCampaignsWhichMilestonesForbidsDeletion(List<Long> originalId)
Given their ids, return the ids of campaigns one cannot remove
due to restrictions on the status of their milestones
|
List<Long> |
findRemainingCampaignIds(List<Long> originalIds)
Returns the subset of originalIds that represents the campaigns that were not deleted
|
void |
removeEntities(List<Long> entityIds) |
List<Long>[] |
separateFolderFromCampaignIds(List<Long> originalIds)
Given a list of CampaignLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.
|
void |
unbindFromMilestone(List<Long> campaignIds,
Long milestoneId) |
entityManager, executeDeleteNamedQuery, executeDeleteSQLQuery, executeSelectNamedQuery, executeSelectSQLQuery, flush, getSession, removeAttachmentList, removeAttachmentsLists, removeEntity, removeEntityNQclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, removeAttachmentList, removeAttachmentsLists, removeEntity, removeEntityNQpublic void removeEntities(List<Long> entityIds)
removeEntities in interface DeletionDaopublic List<Long>[] separateFolderFromCampaignIds(List<Long> originalIds)
CampaignDeletionDaoseparateFolderFromCampaignIds in interface CampaignDeletionDaooriginalIds - the requirement library node ids we want to sort out.public void unbindFromMilestone(List<Long> campaignIds, Long milestoneId)
unbindFromMilestone in interface CampaignDeletionDaopublic List<Long> findCampaignsWhichMilestonesForbidsDeletion(List<Long> originalId)
CampaignDeletionDaofindCampaignsWhichMilestonesForbidsDeletion in interface CampaignDeletionDaopublic List<Long> findRemainingCampaignIds(List<Long> originalIds)
CampaignDeletionDaofindRemainingCampaignIds in interface CampaignDeletionDaoCopyright © 2010–2017 Henix, henix.fr. All rights reserved.