Package org.jallinone.scheduler.activities.java

Examples of org.jallinone.scheduler.activities.java.ScheduledItemVO


  /**
   * Callback method invoked when the user has clicked on the insert button
   * @param valueObject empty value object just created: the user can manage it to fill some attribute values
   */
  public void createValueObject(ValueObject valueObject) throws Exception {
    ScheduledItemVO vo = (ScheduledItemVO)valueObject;
    ScheduledActivityPK pk = (ScheduledActivityPK)grid.getOtherGridParams().get(ApplicationConsts.SCHEDULED_ACTIVITY_PK);
    vo.setCompanyCodeSys01SCH15(pk.getCompanyCodeSys01SCH06());
    vo.setProgressiveSch06SCH15(pk.getProgressiveSCH06());
  }
View Full Code Here


   * @param oldPersistentObjects old value objects, previous the changes
   * @param persistentObjects value objects relatied to the changed rows
   * @return an ErrorResponse value object in case of errors, VOListResponse if the operation is successfully completed
   */
  public Response updateRecords(int[] rowNumbers,ArrayList oldPersistentObjects,ArrayList persistentObjects) throws Exception {
    ScheduledItemVO oldVO = null;
    ScheduledItemVO newVO = null;
    Response res = null;
    for(int i=0;i<oldPersistentObjects.size();i++) {
      oldVO = (ScheduledItemVO)oldPersistentObjects.get(i);
      newVO = (ScheduledItemVO)persistentObjects.get(i);
      if (oldVO.getQtySCH15()==null) {
View Full Code Here

TOP

Related Classes of org.jallinone.scheduler.activities.java.ScheduledItemVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.