org.squashtest.csp.tm.internal.service.customField
Interface PrivateCustomFieldValueService

All Superinterfaces:
CustomFieldValueFinderService, CustomFieldValueManagerService
All Known Implementing Classes:
PrivateCustomFieldValueServiceImpl

@Transactional
public interface PrivateCustomFieldValueService
extends CustomFieldValueManagerService

That interface is called so because it should remain private to this bundle. The reason is that the methods will not be secured.

Author:
bsiri

Method Summary
 void cascadeCustomFieldValuesCreation(CustomFieldBinding binding)
          Will create a custom field value for all the entities affected by the given binding
 void cascadeCustomFieldValuesDeletion(CustomFieldBinding binding)
          Will remove the custom field values corresponding to the given binding
 void cascadeCustomFieldValuesDeletion(List<Long> customFieldBindingIds)
          Will remove the custom field values corresponding to the bindings, given their ids.
 void copyCustomFieldValues(BoundEntity source, BoundEntity recipient)
          Will copy the custom field values from an entity to another entity, creating them in the process
 void copyCustomFieldValuesContent(BoundEntity source, BoundEntity recipient)
          Will copy the custom field values from an entity to another entity.
 void createAllCustomFieldValues(BoundEntity entity)
          Will create all the custom field values for one entity.
 void deleteAllCustomFieldValues(BindableEntity entityType, List<Long> entityIds)
          Will delete all the custom field values for multiple BoundEntities
 void deleteAllCustomFieldValues(BoundEntity entity)
          will delete all the custom field vales for one entity
 
Methods inherited from interface org.squashtest.csp.tm.service.customfield.CustomFieldValueManagerService
update
 
Methods inherited from interface org.squashtest.csp.tm.service.customfield.CustomFieldValueFinderService
findAllCustomFieldValues, findAllCustomFieldValues, hasCustomFields, hasCustomFields
 

Method Detail

cascadeCustomFieldValuesCreation

void cascadeCustomFieldValuesCreation(CustomFieldBinding binding)
Will create a custom field value for all the entities affected by the given binding

Parameters:
binding -

cascadeCustomFieldValuesDeletion

void cascadeCustomFieldValuesDeletion(CustomFieldBinding binding)
Will remove the custom field values corresponding to the given binding

Parameters:
binding -

cascadeCustomFieldValuesDeletion

void cascadeCustomFieldValuesDeletion(List<Long> customFieldBindingIds)
Will remove the custom field values corresponding to the bindings, given their ids.

Parameters:
binding -

createAllCustomFieldValues

void createAllCustomFieldValues(BoundEntity entity)
Will create all the custom field values for one entity.

Parameters:
entity -

deleteAllCustomFieldValues

void deleteAllCustomFieldValues(BoundEntity entity)
will delete all the custom field vales for one entity

Parameters:
entity -

deleteAllCustomFieldValues

void deleteAllCustomFieldValues(BindableEntity entityType,
                                List<Long> entityIds)
Will delete all the custom field values for multiple BoundEntities

Parameters:
entityType - the BindableEntity that all of the BoundEntity must share
entityIds - the ids of those BoundEntities

copyCustomFieldValues

void copyCustomFieldValues(BoundEntity source,
                           BoundEntity recipient)
Will copy the custom field values from an entity to another entity, creating them in the process

Parameters:
entity -

copyCustomFieldValuesContent

void copyCustomFieldValuesContent(BoundEntity source,
                                  BoundEntity recipient)
Will copy the custom field values from an entity to another entity. It assumes that the custom field values already exists for both, and will simply invoke CustomFieldValue.setValue(String) from one to the other.

Parameters:
source -
dest -


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