accessModifier - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.
Created necessry empty rows (without working hour) in table shiftpatternday
for this shift. The client can call this function when a shift with
a non zero number of pattern days is being added. If the pattern already
exists, an exception is thrown. This function is only here to provide the
convenience when a new shift is created. Modification and insertion to the
existing or zero day pattern should be achieved by directly
calling ShiftPatternDaySet's add() and ShiftPatternDay's setValue().