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

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


    return formEntryCountMap;   
  }

    public FormEntryVO create(FormEntryVO redirectVO) throws ConstraintException, SystemException
    {
        FormEntry formEntry = new FormEntryImpl();
        formEntry.setValueObject(redirectVO);
        formEntry = (FormEntry) createEntity(formEntry);
        return formEntry.getValueObject();
    }
View Full Code Here


        return formEntry.getValueObject();
    }

    public FormEntry create(FormEntryVO formEntryVO, List<FormEntryValueVO> formEntryValueVOList, Database db) throws ConstraintException, SystemException, Exception
    {
        FormEntry formEntry = new FormEntryImpl();
        formEntry.setValueObject(formEntryVO);
        formEntry = (FormEntry) createEntity(formEntry, db);
       
        Iterator<FormEntryValueVO> formEntryValueVOListIterator = formEntryValueVOList.iterator();
        while(formEntryValueVOListIterator.hasNext())
        {
          FormEntryValueVO formEntryValueVO = formEntryValueVOListIterator.next();
         
          FormEntryValue formEntryValue = new FormEntryValueImpl();
          formEntryValue.setFormEntry(formEntry);
          formEntry.getFormEntryValues().add(formEntryValue);
          formEntryValue.setValueObject(formEntryValueVO);
          formEntryValue = (FormEntryValue) createEntity(formEntryValue, db);
        }
         
        return formEntry;
View Full Code Here

      {
        logger.info("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for number of FormEntries: " + results.size());
      }
      while (results.hasMore())
      {
        FormEntryImpl fe = (FormEntryImpl)results.nextElement();
        fe.setUserName(newModifier);
        if (logger.isDebugEnabled())
        {
          logger.debug("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for FormEntry with ID: " + fe.getId());
        }
      }

      results.close();
      oql.close();
View Full Code Here

TOP

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

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.