use of mom.trd.opentheso.dragdrop.TreeChange in project opentheso by miledrousset.
the class NewTreeBean method fromTTToGroupOtherDomain.
/* public void fromSubGroupToConceptOtherDomain(){
System.out.println(" from sub group to concept other domain");
}
public void fromSubGroupToConceptDomain(){
System.out.println(" from sub group to concept domain");
}*/
/**
* ******************déplacement d'un top term************************* **
*/
public void fromTTToGroupOtherDomain() {
TreeChange tc = new TreeChange();
tc.moveTopTermToOtherDomaine(connect, draggedNode.getIdConcept(), draggedNode.getIdCurrentGroup(), droppedNode.getIdCurrentGroup(), idThesoSelected, this.selectedTerme.getUser().getUser().getId());
// System.out.println("from top term to group other domain");
}
use of mom.trd.opentheso.dragdrop.TreeChange in project opentheso by miledrousset.
the class NewTreeBean method fromConceptToSubGroupDomain.
/**
* fromConceptToSubGroupDomain
*
* déplace un concept dnas un sous groupe
*/
public void fromConceptToSubGroupDomain() {
for (String idBT : idsBTRemoveNode) {
TreeChange tc = new TreeChange();
tc.momveConceptToGroupSameDomain(connect, draggedNode.getIdConcept(), idBT, draggedNode.getIdCurrentGroup(), droppedNode.getIdConcept(), idThesoSelected, this.selectedTerme.getUser().getUser().getId());
}
// System.out.println(" from concept to sub group domain");
}
use of mom.trd.opentheso.dragdrop.TreeChange in project opentheso by miledrousset.
the class NewTreeBean method fromSubGoupToSubGroupOtherDomain.
/**
* fromSubGroupToSubGroupOtherDomain() déplace un sous groupe vers un autre
* sous groupe d'un autre domaine
*/
public void fromSubGoupToSubGroupOtherDomain() {
for (String idBT : idsBTRemoveNode) {
TreeChange tc = new TreeChange();
tc.moveSubGroupToSubGroupDomain(connect, draggedNode.getIdConcept(), idBT, draggedNode.getIdCurrentGroup(), draggedNode.getType(), droppedNode.getIdConcept(), idThesoSelected, this.selectedTerme.getUser().getUser().getId());
}
// System.out.println("from sub grou to subgroup other domain");
}
use of mom.trd.opentheso.dragdrop.TreeChange in project opentheso by miledrousset.
the class NewTreeBean method fromConceptToTTDomain.
/**
* fromConceptToTTDomain déplace un concept vers un toipo terme du même
* domaine
*/
public void fromConceptToTTDomain() {
for (String idBT : idsBTRemoveNode) {
TreeChange tc = new TreeChange();
tc.moveConceptTermToConceptTermSameDomain(connect, draggedNode.getIdConcept(), idBT, droppedNode.getIdConcept(), idThesoSelected, this.selectedTerme.getUser().getUser().getId());
}
// System.out.println(" from concept m to top term domain");
}
use of mom.trd.opentheso.dragdrop.TreeChange in project opentheso by miledrousset.
the class NewTreeBean method fromTTToTTOtherDomain.
/**
* fromTTTOTTTOtherDomain déplace un top terme vers un top terme d'un autre
* domaine
*/
public void fromTTToTTOtherDomain() {
for (String idBT : idsBTRemoveNode) {
TreeChange tc = new TreeChange();
tc.moveTopTermToConceptOtherDomaine(connect, draggedNode.getIdConcept(), draggedNode.getIdCurrentGroup(), idBT, droppedNode.getIdConcept(), droppedNode.getIdCurrentGroup(), idThesoSelected, this.selectedTerme.getUser().getUser().getId());
}
// System.out.println("from to top term to top term other domain");
}
Aggregations