Package org.jallinone.subjects.java

Examples of org.jallinone.subjects.java.SubjectVO


    // since this method could be invoked also when selecting another row on the linked grid,
    // the pk attribute must be recalculated from the grid...
    int row = gridFrame.getGrid().getSelectedRow();
    if (row!=-1) {
      GridContactVO gridVO = (GridContactVO)gridFrame.getGrid().getVOListTableModel().getObjectForRow(row);
      subVO = new SubjectVO(
        gridVO.getCompanyCodeSys01REG04(),
        gridVO.getProgressiveREG04(),
        gridVO.getName_1REG04(),
        gridVO.getName_2REG04(),
        gridVO.getSubjectTypeREG04()
View Full Code Here


    }

    Response response = ClientUtils.getData("insertContact",newPersistentObject);
    if (!response.isError()) {
      sub = (Subject)((VOResponse)response).getVo();
      subVO = new SubjectVO(
          sub.getCompanyCodeSys01REG04(),
          sub.getProgressiveREG04(),
          null, // it's not very good...
          null, // it's not very good...
          sub.getSubjectTypeREG04()
View Full Code Here

   * @param persistentObject v.o. related to the selected row
   */
  public void doubleClick(int rowNumber,ValueObject persistentObject) {
    new ContactController(
        gridFrame,
        new SubjectVO(
          ((GridContactVO)persistentObject).getCompanyCodeSys01REG04(),
          ((GridContactVO)persistentObject).getProgressiveREG04(),
          ((GridContactVO)persistentObject).getName_1REG04(),
          ((GridContactVO)persistentObject).getName_2REG04(),
          ((GridContactVO)persistentObject).getSubjectTypeREG04()
View Full Code Here

        throw new Exception(res.getErrorMessage());

      java.util.List rows = ((VOListResponse)res).getRows();
      GridContactVO vo = null;
      Response contactRes = null;
      SubjectVO subVO = null;
      OrganizationVO orgVO = null;

      for(int i=0;i<rows.size();i++) {
        vo = (GridContactVO)rows.get(i);
        if (vo.getProgressiveReg04REG04()!=null) {
          subVO = new SubjectVO(
              vo.getCompanyCodeSys01REG04(),
              vo.getProgressiveReg04REG04(),
              null, // it's not very good...
              null, // it's not very good...
              ApplicationConsts.SUBJECT_ORGANIZATION_CONTACT
View Full Code Here

  public void doubleClick(int rowNumber,ValueObject persistentObject) {
    Subject sub = (Subject)detailFrame.getCurrentForm().getVOModel().getValueObject();

    new ContactController(
        detailFrame.getController().getGridFrame(),
        new SubjectVO(
          ((GridContactVO)persistentObject).getCompanyCodeSys01REG04(),
          ((GridContactVO)persistentObject).getProgressiveREG04(),
          ((GridContactVO)persistentObject).getName_1REG04(),
          ((GridContactVO)persistentObject).getName_2REG04(),
          ((GridContactVO)persistentObject).getSubjectTypeREG04()
View Full Code Here

    return "loadContact";
  }


  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    SubjectVO subVO = (SubjectVO)inputPar;
    try {

      Contact bean = (Contact)JAIOBeanFactory.getInstance().getBean(Contact.class);
      Response answer = bean.loadContact(subVO,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());
View Full Code Here

TOP

Related Classes of org.jallinone.subjects.java.SubjectVO

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.