| Package | Description |
|---|---|
| io.milton.http.annotated |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnoAddressBookResource |
class |
AnnoCalendarHomeResource
Just adds schedling inbox and outbox to the collection
|
class |
AnnoCalendarResource |
class |
AnnoPrincipalResource |
class |
AnnoSchedulingInboxResource
Placeholder object to represent a node in an annotations hierarchy acting as a
collection
A source object (ie your POJO) is considered a collection if it can have
children , ie if there exists at least one @ChildOf or @ChildrenOf method
which has that object as its source type.
|
| Modifier and Type | Field and Description |
|---|---|
protected AnnoCollectionResource |
AnnoResource.parent |
protected AnnoCollectionResource |
AnnoResource.parent |
| Modifier and Type | Method and Description |
|---|---|
AnnoCollectionResource |
AnnoResource.getParent() |
AnnoCollectionResource |
AnnoResource.getParent() |
AnnoCollectionResource |
AnnoCollectionResource.getRoot() |
AnnoCollectionResource |
AnnoResource.getRoot() |
AnnoCollectionResource |
AnnoResource.getRoot() |
AnnoCollectionResource |
AnnoCollectionResource.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
List<AnnoCollectionResource> |
UsersAnnotationHandler.findUsersCollections(AnnoCollectionResource root) |
List<AnnoCollectionResource> |
UsersAnnotationHandler.findUsersCollections(AnnoCollectionResource root) |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationResourceFactory.createAndAppend(Collection<AnnoResource> result,
Object sources,
AnnoCollectionResource parent,
ControllerMethod cm)
Process the source object (which may be a Collection of source objects),
and for each one instantiate an AnnoResource and append it to the result
set
|
void |
AnnotationResourceFactory.createAndAppend(Collection<AnnoResource> result,
Object sources,
AnnoCollectionResource parent,
ControllerMethod cm)
Process the source object (which may be a Collection of source objects),
and for each one instantiate an AnnoResource and append it to the result
set
|
LockHolder |
AnnotationResourceFactory.createLockHolder(AnnoCollectionResource parentCollection,
String name,
LockTimeout timeout,
LockInfo lockInfo)
Create an in-memory resource with the given timeout.
|
LockHolder |
AnnotationResourceFactory.createLockHolder(AnnoCollectionResource parentCollection,
String name,
LockTimeout timeout,
LockInfo lockInfo)
Create an in-memory resource with the given timeout.
|
String |
CTagAnnotationHandler.execute(AnnoCollectionResource col) |
String |
CTagAnnotationHandler.execute(AnnoCollectionResource col) |
Set<AnnoResource> |
ChildrenOfAnnotationHandler.execute(AnnoCollectionResource parent,
boolean isChildLookup) |
Set<AnnoResource> |
ChildrenOfAnnotationHandler.execute(AnnoCollectionResource parent,
boolean isChildLookup) |
Object |
ChildOfAnnotationHandler.execute(AnnoCollectionResource parent,
String childName)
Will return one of: - ChildOfAnnotationHandler.NOT_ATTEMPTED if no
appropriate method was found - null, if a method was available but no
resource was found - or, the child object with the given name wrapped in
an AnnoResource
|
Object |
ChildOfAnnotationHandler.execute(AnnoCollectionResource parent,
String childName)
Will return one of: - ChildOfAnnotationHandler.NOT_ATTEMPTED if no
appropriate method was found - null, if a method was available but no
resource was found - or, the child object with the given name wrapped in
an AnnoResource
|
Resource |
AnnotationResourceFactory.findFromRoot(AnnoCollectionResource rootFolder,
Path p) |
Resource |
AnnotationResourceFactory.findFromRoot(AnnoCollectionResource rootFolder,
Path p) |
AnnoPrincipalResource |
UsersAnnotationHandler.findUser(AnnoCollectionResource root,
String name) |
AnnoPrincipalResource |
UsersAnnotationHandler.findUser(AnnoCollectionResource root,
String name) |
List<AnnoCollectionResource> |
UsersAnnotationHandler.findUsersCollections(AnnoCollectionResource root) |
List<AnnoCollectionResource> |
UsersAnnotationHandler.findUsersCollections(AnnoCollectionResource root) |
ControllerMethod |
AbstractAnnotationHandler.getMethodForType(AnnoCollectionResource parent,
String type)
Locate a ControllerMethod which can create an object of the given type
(may be null) in the given parent
|
ControllerMethod |
AbstractAnnotationHandler.getMethodForType(AnnoCollectionResource parent,
String type)
Locate a ControllerMethod which can create an object of the given type
(may be null) in the given parent
|
List<LockHolder> |
AnnotationResourceFactory.getTempResourcesForParent(AnnoCollectionResource parent)
Null-safe method to get the list of lock holders for the given parent.
|
List<LockHolder> |
AnnotationResourceFactory.getTempResourcesForParent(AnnoCollectionResource parent)
Null-safe method to get the list of lock holders for the given parent.
|
CommonResource |
AnnotationResourceFactory.instantiate(LockHolder r,
AnnoCollectionResource parent) |
CommonResource |
AnnotationResourceFactory.instantiate(LockHolder r,
AnnoCollectionResource parent) |
AnnoResource |
AnnotationResourceFactory.instantiate(Object childSource,
AnnoCollectionResource parent,
Method m)
Create a Resource to wrap a source pojo object.
|
AnnoResource |
AnnotationResourceFactory.instantiate(Object childSource,
AnnoCollectionResource parent,
Method m)
Create a Resource to wrap a source pojo object.
|
void |
AnnotationResourceFactory.removeLockHolder(AnnoCollectionResource parent,
String name)
Removes the LockHolder from memory and also from the parent which
contains it (if loaded)
|
void |
AnnotationResourceFactory.removeLockHolder(AnnoCollectionResource parent,
String name)
Removes the LockHolder from memory and also from the parent which
contains it (if loaded)
|
Copyright © 2021 McEvoy Software Ltd. All rights reserved.