Class ResetRelationTask

java.lang.Object
ch.tocco.nice2.businessunit.api.tasks.ResetRelationTask
All Implemented Interfaces:
OptionalTask<Entity,Void>, PersistTask<Entity,Void>

public class ResetRelationTask extends Object implements OptionalTask<Entity,Void>
Sets the business unit of an entity according to the business unit relation of another entity. For example, a Resource or Folder entity is linked to the business unit that is retrieved by checking the related entity using the target defined in the field `entity_model`.