getPagedImages
ccc.rest.dto.DtoCollection<ccc.rest.dto.FileDto> getPagedImages(java.util.UUID folderId,
int pageNo,
int pageSize)
throws RestException
- List all images of the given folder id.
-
- Parameters:
folderId
- The id of the folder.
pageNo
- The page to display.
pageSize
- The number of results per page.
- Returns:
- The list of images.
- Throws:
RestException
- If an error occurs updating the file.
update
void update(java.util.UUID id,
ccc.rest.dto.TextFileDelta file)
throws RestException
- Update an existing CCC file.
-
- Parameters:
id
- The ID of the file to update.
file
- The new file representation.
- Throws:
RestException
- If an error occurs updating the file.
get
ccc.rest.dto.TextFileDelta get(java.util.UUID fileId)
throws RestException
- Get the representation of an existing CCC file.
-
- Parameters:
fileId
- The ID of the file to get.
- Returns:
- The file for the specified ID.
- Throws:
RestException
- If an error occurs getting the file.
createTextFile
ccc.rest.dto.ResourceSummary createTextFile(ccc.rest.dto.TextFileDto textFile)
throws RestException
- Create a new text file in CCC.
-
- Parameters:
textFile
- The textFile details.
- Returns:
- A resource summary describing the new text file.
- Throws:
RestException
- If the method fails.