Interface CollectionResource

All Superinterfaces:
Resource
All Known Subinterfaces:
AddressBookDirectoryResource, AddressBookResource, CalendarCollection, CalendarResource, DeletableCollectionResource, ExtMakeCalendarResource, FolderResource, LockingCollectionResource, LockNullResource, MakeCalendarResource, MakeCollectionableResource, PutableResource, SyncCollectionResource

public interface CollectionResource extends Resource
A type of Resource which can have children, ie it can act as a directory.

This is only part of the normal behaviour of a directory though, you should have a look at FolderResource for a more complete interface

  • Method Details

    • child

      Resource child(String childName) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
      io.milton.http.exceptions.BadRequestException
    • getChildren

      List<? extends Resource> getChildren() throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
      io.milton.http.exceptions.BadRequestException