Package com.warrantchange.model

Examples of com.warrantchange.model.WarrantUserEmailLog


  }

 
  private static void logEmailMessageSent(String subject, String body)
      throws SystemException {
    WarrantUserEmailLog createWarrantUserEmailLog =
        WarrantUserEmailLogLocalServiceUtil.createWarrantUserEmailLog(CounterLocalServiceUtil.increment());
   
    if(createWarrantUserEmailLog != null){
      createWarrantUserEmailLog.setSubject(subject);
      createWarrantUserEmailLog.setBodyContent(body);
      createWarrantUserEmailLog.setCreateDate(new Date());
    }
   
    WarrantUserEmailLogLocalServiceUtil.updateWarrantUserEmailLog(createWarrantUserEmailLog);
  }
View Full Code Here


   * @throws PortalException if a WarrantUserEmailLog with the primary key could not be found
   * @throws SystemException if a system exception occurred
   */
  public void deleteWarrantUserEmailLog(long id)
    throws PortalException, SystemException {
    WarrantUserEmailLog warrantUserEmailLog = warrantUserEmailLogPersistence.remove(id);

    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());

    if (indexer != null) {
      try {
View Full Code Here

TOP

Related Classes of com.warrantchange.model.WarrantUserEmailLog

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.