01: /*
02: * $Id: ISortStateLocator.java 460267 2006-04-16 16:56:26Z ivaynberg $
03: * $Revision: 460267 $
04: * $Date: 2006-04-16 18:56:26 +0200 (Sun, 16 Apr 2006) $
05: *
06: * ====================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package wicket.extensions.markup.html.repeater.data.sort;
20:
21: import java.io.Serializable;
22:
23: /**
24: * Locator interface for ISortState implementations. OrderByLink uses this
25: * interface to locate and version ISortState objects.
26: *
27: * @author Igor Vaynberg (ivaynberg)
28: *
29: */
30: public interface ISortStateLocator extends Serializable {
31: /**
32: * @return ISortState object
33: */
34: ISortState getSortState();
35:
36: /**
37: * Setter for the sort state object
38: *
39: * @param state
40: * new sort state
41: */
42: void setSortState(ISortState state);
43: }
|