예제 #1
0
 @Override
 public void removeTag(
     final UUID objectId,
     final ObjectType objectType,
     final UUID tagDefinitionId,
     final CallContext context)
     throws TagApiException {
   tagDao.deleteTag(
       objectId,
       objectType,
       tagDefinitionId,
       internalCallContextFactory.createInternalCallContext(objectId, objectType, context));
 }
예제 #2
0
 @Override
 public void removeTags(
     final UUID objectId,
     final ObjectType objectType,
     final Collection<UUID> tagDefinitionIds,
     final CallContext context)
     throws TagApiException {
   // TODO: consider making this batch
   for (final UUID tagDefinitionId : tagDefinitionIds) {
     tagDao.deleteTag(
         objectId,
         objectType,
         tagDefinitionId,
         internalCallContextFactory.createInternalCallContext(objectId, objectType, context));
   }
 }