|
|
@ -14,6 +14,7 @@ import info.bukova.isspst.data.TripBill;
|
|
|
|
import info.bukova.isspst.data.TripRequirement;
|
|
|
|
import info.bukova.isspst.data.TripRequirement;
|
|
|
|
import info.bukova.isspst.reporting.Report;
|
|
|
|
import info.bukova.isspst.reporting.Report;
|
|
|
|
import info.bukova.isspst.reporting.ReportMapping;
|
|
|
|
import info.bukova.isspst.reporting.ReportMapping;
|
|
|
|
|
|
|
|
import info.bukova.isspst.services.FullTextService;
|
|
|
|
import info.bukova.isspst.services.addressbook.AdbService;
|
|
|
|
import info.bukova.isspst.services.addressbook.AdbService;
|
|
|
|
import info.bukova.isspst.services.buildings.BuildingService;
|
|
|
|
import info.bukova.isspst.services.buildings.BuildingService;
|
|
|
|
import info.bukova.isspst.services.invoicing.InvoicingService;
|
|
|
|
import info.bukova.isspst.services.invoicing.InvoicingService;
|
|
|
@ -81,6 +82,7 @@ public class Constants {
|
|
|
|
public final static String MOD_APPROVED = "APPROVED";
|
|
|
|
public final static String MOD_APPROVED = "APPROVED";
|
|
|
|
public final static String MOD_ORDER = "ORDER";
|
|
|
|
public final static String MOD_ORDER = "ORDER";
|
|
|
|
public final static String MOD_INVOICING = "INVOICING";
|
|
|
|
public final static String MOD_INVOICING = "INVOICING";
|
|
|
|
|
|
|
|
public final static String MOD_SEARCH = "SEARCH";
|
|
|
|
public final static Module MODULES[] = {
|
|
|
|
public final static Module MODULES[] = {
|
|
|
|
new Module(MOD_USERS, "Uživatelé", UserService.class),
|
|
|
|
new Module(MOD_USERS, "Uživatelé", UserService.class),
|
|
|
|
new Module(MOD_PERMISSIONS, "Práva", RoleService.class),
|
|
|
|
new Module(MOD_PERMISSIONS, "Práva", RoleService.class),
|
|
|
@ -96,7 +98,9 @@ public class Constants {
|
|
|
|
new Module(MOD_TRIPBILL, "Cestovní příkazy", TripBillService.class),
|
|
|
|
new Module(MOD_TRIPBILL, "Cestovní příkazy", TripBillService.class),
|
|
|
|
new Module(MOD_APPROVED, "Schválené položky požadavků", ApprovedService.class),
|
|
|
|
new Module(MOD_APPROVED, "Schválené položky požadavků", ApprovedService.class),
|
|
|
|
new Module(MOD_ORDER, "Objednávky", OrderService.class),
|
|
|
|
new Module(MOD_ORDER, "Objednávky", OrderService.class),
|
|
|
|
new Module(MOD_INVOICING, "Fakturace požadavků", InvoicingService.class) };
|
|
|
|
new Module(MOD_INVOICING, "Fakturace požadavků", InvoicingService.class),
|
|
|
|
|
|
|
|
new Module(MOD_SEARCH, "Fulltextové vyhledávání", FullTextService.class, true, false),
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
public final static String PERM_APPROVE = "PERM_APPROVE";
|
|
|
|
public final static String PERM_APPROVE = "PERM_APPROVE";
|
|
|
|
public final static String PERM_SHOW_WORKGROUP_REQ = "PERM_SHOW_WORKGROUP_REQ";
|
|
|
|
public final static String PERM_SHOW_WORKGROUP_REQ = "PERM_SHOW_WORKGROUP_REQ";
|
|
|
@ -104,6 +108,7 @@ public class Constants {
|
|
|
|
public final static String PERM_SHOW_ALL_REQ = "PERM_SHOW_ALL_REQ";
|
|
|
|
public final static String PERM_SHOW_ALL_REQ = "PERM_SHOW_ALL_REQ";
|
|
|
|
public final static String PERM_EDIT_NEW = "PERM_EDIT_NEW";
|
|
|
|
public final static String PERM_EDIT_NEW = "PERM_EDIT_NEW";
|
|
|
|
public final static String PERM_EDIT_OWN = "PERM_EDIT_OWN";
|
|
|
|
public final static String PERM_EDIT_OWN = "PERM_EDIT_OWN";
|
|
|
|
|
|
|
|
public final static String PERM_SEARCH = "PERM_SEARCH";
|
|
|
|
|
|
|
|
|
|
|
|
public final static Permission SPECIAL_PERMISSIONS[] = {
|
|
|
|
public final static Permission SPECIAL_PERMISSIONS[] = {
|
|
|
|
new Permission(PERM_EDIT_NEW, "Upravit neschválené", MOD_REQUIREMENTS, PermissionType.GLOBAL),
|
|
|
|
new Permission(PERM_EDIT_NEW, "Upravit neschválené", MOD_REQUIREMENTS, PermissionType.GLOBAL),
|
|
|
@ -117,6 +122,8 @@ public class Constants {
|
|
|
|
new Permission(PERM_SHOW_CENTRE_REQ, "Zobrazení požadavků střediska", MOD_TRIPREQUIREMENTS, PermissionType.CENTRE),
|
|
|
|
new Permission(PERM_SHOW_CENTRE_REQ, "Zobrazení požadavků střediska", MOD_TRIPREQUIREMENTS, PermissionType.CENTRE),
|
|
|
|
new Permission(PERM_SHOW_ALL_REQ, "Zobrazení všech požadavků", MOD_TRIPREQUIREMENTS, PermissionType.GLOBAL),
|
|
|
|
new Permission(PERM_SHOW_ALL_REQ, "Zobrazení všech požadavků", MOD_TRIPREQUIREMENTS, PermissionType.GLOBAL),
|
|
|
|
new Permission(PERM_APPROVE, "Schválení", MOD_TRIPREQUIREMENTS, PermissionType.WORKGROUP),
|
|
|
|
new Permission(PERM_APPROVE, "Schválení", MOD_TRIPREQUIREMENTS, PermissionType.WORKGROUP),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
new Permission(PERM_SEARCH, "Vyhledávat", MOD_SEARCH, PermissionType.GLOBAL),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
public final static String DYNAMIC_REPORT_NAME = "Tabulková sestava";
|
|
|
|
public final static String DYNAMIC_REPORT_NAME = "Tabulková sestava";
|
|
|
|