| java.lang.Object com.sun.portal.wireless.taglibs.cal.socs.CalendarACL
CalendarACL | public class CalendarACL (Code) | | Calendar ACL class encapsulates the ACL for a calendar.
This class obtains the access string as provided in ICalendar object,
parses it into individual ACI's and maintain each ACI per 'who'
in a local table.
|
CALCLIENT_LOGGER | final public static String CALCLIENT_LOGGER(Code) | | |
CAL_ACCESS_CONTROL_ENTRY_PROP | final public static String CAL_ACCESS_CONTROL_ENTRY_PROP(Code) | | |
CAL_ACCESS_NOT_SPECIFIED | final public static String CAL_ACCESS_NOT_SPECIFIED(Code) | | |
CAL_BOTH_COMPS_PROPS | final public static String CAL_BOTH_COMPS_PROPS(Code) | | |
CAL_CANCEL_PERMISSION | final public static String CAL_CANCEL_PERMISSION(Code) | | |
CAL_COMPONENTS | final public static String CAL_COMPONENTS(Code) | | |
CAL_DELETE_PERMISSION | final public static String CAL_DELETE_PERMISSION(Code) | | |
CAL_FREE_BUSY_PERMISSION | final public static String CAL_FREE_BUSY_PERMISSION(Code) | | |
CAL_INVITE_PERMISSION | final public static String CAL_INVITE_PERMISSION(Code) | | |
CAL_PERMISSION_DENY | final public static String CAL_PERMISSION_DENY(Code) | | |
CAL_PERMISSION_GRANT | final public static String CAL_PERMISSION_GRANT(Code) | | |
CAL_PRIMARY_OWNER | final public static String CAL_PRIMARY_OWNER(Code) | | |
CAL_PROPERTIES | final public static String CAL_PROPERTIES(Code) | | |
CAL_READ_PERMISSION | final public static String CAL_READ_PERMISSION(Code) | | |
CAL_REPLY_PERMISSION | final public static String CAL_REPLY_PERMISSION(Code) | | |
CAL_SCHEDULE_PERMISSION | final public static String CAL_SCHEDULE_PERMISSION(Code) | | |
CAL_SELF_ADMIN_PERMISSION | final public static String CAL_SELF_ADMIN_PERMISSION(Code) | | |
CAL_WRITE_PERMISSION | final public static String CAL_WRITE_PERMISSION(Code) | | |
CalendarACL | public CalendarACL()(Code) | | Default Constructor
|
CalendarACL | public CalendarACL(ICalendar ical) throws CalendarException, OperationNotSupportedException(Code) | | |
checkPermission | public boolean checkPermission(String who, String what, String how) throws CalendarException, OperationNotSupportedException(Code) | | |
checkUserPermission | public boolean checkUserPermission(String who, String what, String how)(Code) | | This checks the user permission only. Being used from Edit Calendar view.
Parameters: who - can be uid, uid@domain, domain or all(CAL_ALL_USERS) Parameters: what - can be 'component', 'properties' or 'both' Parameters: how - can be either 'r', 'w', 'f', 's', 'd', 'c', 'z', 'e' or 'i' true if the has grant permission else false => denied |
getACIUsers | public String[] getACIUsers()(Code) | | The method returns the user associated the calendar i.e users who are
given some sort of permission for the operartion of the calendar.
Array of Strings of users who have some permission on calendar |
getAccessString | public String getAccessString(boolean encode)(Code) | | This method assembles the aci's in the CalendarACL into the
accessstring format i.e. who^what^how^grant:who^what^how^grant....
If this string needs to be URL encoded, supply true in the paramter
Parameters: encode - if true then the string will be URLEncoded the accesstring |
removePermission | public void removePermission(String who, String what, String how)(Code) | | Call this method to remove a permission. If a user entry from the ACL
is to be removed then pass null for what and how parameters
Parameters: who - can be uid, uid@domain, domain or all(CAL_ALL_USERS) Parameters: what - can be 'component', 'properties' or 'both' Parameters: how - can be either of 'r', 'w', 'f', 's', 'd', 'c', 'z', 'e' or 'i' |
|
|