|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Security>
caltool.schedule.Security
public enum Security
Security is one of four possible levels: Public, PublicTitle, Confidential, or Private. The levels specify the degree of visibility a scheduled item has to other users. For an appointment, task, or event, "other users" are defined as all users other than the user on whose calendar the scheduled item appears. For a meeting, "other users" are all users not on the Attendees list of the meeting. Public security means other users can see the scheduled item and all the information about the item. PublicTitle security means other users can see the title of the scheduled item but none of the other information about the item. Confidential security means other users can only see that a user is unavailable for the time period of a scheduled item; no other information about the scheduled item is visible. Since confidential security applies to a specific time period, it is meaningful only for appointments and meetings, not for tasks or events; tasks and events do not have specific time components. Private security means other users see no information at all about a scheduled item, not even that the item is scheduled. Note that private security hides a scheduled item from the ScheduleMeeting operation, q.v., so that a meeting may be scheduled at the same time as a private appointment. It is up to the user to handle this situation by accepting or refusing the scheduled meeting. Given the nature of private security, it does not apply to meetings. I.e., only appointments can have private security.
Enum Constant Summary | |
---|---|
Confidential
Confidential security means other users can only see that a user is unavailable for the time period of a scheduled item; no other information about the scheduled item is visible. |
|
Private
Private security means other users see no information at all about a scheduled item, not even that the item is scheduled. |
|
Public
Public security means other users can see the scheduled item and all the information about the item. |
|
PublicTitle
PublicTitle security means other users can see the title of the scheduled item but none of the other information about the item. |
Method Summary | |
---|---|
static Security |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Security[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Security Public
public static final Security PublicTitle
public static final Security Confidential
public static final Security Private
Method Detail |
---|
public static final Security[] values()
for(Security c : Security.values()) System.out.println(c);
public static Security valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |