This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $(function() { | |
| ... | |
| ... | |
| // Retrieve all records for the first time | |
| // Converts table to DataTable as well | |
| $.getRecords('#eventTable', '${rootUrl}event/getall', | |
| ['id', 'name', 'description', 'participants', 'date'], | |
| null); | |
| }); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!-- Versions --> | |
| <properties> | |
| <spring.version>3.1.0.M1</spring.version> | |
| <spring.data.jpa.version>1.1.0.M1</spring.data.jpa.version> | |
| <spring.data.mongo.version>1.0.0.M4</spring.data.mongo.version> | |
| <spring.amqp.version>1.0.0.RELEASE</spring.amqp.version> | |
| <org.cloudfoundry-version>0.8.0</org.cloudfoundry-version> | |
| </properties> | |
| <dependencies> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.domain; | |
| import java.util.Date; | |
| import javax.persistence.Entity; | |
| import javax.persistence.GeneratedValue; | |
| import javax.persistence.Id; | |
| import javax.validation.constraints.NotNull; | |
| import org.springframework.format.annotation.DateTimeFormat; | |
| import org.springframework.format.annotation.DateTimeFormat.ISO; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.repository.jpa; | |
| import org.krams.tutorial.domain.Event; | |
| import org.springframework.data.jpa.repository.JpaRepository; | |
| /** | |
| * A repository for {@link Event} | |
| * | |
| * @author krams at {@link http://[email protected]} | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.service; | |
| import java.util.List; | |
| import org.krams.tutorial.domain.Event; | |
| /** | |
| * Service interface for {@link Event} | |
| * | |
| * @author krams at {@link http://[email protected]} | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.service; | |
| import java.util.List; | |
| import org.krams.tutorial.domain.Event; | |
| import org.krams.tutorial.repository.jpa.IEventRepository; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.stereotype.Service; | |
| import org.springframework.transaction.annotation.Transactional; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.controller; | |
| import java.util.List; | |
| import org.krams.tutorial.domain.Event; | |
| import org.krams.tutorial.dto.ResponseDto; | |
| import org.krams.tutorial.service.IEventService; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.ui.Model; | |
| import org.springframework.web.bind.annotation.RequestMapping; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.aop; | |
| import org.aopalliance.intercept.MethodInvocation; | |
| import org.apache.commons.logging.Log; | |
| import org.apache.log4j.Logger; | |
| import org.springframework.aop.interceptor.CustomizableTraceInterceptor; | |
| import org.springframework.core.annotation.Order; | |
| /** | |
| * Extends {@link CustomizableTraceInterceptor} to provide custom logging levels | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:p="http://www.springframework.org/schema/p" | |
| xmlns:aop="http://www.springframework.org/schema/aop" | |
| xsi:schemaLocation=" | |
| http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans-3.1.xsd | |
| http://www.springframework.org/schema/aop | |
| http://www.springframework.org/schema/aop/spring-aop-3.1.xsd"> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package org.krams.tutorial.aop; | |
| import java.util.Date; | |
| import org.apache.log4j.Logger; | |
| import org.aspectj.lang.ProceedingJoinPoint; | |
| import org.aspectj.lang.annotation.Around; | |
| import org.aspectj.lang.annotation.Aspect; | |
| import org.springframework.amqp.core.AmqpTemplate; | |
| import org.springframework.beans.factory.annotation.Autowired; |