public List < Task > getTasksWithReference ( Reference reference ) { return getResourceFactory ( ) . getApiResource ( "/task/" + reference . getType ( ) . name ( ) . toLowerCase ( ) + "/" + reference . getId ( ) + "/" ) . get ( new GenericType < List < Task > > ( ) { } ) ; }
Gets a list of tasks with a reference to the given object . This will return both active and completed tasks . The reference will not be set on the individual tasks .