Ejemplo n.º 1
0
 @Override
 protected void removeEntityObject(EntityObject selectedRecord) {
   try {
     ParagraphProperties paragraphProperties = (ParagraphProperties) selectedRecord;
     NliMultiMediaServiceProxy.getInstance().removeEntityObject(paragraphProperties);
   } catch (Exception exp) {
     Util.processException(exp);
   }
 }
  public SelectAccessModuleParentBean() {

    AccessModule accessModule = (AccessModule) JsfUtils.getFromPageFlow("accessModule");
    //        if (JsfUtils.getFromPageFlow("grid_"+AccessModuleRowData.class.getName() + "_fetcher")
    // == null ){
    AccessModuleRowData.AccessModuleDataFetcher fetcher =
        new AccessModuleRowData.AccessModuleDataFetcher(
            JsfUtils.getInstance().getLocale(), accessModule, true);
    //        }
    this.model = Util.makeTableFromRowData(AccessModuleRowData.class, fetcher, 100);
  }
Ejemplo n.º 3
0
  public JSFTable getContactPartyList() {

    if (this.contactPartyList == null) {
      LegalContactRowData.LegalContactDataFetcher fetcher =
          new LegalContactRowData.LegalContactDataFetcher(
              this.legalPerson, JsfUtils.getInstance().getLocale());
      this.contactPartyList = Util.makeTableFromRowData(LegalContactRowData.class, fetcher, 100);
    }

    return contactPartyList;
  }
Ejemplo n.º 4
0
  public JSFTable getContactList() {

    if (this.contactList == null) {
      ProfileContactRowData.ProfileContactDataFetcher fetcher =
          new ProfileContactRowData.ProfileContactDataFetcher(
              this.legalPerson.getProfile(), JsfUtils.getInstance().getLocale());
      this.contactList = Util.makeTableFromRowData(ProfileContactRowData.class, fetcher, 100);
    }

    return contactList;
  }
Ejemplo n.º 5
0
  public JSFTable getAddressList() {

    if (this.addressList == null) {
      ProfileAddressRowData.ProfileAddressDataFetcher fetcher =
          new ProfileAddressRowData.ProfileAddressDataFetcher(
              this.legalPerson.getProfile(), JsfUtils.getInstance().getLocale());
      this.addressList = Util.makeTableFromRowData(ProfileAddressRowData.class, fetcher, 100);
    }

    return addressList;
  }
Ejemplo n.º 6
0
  public JSFTable getDescriptionList() {

    if (this.descriptionList == null) {
      ProfileAttachmentRowData.ProfileAttachmentDataFetcher fetcher =
          new ProfileAttachmentRowData.ProfileAttachmentDataFetcher(
              this.legalPerson.getProfile(), JsfUtils.getInstance().getLocale());
      this.descriptionList =
          Util.makeTableFromRowData(ProfileAttachmentRowData.class, fetcher, 100);
    }

    return descriptionList;
  }
Ejemplo n.º 7
0
  public String doSave() {

    try {

      this.address.setLocation((Location) JsfUtils.getFromPageFlow("selectedLocation"));
      service.saveObjectService(this.address);

    } catch (Exception exp) {

      Util.processException(exp);
      return "";

    } finally {

      reset();
    }

    ////// If Request come from endUser the navigation should be changed....
    if (JsfUtils.getFromPageFlow("endUser") != null) return "endUser_goAddress";

    return Constants.USERINFO_ADDRESS_GOTO_VIEW;
  }