--  SQL file representing changes to the functionalities model
--  Generated at Wed Jan 17 19:47:15 WET 2007
--  DO NOT EDIT THIS FILE, run the generating script instead

--  Preamble

START TRANSACTION;

-- 
--  Updating existing functionalities
-- 

--  ID: 24 UUID: '333ed836-75a1-42b9-82ca-bd73ddc696bb'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 4 WHERE own.`UUID` = '333ed836-75a1-42b9-82ca-bd73ddc696bb';

--  ID: 48 UUID: 'a219a6ee-798a-43ed-928f-d071c419a6a6'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en30:Editing Curricular Informationpt31:Edição de Informação Curricular' WHERE own.`UUID` = 'a219a6ee-798a-43ed-928f-d071c419a6a6';

--  ID: 84 UUID: '0d2bd673-9a1c-475b-95fc-09a9538cfc19'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 5 WHERE own.`UUID` = '0d2bd673-9a1c-475b-95fc-09a9538cfc19';

--  ID: 109 UUID: '30e296b0-c117-4ba8-adec-dabf1fe98c7f'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 6 WHERE own.`UUID` = '30e296b0-c117-4ba8-adec-dabf1fe98c7f';

--  ID: 132 UUID: 'c6809d14-868d-47dc-974a-b0953ff1170a'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 7 WHERE own.`UUID` = 'c6809d14-868d-47dc-974a-b0953ff1170a';

--  ID: 135 UUID: '4e133362-ab11-432d-8c1d-ab17cf967025'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 8 WHERE own.`UUID` = '4e133362-ab11-432d-8c1d-ab17cf967025';

--  ID: 147 UUID: '100665ef-9ac1-457b-97b5-f17f63410c54'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 9 WHERE own.`UUID` = '100665ef-9ac1-457b-97b5-f17f63410c54';

--  ID: 154 UUID: '3cda1e13-980f-467f-afb9-1238b02e8337'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 10 WHERE own.`UUID` = '3cda1e13-980f-467f-afb9-1238b02e8337';

--  ID: 158 UUID: '97dd4070-1107-4efe-b798-56531be0a995'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 11 WHERE own.`UUID` = '97dd4070-1107-4efe-b798-56531be0a995';

--  ID: 162 UUID: '3dc8b39b-d0b0-4233-8f0e-7388b1f16770'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 12 WHERE own.`UUID` = '3dc8b39b-d0b0-4233-8f0e-7388b1f16770';

--  ID: 165 UUID: 'a4d83e41-689a-4b8b-bfc7-acc0fd530040'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 13 WHERE own.`UUID` = 'a4d83e41-689a-4b8b-bfc7-acc0fd530040';

--  ID: 173 UUID: '1b3a09b7-e04f-47b7-8298-bb5ffeff489d'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 14 WHERE own.`UUID` = '1b3a09b7-e04f-47b7-8298-bb5ffeff489d';

--  ID: 200 UUID: '8dfee1bd-dbf7-45b0-ae2b-d8136998106b'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 15 WHERE own.`UUID` = '8dfee1bd-dbf7-45b0-ae2b-d8136998106b';

--  ID: 225 UUID: '615aa695-c4e3-445c-b63b-7ea40768b4f9'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 21 WHERE own.`UUID` = '615aa695-c4e3-445c-b63b-7ea40768b4f9';

--  ID: 226 UUID: '30316818-7aaf-4b0c-a770-6ac47463fd09'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 22 WHERE own.`UUID` = '30316818-7aaf-4b0c-a770-6ac47463fd09';

--  ID: 227 UUID: 'fcf57231-df5b-4173-8db3-46bf9676ef9f'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 23 WHERE own.`UUID` = 'fcf57231-df5b-4173-8db3-46bf9676ef9f';

--  ID: 228 UUID: 'd63322ea-b9c3-402a-85b1-07577df66635'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 24 WHERE own.`UUID` = 'd63322ea-b9c3-402a-85b1-07577df66635';

--  ID: 229 UUID: '20ae78b6-6c5a-4705-b5f5-e233862178ca'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 25 WHERE own.`UUID` = '20ae78b6-6c5a-4705-b5f5-e233862178ca';

--  ID: 230 UUID: 'e5325cd5-5fd1-4213-af66-42fc9ed00892'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 26 WHERE own.`UUID` = 'e5325cd5-5fd1-4213-af66-42fc9ed00892';

--  ID: 231 UUID: '353e875a-75c6-40c9-92bf-88de23686f08'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 27 WHERE own.`UUID` = '353e875a-75c6-40c9-92bf-88de23686f08';

--  ID: 232 UUID: '35fc54d5-7ae9-4195-ad94-be98894ce012'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 28 WHERE own.`UUID` = '35fc54d5-7ae9-4195-ad94-be98894ce012';

--  ID: 233 UUID: '2fc34f7f-e879-42b7-936a-e9d60db53875'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 29 WHERE own.`UUID` = '2fc34f7f-e879-42b7-936a-e9d60db53875';

--  ID: 234 UUID: 'ebad2636-7c48-402d-944e-95bc587724be'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 30 WHERE own.`UUID` = 'ebad2636-7c48-402d-944e-95bc587724be';

--  ID: 235 UUID: '315334e8-bfd5-4d19-b4c2-4097393d7dda'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 31 WHERE own.`UUID` = '315334e8-bfd5-4d19-b4c2-4097393d7dda';

--  ID: 236 UUID: 'eabed4f4-7a0b-4e77-8edb-e8525857f934'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 33 WHERE own.`UUID` = 'eabed4f4-7a0b-4e77-8edb-e8525857f934';

--  ID: 16193 UUID: '1b6d4c06-fdfb-4426-a4a1-c3a217e89977'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 32 WHERE own.`UUID` = '1b6d4c06-fdfb-4426-a4a1-c3a217e89977';

--  ID: 16196 UUID: '8b992ca5-c112-4963-a2ca-91a5713e3f0a'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en12:Initial Pagept14:Página Inicial' WHERE own.`UUID` = '8b992ca5-c112-4963-a2ca-91a5713e3f0a';

--  ID: 16197 UUID: 'c168fb54-39ed-4e76-8c7d-df4827aefc4d'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en13:Announcementspt8:Anúncios' WHERE own.`UUID` = 'c168fb54-39ed-4e76-8c7d-df4827aefc4d';

--  ID: 16198 UUID: 'a7ae9674-17c9-4166-91f4-a80b38d79a41'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en8:Planningpt11:Planeamento' WHERE own.`UUID` = 'a7ae9674-17c9-4166-91f4-a80b38d79a41';

--  ID: 16199 UUID: '729d1770-b7f0-4bf9-acd0-b07b951b2e2e'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en9:Summariespt8:Sumários' WHERE own.`UUID` = '729d1770-b7f0-4bf9-acd0-b07b951b2e2e';

--  ID: 16200 UUID: '9a31d73a-a1d4-462a-af5c-0fb6ffb15761'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en10:Objectivespt10:Objectivos' WHERE own.`UUID` = '9a31d73a-a1d4-462a-af5c-0fb6ffb15761';

--  ID: 16201 UUID: 'c71ee66b-5246-4259-b135-c6eed8d21e7a'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en7:Programpt8:Programa' WHERE own.`UUID` = 'c71ee66b-5246-4259-b135-c6eed8d21e7a';

--  ID: 16202 UUID: '51b95e9b-f636-4466-ab5b-f455184b9fe3'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en17:Evaluation Methodpt19:Método de Avaliação' WHERE own.`UUID` = '51b95e9b-f636-4466-ab5b-f455184b9fe3';

--  ID: 16203 UUID: '672d9b28-2100-46ba-9586-f9bb09692747'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en12:Bibliographypt12:Bibliografia' WHERE own.`UUID` = '672d9b28-2100-46ba-9586-f9bb09692747';

--  ID: 16204 UUID: '98b12f32-87b6-4c9d-8c18-8bd5c00d303c'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en9:Timesheetpt7:Horário' WHERE own.`UUID` = '98b12f32-87b6-4c9d-8c18-8bd5c00d303c';

--  ID: 16205 UUID: '859fb0f6-ee73-4baa-bf34-80ea3ec8ab5f'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en6:Shiftspt6:Turnos' WHERE own.`UUID` = '859fb0f6-ee73-4baa-bf34-80ea3ec8ab5f';

--  ID: 16206 UUID: 'bf220aff-96eb-4a67-ab1c-848f90b6aaa3'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en10:Evaluationpt9:Avaliação' WHERE own.`UUID` = 'bf220aff-96eb-4a67-ab1c-848f90b6aaa3';

--  ID: 16207 UUID: 'cc6df75a-3be9-45d9-b47b-3b7544565251'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`NAME` = 'en6:Groupspt12:Agrupamentos' WHERE own.`UUID` = 'cc6df75a-3be9-45d9-b47b-3b7544565251';

--  ID: 18844 UUID: 'eed02d28-7445-4263-ade3-523af17545b3'
UPDATE `ACCESSIBLE_ITEM` AS own SET own.`ORDER_IN_MODULE` = 16 WHERE own.`UUID` = 'eed02d28-7445-4263-ade3-523af17545b3';

-- 
--  Inserting new functionalities
-- 

--  ID: 22669 UUID: '390da578-6e41-4cdd-9602-76f246658885'
INSERT INTO `ACCESSIBLE_ITEM` (`UUID`, `OJB_CONCRETE_CLASS`, `KEY_ROOT_DOMAIN_OBJECT`, `KEY_PARENT`, `KEY_MODULE`, `KEY_AVAILABILITY_POLICY`, `NAME`, `TITLE`, `DESCRIPTION`, `PATH`, `PREFIX`, `RELATIVE`, `ENABLED`, `PARAMETERS`, `ORDER_IN_MODULE`, `VISIBLE`, `MAXIMIZED`, `PRINCIPAL`, `KEY_SUPERIOR_SECTION`, `SECTION_ORDER`, `KEY_SITE`, `LAST_MODIFIED_DATE_YEAR_MONTH_DAY`, `KEY_SECTION`, `ITEM_ORDER`, `INFORMATION`) SELECT '390da578-6e41-4cdd-9602-76f246658885', 'net.sourceforge.fenixedu.domain.functionalities.Module', 1, `ID_INTERNAL`, `ID_INTERNAL`, NULL, 'pt21:Gestão de Calendários', NULL, NULL, '', '/', 1, 1, NULL, 3, 1, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL FROM `ACCESSIBLE_ITEM` WHERE `UUID` = '4d6686aa-9e47-4a47-a08a-a37d69f94eb5';

--  ID: 22670 UUID: 'f28d83e7-960a-4738-a413-688ce1dfd735'
INSERT INTO `ACCESSIBLE_ITEM` (`UUID`, `OJB_CONCRETE_CLASS`, `KEY_ROOT_DOMAIN_OBJECT`, `KEY_PARENT`, `KEY_MODULE`, `KEY_AVAILABILITY_POLICY`, `NAME`, `TITLE`, `DESCRIPTION`, `PATH`, `PREFIX`, `RELATIVE`, `ENABLED`, `PARAMETERS`, `ORDER_IN_MODULE`, `VISIBLE`, `MAXIMIZED`, `PRINCIPAL`, `KEY_SUPERIOR_SECTION`, `SECTION_ORDER`, `KEY_SITE`, `LAST_MODIFIED_DATE_YEAR_MONTH_DAY`, `KEY_SECTION`, `ITEM_ORDER`, `INFORMATION`) SELECT 'f28d83e7-960a-4738-a413-688ce1dfd735', 'net.sourceforge.fenixedu.domain.functionalities.ConcreteFunctionality', 1, NULL, `ID_INTERNAL`, NULL, 'pt22:Calendários Académicos', NULL, NULL, '/academicCalendarsManagement.do?method=prepareChooseCalendar', NULL, 1, 1, NULL, 0, 1, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL FROM `ACCESSIBLE_ITEM` WHERE `UUID` = '390da578-6e41-4cdd-9602-76f246658885';

--  ID: 22689 UUID: '497a99ce-2e62-4c8b-a4dd-8b047f529e6d'
INSERT INTO `ACCESSIBLE_ITEM` (`UUID`, `OJB_CONCRETE_CLASS`, `KEY_ROOT_DOMAIN_OBJECT`, `KEY_PARENT`, `KEY_MODULE`, `KEY_AVAILABILITY_POLICY`, `NAME`, `TITLE`, `DESCRIPTION`, `PATH`, `PREFIX`, `RELATIVE`, `ENABLED`, `PARAMETERS`, `ORDER_IN_MODULE`, `VISIBLE`, `MAXIMIZED`, `PRINCIPAL`, `KEY_SUPERIOR_SECTION`, `SECTION_ORDER`, `KEY_SITE`, `LAST_MODIFIED_DATE_YEAR_MONTH_DAY`, `KEY_SECTION`, `ITEM_ORDER`, `INFORMATION`) SELECT '497a99ce-2e62-4c8b-a4dd-8b047f529e6d', 'net.sourceforge.fenixedu.domain.functionalities.ConcreteFunctionality', 1, NULL, `ID_INTERNAL`, NULL, 'pt26:Criar Calendário Académico', NULL, NULL, '/prepareCreateAcademicCalendar.do', NULL, 1, 1, NULL, 1, 0, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL FROM `ACCESSIBLE_ITEM` WHERE `UUID` = '390da578-6e41-4cdd-9602-76f246658885';

COMMIT;
