Package io.milton.principal
Interface CalDavPrincipal
- All Superinterfaces:
DiscretePrincipal,Principal,PropFindableResource,Resource
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.principal.Principal
Principal.PrincipleId -
Method Summary
Modifier and TypeMethodDescriptionio.milton.http.values.HrefListThis is usually a single href which identifies the collection which contains the users calendars.io.milton.http.values.HrefListReturn identifiers for this user: "Identify the calendar addresses of the associated principal resource." Eg: mailto:xxx@mysite.orgSee http://tools.ietf.org/html/draft-desruisseaux-caldav-sched-08#section-13.2.4 Identifies the calendar user type of the associated principal resource.io.milton.http.values.SupportedCalendarComponentListsSetGet the list of supported combinations of component types, or just return nullMethods inherited from interface io.milton.principal.DiscretePrincipal
getPrincipalURLMethods inherited from interface io.milton.principal.Principal
getIdenitiferMethods inherited from interface io.milton.resource.PropFindableResource
getCreateDateMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Method Details
-
getCalendarHomeSet
io.milton.http.values.HrefList getCalendarHomeSet()This is usually a single href which identifies the collection which contains the users calendars. This might be the user's own href. Name: calendar-home-set Namespace: urn:ietf:params:xml:ns:caldav Purpose: Identifies the URL of any WebDAV collections that contain calendar collections owned by the associated principal resource. Conformance: This property SHOULD be defined on a principal resource. If defined, it MAY be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]). Description: The CALDAV:calendar-home-set property is meant to allow users to easily find the calendar collections owned by the principal. Typically, users will group all the calendar collections that they own under a common collection. This property specifies the URL of collections that are either calendar collections or ordinary collections that have child or descendant calendar collections owned by the principal. Definition: <!ELEMENT calendar-home-set (DAV:href*)> Example: <C:calendar-home-set xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:href>http://cal.example.com/home/bernard/calendars/</D:href> </C:calendar-home-set>- Returns:
-
getCalendarUserAddressSet
io.milton.http.values.HrefList getCalendarUserAddressSet()Return identifiers for this user: "Identify the calendar addresses of the associated principal resource." Eg: mailto:xxx@mysite.org- Returns:
-
getSupportedComponentSets
io.milton.http.values.SupportedCalendarComponentListsSet getSupportedComponentSets()Get the list of supported combinations of component types, or just return null- Returns:
-
getCalendarUserType
String getCalendarUserType()See http://tools.ietf.org/html/draft-desruisseaux-caldav-sched-08#section-13.2.4 Identifies the calendar user type of the associated principal resource. Value: Same values allowed for the iCalendar "CUTYPE" property parameter defined in Section 3.2.3 of [I-D.ietf-calsify-rfc2445bis]. Should be one of: INDIVIDUAL, GROUP, RESOURCE, ROOM, UNKNOWN- Returns:
-