|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.service.customField.PrivateCustomFieldValueServiceImpl
@Service(value="squashtest.tm.service.CustomFieldValueManagerService") public class PrivateCustomFieldValueServiceImpl
| Constructor Summary | |
|---|---|
PrivateCustomFieldValueServiceImpl()
|
|
| 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 |
List<CustomFieldValue> |
findAllCustomFieldValues(BoundEntity boundEntity)
Will return the list of the custom field values associated to the specified bound entity. |
List<CustomFieldValue> |
findAllCustomFieldValues(Long boundEntityId,
BindableEntity bindableEntity)
Same as CustomFieldValueFinderService.findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity
are broken down into its ID and type. |
boolean |
hasCustomFields(BoundEntity boundEntity)
Tells whether the given bound entity has custom fields or not. |
boolean |
hasCustomFields(Long boundEntityId,
BindableEntity bindableEntity)
Same as CustomFieldValueFinderService.hasCustomFields(BoundEntity), the bound entity being identified by its type and id |
void |
setPermissionService(org.squashtest.csp.core.service.security.PermissionEvaluationService permissionService)
|
void |
update(Long customFieldValueId,
String newValue)
Will update the value of a CustomFieldValue using its Id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivateCustomFieldValueServiceImpl()
| Method Detail |
|---|
@ServiceReference public void setPermissionService(org.squashtest.csp.core.service.security.PermissionEvaluationService permissionService)
public boolean hasCustomFields(BoundEntity boundEntity)
CustomFieldValueFinderService
hasCustomFields in interface CustomFieldValueFinderService
public boolean hasCustomFields(Long boundEntityId,
BindableEntity bindableEntity)
CustomFieldValueFinderServiceCustomFieldValueFinderService.hasCustomFields(BoundEntity), the bound entity being identified by its type and id
hasCustomFields in interface CustomFieldValueFinderServicepublic List<CustomFieldValue> findAllCustomFieldValues(BoundEntity boundEntity)
CustomFieldValueFinderService
findAllCustomFieldValues in interface CustomFieldValueFinderService
public List<CustomFieldValue> findAllCustomFieldValues(Long boundEntityId,
BindableEntity bindableEntity)
CustomFieldValueFinderServiceCustomFieldValueFinderService.findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity
are broken down into its ID and type.
findAllCustomFieldValues in interface CustomFieldValueFinderServicepublic void cascadeCustomFieldValuesCreation(CustomFieldBinding binding)
PrivateCustomFieldValueService
cascadeCustomFieldValuesCreation in interface PrivateCustomFieldValueServicepublic void cascadeCustomFieldValuesDeletion(CustomFieldBinding binding)
PrivateCustomFieldValueService
cascadeCustomFieldValuesDeletion in interface PrivateCustomFieldValueServicepublic void cascadeCustomFieldValuesDeletion(List<Long> customFieldBindingIds)
PrivateCustomFieldValueService
cascadeCustomFieldValuesDeletion in interface PrivateCustomFieldValueServicepublic void createAllCustomFieldValues(BoundEntity entity)
PrivateCustomFieldValueService
createAllCustomFieldValues in interface PrivateCustomFieldValueServicepublic void deleteAllCustomFieldValues(BoundEntity entity)
PrivateCustomFieldValueService
deleteAllCustomFieldValues in interface PrivateCustomFieldValueService
public void deleteAllCustomFieldValues(BindableEntity entityType,
List<Long> entityIds)
PrivateCustomFieldValueService
deleteAllCustomFieldValues in interface PrivateCustomFieldValueServiceentityType - the BindableEntity that all of the BoundEntity must shareentityIds - the ids of those BoundEntities
public void copyCustomFieldValues(BoundEntity source,
BoundEntity recipient)
PrivateCustomFieldValueService
copyCustomFieldValues in interface PrivateCustomFieldValueService
public void copyCustomFieldValuesContent(BoundEntity source,
BoundEntity recipient)
PrivateCustomFieldValueServiceCustomFieldValue.setValue(String) from one to the other.
copyCustomFieldValuesContent in interface PrivateCustomFieldValueService
public void update(Long customFieldValueId,
String newValue)
CustomFieldValueManagerServiceCustomFieldValue using its Id. The service will check that the requestor has the correct credentials.
update in interface CustomFieldValueManagerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||