Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/DATT/src/org/litesoft/datt/client/ui/views/stories/ReprioritizeFactory.java

Diff revisions: vs.
  @@ -6,30 +6,25 @@
6 6 import org.litesoft.datt.client.*;
7 7 import org.litesoft.uispecification.*;
8 8
9 - public class ReprioritizeFactory extends ScreenViewFactory
10 - {
9 + public class ReprioritizeFactory extends ScreenViewFactory {
11 10 private static final String SECTION = ViewDefs.HOME_SECTION_STORIES;
12 11 private static final ViewDef VIEW_DEF = ViewDefs.REPRIORITIZE_STORIES;
13 12
14 - public ReprioritizeFactory()
15 - {
13 + public ReprioritizeFactory() {
16 14 super( VIEW_DEF );
17 15 UriFragmentIdInteger.FACTORY.register();
18 16 }
19 17
20 18 @Override
21 - public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams )
22 - {
19 + public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) {
23 20 return new Reprioritize( SECTION, VIEW_DEF, decodeParams( pParams ) );
24 21 }
25 22
26 - protected static Integer decodeParams( UriFragmentIdParams pParams )
27 - {
23 + protected static Integer decodeParams( UriFragmentIdParams pParams ) {
28 24 return UriFragmentIdInteger.decode( pParams );
29 25 }
30 26
31 - public static UriFragmentIdParams encodeParams( Integer pTopRowOffset )
32 - {
27 + public static UriFragmentIdParams encodeParams( Integer pTopRowOffset ) {
33 28 return UriFragmentIdInteger.encode( pTopRowOffset );
34 29 }
35 30 }