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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package org.litesoft.prioritizer.client;

import org.litesoft.prioritizer.client.support.*;
import org.litesoft.uispecification.*;

public interface ViewDefs {
    public static final ViewDef HOME = ViewDef.HOME;

    public static final String HOME_SECTION_STORIES = "STORIES";

    public static final ViewDef CREATE_EDIT_STORY = new ViewDef( "CreateEditStory", "CREATE/EDIT" );

    public static final ViewDef REPRIORITIZE_STORIES = new ViewDef( "ReprioritizeStories", "REPRIORITIZE" );

    public static final ViewDef INITIAL_PRIORITIZING_STORIES = new ViewDef( "InitialPrioritizingStories", "INITIAL PRIORITIZING" );

    // Admin...

    public static final String HOME_SECTION_ADMIN = "ADMIN";

    // Button: CHANGE PASSWORD
    public static final ViewDef ADMIN_CHANGE_PASSWORD = new ViewDef( "ChangePassword", "CHANGE PASSWORD" ); // Dialog

    // Button: MY PROFILE
    public static final ViewDef ADMIN_MY_PROFILE = new ViewDef( "MyProfile", "MY PROFILE" );

    // Button: REPORTS
    public static final ViewDef ADMIN_REPORTS = new ViewDef( "Reports", "REPORTS" );

    // Button: USERS
    public static final ViewDef ADMIN_USERS = new ViewDef( "Users", "USERS" );

    // Button: EDIT QUEUE & MANAGE QUEUE(S) & MANAGE QUEUE GROUP(S)
    public static final ViewDef ADMIN_RESTRICTED_RESOURCE_EDITOR = new ViewDef( "RestrictedResourceEditor", "EDIT QUEUE" );
    public static final ViewDef ADMIN_RESTRICTED_RESOURCE_MANAGEMENT = new ViewDef( "RestrictedResourceManagement", "MANAGE QUEUE(S)" );

    public static final ViewDefSecuredSet[] SECURITY_SETS = //
            { //
              new ViewDefSecuredSet( Permissions.sAdminFlag, //
                                     ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_EDITOR, //
                                     // Reports:
                                     // todo: XXX_REPORT_BASIC, XXX_REPORT_DETAILED, //
                                     HOME ), //
              new ViewDefSecuredSet( Permissions.sRestrictedResourceMgrFlag, //
                                     ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT, //
                                     // Reports:
                                     HOME ), //
              new ViewDefSecuredSet( Permissions.sSprAdminFlag, //
                                     ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT,  //
                                     // Reports:
                                     HOME ), //
              new ViewDefSecuredSet( Permissions.sHelpDeskFlag, //
                                     ADMIN_USERS, //
                                     // Reports:
                                     HOME ), //
              new ViewDefSecuredSet( // Any User
                                     CREATE_EDIT_STORY, REPRIORITIZE_STORIES, INITIAL_PRIORITIZING_STORIES, //
                                     ADMIN_CHANGE_PASSWORD, ADMIN_MY_PROFILE, ADMIN_REPORTS, //
                                     HOME ) //
            };
}

Commits for litesoft/trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ViewDefs.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

496 Diff Diff GeorgeS picture GeorgeS Sun 11 Sep, 2011 16:58:00 +0000
480 Diff Diff GeorgeS picture GeorgeS Sun 04 Sep, 2011 02:38:20 +0000

Progress on common User Support...

479 Diff Diff GeorgeS picture GeorgeS Sat 03 Sep, 2011 17:23:17 +0000
398 GeorgeS picture GeorgeS Mon 15 Aug, 2011 19:57:47 +0000