org.squashtest.tm.service.internal.repository
Interface CampaignDeletionDao

All Superinterfaces:
DeletionDao
All Known Implementing Classes:
HibernateCampaignDeletionDao

public interface CampaignDeletionDao
extends DeletionDao


Method Summary
 List<Long>[] separateFolderFromCampaignIds(List<Long> originalIds)
          Given a list of CampaignLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.DeletionDao
flush, removeAttachmentList, removeAttachmentsLists, removeEntities, removeEntity
 

Method Detail

separateFolderFromCampaignIds

List<Long>[] separateFolderFromCampaignIds(List<Long> originalIds)
Given a list of CampaignLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.

Parameters:
originalIds - the requirement library node ids we want to sort out.
Returns:
an array of list of ids : result[0] are the folder ids and result[1] are the campaign ids.


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.