Package org.infoglue.cms.entities.management

Examples of org.infoglue.cms.entities.management.FormEntryAssetVO


                  while(digitalAssetIterator.hasNext())
                  {
                      RemoteAttachment remoteAttachment = (RemoteAttachment)digitalAssetIterator.next();
                    logger.info("digitalAssets in ws:" + remoteAttachment);
                   
                    FormEntryAssetVO newAsset = new FormEntryAssetVO();
              newAsset.setContentType(remoteAttachment.getContentType());
              newAsset.setAssetKey(remoteAttachment.getName());
              newAsset.setFileName(remoteAttachment.getFileName());
              newAsset.setFileSize(new Integer(new Long(remoteAttachment.getBytes().length).intValue()));
              byte[] bytes = remoteAttachment.getBytes();
              InputStream is = new ByteArrayInputStream(bytes);
   
              formEntryController.createAsset(newAsset, newFormEntry, is, newFormEntry.getId(), principal, db2);
                }  
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.FormEntryAssetVO

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.