public interface PrivateCustomFieldValueService extends CustomFieldValueManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
cascadeCustomFieldValuesCreation(org.squashtest.tm.domain.customfield.CustomFieldBinding binding)
Will create a custom field value for all the entities affected by the given binding
|
void |
cascadeCustomFieldValuesDeletion(org.squashtest.tm.domain.customfield.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(org.squashtest.tm.domain.customfield.BoundEntity source,
org.squashtest.tm.domain.customfield.BoundEntity recipient)
Will copy the custom field values from an entity to another entity, creating them in the process
|
void |
copyCustomFieldValues(Map<Long,org.squashtest.tm.domain.customfield.BoundEntity> copiedEntityBySource,
org.squashtest.tm.domain.customfield.BindableEntity bindableEntityType)
*Will copy the custom field values from entities to others, creating them in the process
|
void |
copyCustomFieldValuesContent(org.squashtest.tm.domain.customfield.BoundEntity source,
org.squashtest.tm.domain.customfield.BoundEntity recipient)
Will copy the custom field values from an entity to another entity.
|
void |
createAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity,
org.squashtest.tm.domain.project.Project project)
Will create all the custom field values for one entity.
|
void |
createAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> entities,
org.squashtest.tm.domain.project.Project project)
batched version of
createAllCustomFieldValues(BoundEntity, Project). |
void |
deleteAllCustomFieldValues(org.squashtest.tm.domain.customfield.BindableEntity entityType,
List<Long> entityIds)
Will delete all the custom field values for multiple BoundEntities
|
void |
deleteAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity)
will delete all the custom field vales for one entity
|
void |
migrateCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity)
Will ensure that the custom field values of an entity are consistent with the custom fields bound to the project
it belongs to, at the time when the method is invoked.
|
void |
migrateCustomFieldValues(Collection<org.squashtest.tm.domain.customfield.BoundEntity> entities)
Same as
migrateCustomFieldValues(BoundEntity), batched version. |
changeValueareValuesEditable, findAllCustomFieldValues, findAllCustomFieldValues, findAllCustomFieldValues, findAllCustomFieldValues, findAllForEntityAndRenderingLocation, hasCustomFields, hasCustomFieldsvoid cascadeCustomFieldValuesCreation(org.squashtest.tm.domain.customfield.CustomFieldBinding binding)
binding - void cascadeCustomFieldValuesDeletion(org.squashtest.tm.domain.customfield.CustomFieldBinding binding)
binding - void cascadeCustomFieldValuesDeletion(List<Long> customFieldBindingIds)
binding - void createAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity,
org.squashtest.tm.domain.project.Project project)
entity - project - . If null, the project of the given entity will be used.void createAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> entities, org.squashtest.tm.domain.project.Project project)
createAllCustomFieldValues(BoundEntity, Project).
The entities are assumed to be all of the same concrete class and of the
same project.entities - project - void deleteAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity)
entity - void deleteAllCustomFieldValues(org.squashtest.tm.domain.customfield.BindableEntity entityType,
List<Long> entityIds)
entityType - the BindableEntity that all of the BoundEntity must shareentityIds - the ids of those BoundEntitiesvoid copyCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity source,
org.squashtest.tm.domain.customfield.BoundEntity recipient)
source - : the BoundEntity from witch the cuf are copiedrecipient - : the BoundEntityvoid copyCustomFieldValues(Map<Long,org.squashtest.tm.domain.customfield.BoundEntity> copiedEntityBySource, org.squashtest.tm.domain.customfield.BindableEntity bindableEntityType)
copiedEntityBySource - : a Map with
bindableEntityType - : the BindableEntity type for all BoundEntity in the "copiedEntityBySource" map.void copyCustomFieldValuesContent(org.squashtest.tm.domain.customfield.BoundEntity source,
org.squashtest.tm.domain.customfield.BoundEntity recipient)
CustomFieldValue.setValue(String) from one to the other.source - dest - void migrateCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity entity)
entity - void migrateCustomFieldValues(Collection<org.squashtest.tm.domain.customfield.BoundEntity> entities)
migrateCustomFieldValues(BoundEntity), batched version.entities - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.