Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.litesoft.datt.client.ui.views.stories;

import org.litesoft.GWT.client.view.*;
import org.litesoft.bo.views.*;
import org.litesoft.core.*;
import org.litesoft.datt.client.*;
import org.litesoft.uispecification.*;

public class ReprioritizeFactory extends ScreenViewFactory {
    private static final String SECTION = ViewDefs.HOME_SECTION_STORIES;
    private static final ViewDef VIEW_DEF = ViewDefs.REPRIORITIZE_STORIES;

    public ReprioritizeFactory() {
        super( VIEW_DEF );
        UriFragmentIdInteger.FACTORY.register();
    }

    @Override
    public ScreenView createScreen( ClientContext pClientContext, UriFragmentIdParams pParams ) {
        return new Reprioritize( SECTION, VIEW_DEF, decodeParams( pParams ) );
    }

    protected static Integer decodeParams( UriFragmentIdParams pParams ) {
        return UriFragmentIdInteger.decode( pParams );
    }

    public static UriFragmentIdParams encodeParams( Integer pTopRowOffset ) {
        return UriFragmentIdInteger.encode( pTopRowOffset );
    }
}

Commits for litesoft/trunk/Java/DATT/src/org/litesoft/datt/client/ui/views/stories/ReprioritizeFactory.java

Diff revisions: vs.
Revision Author Commited Message
950 Diff Diff GeorgeS picture GeorgeS Thu 19 Jun, 2014 17:57:04 +0000

New Lines

948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

502 Diff Diff markcmarkc Mon 12 Sep, 2011 00:46:45 +0000
501 Diff Diff markcmarkc Sun 11 Sep, 2011 22:50:22 +0000

Added a customer

496 Diff Diff GeorgeS picture GeorgeS Sun 11 Sep, 2011 16:58:00 +0000
430 GeorgeS picture GeorgeS Sat 20 Aug, 2011 19:46:21 +0000