Added a deleteLink method for tasks to tags

pull/14/head
Sam Bosley 12 years ago
parent e33b6663df
commit eb323ce27f

@ -288,6 +288,12 @@ public final class TagService {
}
}
public void deleteLink(String taskUuid, String tagUuid) {
Metadata deleteTemplate = new Metadata();
deleteTemplate.setValue(Metadata.DELETION_DATE, DateUtilities.now());
metadataDao.update(Criterion.and(TagMetadata.TASK_UUID.eq(taskUuid), TagMetadata.TAG_UUID.eq(tagUuid)), deleteTemplate);
}
/**
* Return tags on the given task
*

Loading…
Cancel
Save