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);
}