Search in sources :

Example 6 with CommissioningPaymentData

use of com.autentia.tnt.businessobject.CommissioningPaymentData in project TNTConcept by autentia.

the class CommissioningBean method deleteCollaborator.

// private List<String> commissioningPaymentDeletedName = new ArrayList<String>(0);
public String deleteCollaborator() {
    UIData table = (UIData) FacesUtils.getComponent("commissioning:collaborators");
    CommissioningPaymentData toDelete = (CommissioningPaymentData) table.getRowData();
    commissioning.getCollaboratorsPaymentData().remove(toDelete);
    return NavigationResults.EDIT;
}
Also used : CommissioningPaymentData(com.autentia.tnt.businessobject.CommissioningPaymentData) UIData(javax.faces.component.UIData)

Aggregations

CommissioningPaymentData (com.autentia.tnt.businessobject.CommissioningPaymentData)6 CommissioningChange (com.autentia.tnt.businessobject.CommissioningChange)2 IOException (java.io.IOException)2 ArrayList (java.util.ArrayList)2 Collaborator (com.autentia.tnt.businessobject.Collaborator)1 InputStream (java.io.InputStream)1 HashMap (java.util.HashMap)1 UIData (javax.faces.component.UIData)1