Package org.infoglue.cms.entities.management.impl.simple

Examples of org.infoglue.cms.entities.management.impl.simple.FormEntryAssetImpl


     
      QueryResults results = oql.execute(Database.READONLY);

      while (results.hasMore())
      {
        FormEntryAssetImpl fea = (FormEntryAssetImpl)results.next();
        List values = formEntryAssetsMap.get(fea.getFormEntry().getFormEntryId());
        if(values == null)
        {
          values = new ArrayList();
          formEntryAssetsMap.put(fea.getFormEntry().getFormEntryId(), values);
        }
        values.add(fea.getValueObject());
      }
     
      //System.out.println("formEntryAssetsMap:" + formEntryAssetsMap);
      results.close();
      oql.close();
View Full Code Here


        return formEntry;
    }

  public void createAsset(FormEntryAssetVO newAsset, FormEntry formEntry, InputStream is, Integer id, InfoGluePrincipal principal, Database db) throws Exception
  {
      FormEntryAsset formEntryAsset = new FormEntryAssetImpl();
      formEntryAsset.setFormEntry(formEntry);
      formEntry.getFormEntryAssets().add(formEntryAsset);
      formEntryAsset.setValueObject(newAsset);
      formEntryAsset.setAssetBlob(is);

      formEntryAsset = (FormEntryAsset) createEntity(formEntryAsset, db);
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.impl.simple.FormEntryAssetImpl

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.