|
|
|
@ -11,8 +11,9 @@ import info.bukova.isspst.services.buildings.BuildingService;
|
|
|
|
|
import info.bukova.isspst.services.munits.MUnitService;
|
|
|
|
|
import info.bukova.isspst.services.reqsubjects.MaterialService;
|
|
|
|
|
import info.bukova.isspst.services.reqsubjects.ServiceItemService;
|
|
|
|
|
import info.bukova.isspst.services.requirement.RequirementBaseService;
|
|
|
|
|
import info.bukova.isspst.services.requirement.RequirementService;
|
|
|
|
|
import info.bukova.isspst.services.requirement.RequirementTypeService;
|
|
|
|
|
import info.bukova.isspst.services.requirement.TripRequirementService;
|
|
|
|
|
import info.bukova.isspst.services.tripbill.TripBillService;
|
|
|
|
|
import info.bukova.isspst.services.users.RoleService;
|
|
|
|
|
import info.bukova.isspst.services.users.UserService;
|
|
|
|
@ -63,6 +64,7 @@ public class Constants {
|
|
|
|
|
public final static String MOD_SERVICES = "SERVICES";
|
|
|
|
|
public final static String MOD_WORKGROUPS = "WORKGROUPS";
|
|
|
|
|
public final static String MOD_REQUIREMENTS = "REQUIREMENTS";
|
|
|
|
|
public final static String MOD_TRIPREQUIREMENTS = "TRIPREQUIREMENTS";
|
|
|
|
|
public final static String MOD_WORKFLOW = "WORKFLOW";
|
|
|
|
|
public final static String MOD_TRIPBILL = "TRIPBILL";
|
|
|
|
|
public final static Module MODULES[] = {
|
|
|
|
@ -74,7 +76,8 @@ public class Constants {
|
|
|
|
|
new Module(MOD_MATERIAL, "Materiál", MaterialService.class),
|
|
|
|
|
new Module(MOD_SERVICES, "Služby", ServiceItemService.class),
|
|
|
|
|
new Module(MOD_WORKGROUPS, "Pracovní skupiny", WorkgroupService.class),
|
|
|
|
|
new Module(MOD_REQUIREMENTS, "Požadavky", RequirementBaseService.class),
|
|
|
|
|
new Module(MOD_REQUIREMENTS, "Požadavky na nákupy", RequirementService.class),
|
|
|
|
|
new Module(MOD_TRIPREQUIREMENTS, "Pžadavky na služební cesty", TripRequirementService.class),
|
|
|
|
|
new Module(MOD_WORKFLOW, "Procesy schválení", RequirementTypeService.class),
|
|
|
|
|
new Module(MOD_TRIPBILL, "Cestovní příkazy", TripBillService.class)
|
|
|
|
|
};
|
|
|
|
@ -89,6 +92,11 @@ public class Constants {
|
|
|
|
|
new Permission(PERM_SHOW_CENTRE_REQ, "Zobrazení požadavků střediska", MOD_REQUIREMENTS, PermissionType.CENTRE),
|
|
|
|
|
new Permission(PERM_SHOW_ALL_REQ, "Zobrazení všech požadavků", MOD_REQUIREMENTS, PermissionType.GLOBAL),
|
|
|
|
|
new Permission(PERM_APPROVE, "Schválení", MOD_REQUIREMENTS, PermissionType.WORKGROUP),
|
|
|
|
|
|
|
|
|
|
new Permission(PERM_SHOW_WORKGROUP_REQ, "Zobrazení požadavků komise", MOD_TRIPREQUIREMENTS, PermissionType.WORKGROUP),
|
|
|
|
|
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_APPROVE, "Schválení", MOD_TRIPREQUIREMENTS, PermissionType.WORKGROUP),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public final static String DYNAMIC_REPORT_NAME = "Tabulková sestava";
|
|
|
|
|