Oracle® Calendar Administrator's Guide 10g Release 1 (10.1.2) Part Number B25485-05 |
|
|
View PDF |
This chapter describes the different tasks involved in managing holidays within a calendar server node network.
This chapter contains the following sections:
Holidays are special events that appear in the calendars of all users and event calendars in a node. Holidays can be created one-by-one by any user with the proper administrative rights, through the Oracle Calendar administrator, an Oracle Calendar desktop client, or on the command line using the $ORACLE_HOME/ocal/bin/uniical
utility.
The SYSOP, by default, has holiday management rights. The administrator can also assign holiday administration rights to a regular Calendar user. This can be done either through the Calendar Administrator or the command line.
You can assign holiday administration rights using the Oracle Calendar administrator web GUI, or by using the uniadmrights
utility.
Oracle Calendar Administrator
Use the Oracle Calendar administrator to assign holiday administrative rights to a user.
Sign in as the SYSOP user.
Click the Calendar Management tab.
Click on the Users secondary tab.
Search for the user, or click Go to list all users.
Select the Pencil icon in the Actions column next to the user who's administration rights you want to modify.
Click Administrative Rights from the menu on the left.
Note: The Administrative Rights option will only appear if you are signed in to the Oracle Calendar administrator as the SYSOP, or as a user with the right to manage other users' administrative rights. |
Scroll down to the Node Management section.
Check the Manage Holidays checkbox, the click Apply.
UNIADMRIGHTS Utility
Use the uniadmrights
utility to assign holiday administration rights. For more information about the use and syntax of the uniadmrights
utility, see "Calendar Server Utilities" in Chapter 6 of Oracle Calendar Reference Manual.
For example:
% uniadmrights -u "S=Sitchin/G=Zechariah" -n 165 -node "holiday=true"
You can create holidays using the Oracle Calendar desktop client, the Oracle Calendar administrator, or the uniical
utility.
Oracle Calendar Desktop Client
Use the Oracle Calendar desktop client to create holidays.
Sign in as a user who has been granted holiday administration rights.
Select the holiday management menu item (Tools | Manage Holidays...).
See the Oracle Calendar desktop client online Help for more details.
Oracle Calendar Administrator
Use the Oracle Calendar administrator to create holidays.
Sign in to the Calendar administrator as the SYSOP user or as a user who has been granted holiday administration rights.
Click the Server Administration tab.
Click on the Nodes secondary tab.
Search for the node if it is not already listed.
Click the node's Manage Holiday icon in the Actions column.
A calendar will be displayed in which you can add, modify, or delete holidays.
Click the Create Holiday icon at the top to add new holidays.
Enter the holiday title in the Title text box, and the holiday date in the Start Time drop-down list, then click Apply.
UNIICAL Utility
Use the $ORACLE_HOME/ocal/bin/uniical
utility to import multiple holidays from a file.
Create a file that will be used to import the holidays. The contents of the file must include iCAL VEVENT objects that conform to the following standards for each holiday entry:
BEGIN:VCALENDAR VERSION:2.0 PRODID:Oracle/Calendar BEGIN:VEVENT X-ORACLE-EVENTTYPE:Holiday SUMMARY:<Name of the Holiday> DTSTART;VALUE=DATE:20061231 DTEND;VALUE=DATE:20061231 END:VEVENT END:VCALENDAR
Notes: In order for the event to appear as a holiday in Oracle Calendar, theX-ORACLE-EVENTTYPE attribute must be set to Holiday .
Specify the |
Multiple iCAL VEVENTS can appear in the same file.
Save and exit the file.
Import the file using the following command line utility and options:
% uniical -import -f filename -u holiday -n NodeID
Where filename is the name of the file saved in Step 2, and NodeID is the node to which the holidays will be added.
Note: For more information about the$ORACLE_HOME/ocal/bin/uniical utility, see "UNIICAL" in Chapter 6 of the Oracle Calendar Reference Manual. |
You can modify holidays using the Oracle Calendar desktop client, the Oracle Calendar administrator, or the uniical
utility.
Oracle Calendar Desktop Client
Use the Oracle Calendar desktop client to modify holidays.
Sign in to the Oracle Calendar desktop client as a user who has been granted holiday administration rights.
Select the holiday management menu item (Tools | Manage Holidays...).
See your Oracle Calendar desktop client online Help for more details.
Oracle Calendar Administrator
Use the Oracle Calendar administrator to modify holidays.
Sign in as the SYSOP or as a user who has holiday administration rights.
Select the Server Administration tab.
Click on the Nodes secondary tab.
Search for the node if it is not already listed.
Click the node's Manage Holiday icon in the Actions column.
A calendar will be displayed in which you can add, modify or delete holidays. To modify an existing holiday, find it using the navigation links (Previous or Next) on the top right and then click its link in the calendar.
Once you have found the holiday you wish to modify, click on its title.
Modify the holiday, then click Apply.
UNIICAL Utility
Use the $ORACLE_HOME/ocal/bin/uniical
utility to modify multiple holidays from a file.
Locate the UID
values for the holidays that require modification. To do this, use the uniical
utility with the -export option. For more information about exporting events using uniical
see "UNIICAL", in Chapter 6 of the Oracle Calendar Reference Manual.
Create a new import file with the holidays that require modification. The UID
attribute value must be specified for each holiday within the import file. If a UID
is not specified, a new event will be created.
Include the X-ORACLE-EVENT-TYPE
, SUMMARY
, DTSTART
, and DTEND
attributes with any the necessary modifications. In this example, the SUMMARY
attribute has been modified to "National Holiday" from its previous value:
BEGIN:VCALENDAR VERSION:2.0 PRODID:Oracle/Calendar BEGIN:VEVENT UID = 20060515T185134Z-401-8848-746085f3-Oracle X-ORACLE-EVENTTYPE:Holiday SUMMARY:National Holiday DTSTART;VALUE=DATE:20061231 DTEND;VALUE=DATE:20061231 END:VEVENT END:VCALENDAR
Save and exit the file.
Import the file saved in Step 3 using the following command line utility and options:
% uniical -import -f filename -u holiday -n NodeID
Where filename is the name of the file saved in Step 3, and NodeID is the node on which the holidays will be modified.
Note: For more information about the$ORACLE_HOME/ocal/bin/uniical utility, see "UNIICAL" in Chapter 6 of the Oracle Calendar Reference Manual. |