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   package com.hack23.cia.web.action.user;
6   
7   import com.hack23.cia.model.application.impl.user.AbstractTopListActionEvent.Operation;
8   
9   /***
10   * The Class PartyAction.
11   */
12  public class PartyAction extends AbstractTopListAction {
13  
14      /*** The Constant serialVersionUID. */
15      private static final long serialVersionUID = 967092220196995079L;
16  
17      /*** The party. */
18      private final String party;
19  
20      /***
21       * Instantiates a new party action.
22       *
23       * @param operation the operation
24       * @param party the party
25       */
26      public PartyAction(final Operation operation, final String party) {
27          super(operation);
28          this.party = party;
29      }
30  
31      /***
32       * Gets the party.
33       *
34       * @return the party
35       */
36      public final String getParty() {
37          return party;
38      }
39  }