Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ViewDefs.java

Diff revisions: vs.
  @@ -1,61 +1,61 @@
1 - package org.litesoft.prioritizer.client;
2 -
3 - import org.litesoft.prioritizer.client.support.*;
4 - import org.litesoft.uispecification.*;
5 -
6 - public interface ViewDefs {
7 - public static final ViewDef HOME = ViewDef.HOME;
8 -
9 - public static final String HOME_SECTION_STORIES = "STORIES";
10 -
11 - public static final ViewDef CREATE_EDIT_STORY = new ViewDef( "CreateEditStory", "CREATE/EDIT" );
12 -
13 - public static final ViewDef REPRIORITIZE_STORIES = new ViewDef( "ReprioritizeStories", "REPRIORITIZE" );
14 -
15 - public static final ViewDef INITIAL_PRIORITIZING_STORIES = new ViewDef( "InitialPrioritizingStories", "INITIAL PRIORITIZING" );
16 -
17 - // Admin...
18 -
19 - public static final String HOME_SECTION_ADMIN = "ADMIN";
20 -
21 - // Button: CHANGE PASSWORD
22 - public static final ViewDef ADMIN_CHANGE_PASSWORD = new ViewDef( "ChangePassword", "CHANGE PASSWORD" ); // Dialog
23 -
24 - // Button: MY PROFILE
25 - public static final ViewDef ADMIN_MY_PROFILE = new ViewDef( "MyProfile", "MY PROFILE" );
26 -
27 - // Button: REPORTS
28 - public static final ViewDef ADMIN_REPORTS = new ViewDef( "Reports", "REPORTS" );
29 -
30 - // Button: USERS
31 - public static final ViewDef ADMIN_USERS = new ViewDef( "Users", "USERS" );
32 -
33 - // Button: EDIT QUEUE & MANAGE QUEUE(S) & MANAGE QUEUE GROUP(S)
34 - public static final ViewDef ADMIN_RESTRICTED_RESOURCE_EDITOR = new ViewDef( "RestrictedResourceEditor", "EDIT QUEUE" );
35 - public static final ViewDef ADMIN_RESTRICTED_RESOURCE_MANAGEMENT = new ViewDef( "RestrictedResourceManagement", "MANAGE QUEUE(S)" );
36 -
37 - public static final ViewDefSecuredSet[] SECURITY_SETS = //
38 - { //
39 - new ViewDefSecuredSet( Permissions.sAdminFlag, //
40 - ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_EDITOR, //
41 - // Reports:
42 - // todo: XXX_REPORT_BASIC, XXX_REPORT_DETAILED, //
43 - HOME ), //
44 - new ViewDefSecuredSet( Permissions.sRestrictedResourceMgrFlag, //
45 - ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT, //
46 - // Reports:
47 - HOME ), //
48 - new ViewDefSecuredSet( Permissions.sSprAdminFlag, //
49 - ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT, //
50 - // Reports:
51 - HOME ), //
52 - new ViewDefSecuredSet( Permissions.sHelpDeskFlag, //
53 - ADMIN_USERS, //
54 - // Reports:
55 - HOME ), //
56 - new ViewDefSecuredSet( // Any User
57 - CREATE_EDIT_STORY, REPRIORITIZE_STORIES, INITIAL_PRIORITIZING_STORIES, //
58 - ADMIN_CHANGE_PASSWORD, ADMIN_MY_PROFILE, ADMIN_REPORTS, //
59 - HOME ) //
60 - };
61 - }
1 + package org.litesoft.prioritizer.client;
2 +
3 + import org.litesoft.prioritizer.client.support.*;
4 + import org.litesoft.uispecification.*;
5 +
6 + public interface ViewDefs {
7 + public static final ViewDef HOME = ViewDef.HOME;
8 +
9 + public static final String HOME_SECTION_STORIES = "STORIES";
10 +
11 + public static final ViewDef CREATE_EDIT_STORY = new ViewDef( "CreateEditStory", "CREATE/EDIT" );
12 +
13 + public static final ViewDef REPRIORITIZE_STORIES = new ViewDef( "ReprioritizeStories", "REPRIORITIZE" );
14 +
15 + public static final ViewDef INITIAL_PRIORITIZING_STORIES = new ViewDef( "InitialPrioritizingStories", "INITIAL PRIORITIZING" );
16 +
17 + // Admin...
18 +
19 + public static final String HOME_SECTION_ADMIN = "ADMIN";
20 +
21 + // Button: CHANGE PASSWORD
22 + public static final ViewDef ADMIN_CHANGE_PASSWORD = new ViewDef( "ChangePassword", "CHANGE PASSWORD" ); // Dialog
23 +
24 + // Button: MY PROFILE
25 + public static final ViewDef ADMIN_MY_PROFILE = new ViewDef( "MyProfile", "MY PROFILE" );
26 +
27 + // Button: REPORTS
28 + public static final ViewDef ADMIN_REPORTS = new ViewDef( "Reports", "REPORTS" );
29 +
30 + // Button: USERS
31 + public static final ViewDef ADMIN_USERS = new ViewDef( "Users", "USERS" );
32 +
33 + // Button: EDIT QUEUE & MANAGE QUEUE(S) & MANAGE QUEUE GROUP(S)
34 + public static final ViewDef ADMIN_RESTRICTED_RESOURCE_EDITOR = new ViewDef( "RestrictedResourceEditor", "EDIT QUEUE" );
35 + public static final ViewDef ADMIN_RESTRICTED_RESOURCE_MANAGEMENT = new ViewDef( "RestrictedResourceManagement", "MANAGE QUEUE(S)" );
36 +
37 + public static final ViewDefSecuredSet[] SECURITY_SETS = //
38 + { //
39 + new ViewDefSecuredSet( Permissions.sAdminFlag, //
40 + ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_EDITOR, //
41 + // Reports:
42 + // todo: XXX_REPORT_BASIC, XXX_REPORT_DETAILED, //
43 + HOME ), //
44 + new ViewDefSecuredSet( Permissions.sRestrictedResourceMgrFlag, //
45 + ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT, //
46 + // Reports:
47 + HOME ), //
48 + new ViewDefSecuredSet( Permissions.sSprAdminFlag, //
49 + ADMIN_USERS, ADMIN_RESTRICTED_RESOURCE_MANAGEMENT, //
50 + // Reports:
51 + HOME ), //
52 + new ViewDefSecuredSet( Permissions.sHelpDeskFlag, //
53 + ADMIN_USERS, //
54 + // Reports:
55 + HOME ), //
56 + new ViewDefSecuredSet( // Any User
57 + CREATE_EDIT_STORY, REPRIORITIZE_STORIES, INITIAL_PRIORITIZING_STORIES, //
58 + ADMIN_CHANGE_PASSWORD, ADMIN_MY_PROFILE, ADMIN_REPORTS, //
59 + HOME ) //
60 + };
61 + }