Package io.milton.resource
Interface MakeCollectionableResource
-
- All Superinterfaces:
CollectionResource,Resource
- All Known Subinterfaces:
FolderResource
public interface MakeCollectionableResource extends CollectionResource
Represents a collection (ie a folder or directory which allows sub collections to be created
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionResourcecreateCollection(String newName)-
Methods inherited from interface io.milton.resource.CollectionResource
child, getChildren
-
Methods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
-
-
-
Method Detail
-
createCollection
CollectionResource createCollection(String newName) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.ConflictException, io.milton.http.exceptions.BadRequestException
- Parameters:
newName-- Returns:
- Throws:
io.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.ConflictExceptionio.milton.http.exceptions.BadRequestException
-
-