View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   
6   package com.hack23.cia.model.application.impl.user;
7   
8   import java.util.Date;
9   
10  import javax.persistence.DiscriminatorValue;
11  import javax.persistence.Entity;
12  
13  import org.hibernate.annotations.Cache;
14  import org.hibernate.annotations.CacheConcurrencyStrategy;
15  
16  import com.hack23.cia.model.application.impl.common.AbstractActionEvent;
17  import com.hack23.cia.model.application.impl.common.UserSession;
18  
19  /***
20   * The Class ApplicationActionEvent.
21   */
22  @Entity
23  @DiscriminatorValue("ApplicationActionEvent")
24  @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
25  public class ApplicationActionEvent extends AbstractActionEvent {
26  
27      /*** The Constant serialVersionUID. */
28      private static final long serialVersionUID = 1L;
29  
30      /***
31       * Instantiates a new application action event.
32       */
33      public ApplicationActionEvent() {
34      }
35  
36      /***
37       * Instantiates a new application action event.
38       *
39       * @param createdDate the created date
40       * @param userSession the user session
41       */
42      public ApplicationActionEvent(final Date createdDate,
43              final UserSession userSession) {
44          super(createdDate, userSession);
45      }
46  
47  }