Package io.milton.http.annotated
Class AnnoCalendarHomeResource
java.lang.Object
io.milton.http.annotated.AnnoResource
io.milton.http.annotated.AnnoCollectionResource
io.milton.http.annotated.AnnoCalendarHomeResource
- All Implemented Interfaces:
CommonResource,ConditionalCompatibleResource,AccessControlledResource,CollectionResource,CopyableResource,DeletableCollectionResource,DeletableResource,DigestResource,DisplayNameResource,ExtMakeCalendarResource,GetableResource,LockableResource,LockingCollectionResource,MakeCollectionableResource,MoveableResource,PostableResource,PropFindableResource,PutableResource,ReportableResource,Resource
Just adds schedling inbox and outbox to the collection
- Author:
- brad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.resource.AccessControlledResource
AccessControlledResource.Priviledge -
Field Summary
Fields inherited from class io.milton.http.annotated.AnnoResource
acl, annoFactory, jsonResult, nameOverride, parent, realm, sourceFields inherited from interface io.milton.resource.AccessControlledResource
NONE, READ_BROWSE, READ_CONTENT, READ_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionAnnoCalendarHomeResource(AnnotationResourceFactory outer, Object source, AnnoPrincipalResource parent, CalendarSearchService calendarSearchService) -
Method Summary
Modifier and TypeMethodDescriptiongetChildren(boolean isChildLoopup) protected voidinitChildren(boolean isChildLookup) Called when the children list is first accessed This will create the children ResourceList and populate it with known child resourcesMethods inherited from class io.milton.http.annotated.AnnoCollectionResource
child, createAndLock, createCalendar, createCollection, createNew, find, findChildren, findPath, getChildrenMap, getChildrenOfType, getFiles, getResourceList, getRoot, getSubFolders, isLockedOutRecursiveMethods inherited from class io.milton.http.annotated.AnnoResource
authenticate, authenticate, authorise, checkRedirect, copyTo, delete, getAccessControlList, getAnnoFactory, getAsList, getContentLength, getContentType, getContentType, getCreateDate, getCurrentLock, getDisplayName, getHref, getLink, getMaxAgeSeconds, getModifiedDate, getName, getNameOverride, getParent, getPrincipalCollectionHrefs, getPrincipalURL, getPriviledges, getRealm, getSource, getUniqueId, is, isCompatible, isDigestAllowed, lock, moveTo, processForm, refreshLock, sendContent, setAccessControlList, setDisplayName, setNameOverride, unlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.milton.resource.DeletableResource
deleteMethods inherited from interface io.milton.resource.LockableResource
getCurrentLock, lock, refreshLock, unlockMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Constructor Details
-
AnnoCalendarHomeResource
public AnnoCalendarHomeResource(AnnotationResourceFactory outer, Object source, AnnoPrincipalResource parent, CalendarSearchService calendarSearchService)
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin interfaceCollectionResource- Overrides:
getChildrenin classAnnoCollectionResource- Throws:
NotAuthorizedExceptionBadRequestException
-
getChildren
public List<? extends Resource> getChildren(boolean isChildLoopup) throws NotAuthorizedException, BadRequestException - Overrides:
getChildrenin classAnnoCollectionResource- Throws:
NotAuthorizedExceptionBadRequestException
-
initChildren
protected void initChildren(boolean isChildLookup) throws NotAuthorizedException, BadRequestException Description copied from class:AnnoCollectionResourceCalled when the children list is first accessed This will create the children ResourceList and populate it with known child resources- Overrides:
initChildrenin classAnnoCollectionResource- Parameters:
isChildLookup- - indicates this is being called in the context of a call to load a single child by name- Throws:
NotAuthorizedExceptionBadRequestException
-