|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Files
API for manipulating files.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
ResourceSummary |
create(File file)
Create a new CCC file. |
ResourceSummary |
createTextFile(File textFile)
Deprecated. |
PagedCollection<File> |
getPagedImages(java.util.UUID folderId,
int pageNo,
int pageSize)
List all images of the given folder id. |
File |
retrieve(java.util.UUID fileId)
Get the representation of an existing CCC file. |
void |
retrieve(java.util.UUID file,
StreamAction action)
Process the contents of a file with an action. |
void |
retrieveRevision(java.util.UUID file,
int revision,
StreamAction action)
Process the contents of a file revision with an action. |
void |
retrieveWorkingCopy(java.util.UUID file,
StreamAction action)
Process the contents of a file's working copy with an action. |
void |
update(java.util.UUID id,
File file)
Update an existing CCC file. |
ResourceSummary |
updateFile(java.util.UUID fileId,
File file)
Update an existing CCC file. |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
PagedCollection<File> getPagedImages(java.util.UUID folderId, int pageNo, int pageSize)
folderId
- The id of the folder.pageNo
- The page to display.pageSize
- The number of results per page.
void update(java.util.UUID id, File file)
id
- The ID of the file to update.file
- The new file representation.File retrieve(java.util.UUID fileId)
fileId
- The ID of the file to get.
@Deprecated ResourceSummary createTextFile(File textFile)
textFile
- The textFile details.
ResourceSummary create(File file)
file
- The file to create.
ResourceSummary updateFile(java.util.UUID fileId, File file)
fileId
- The id of the file to update.file
- The changes to apply.
void retrieve(java.util.UUID file, StreamAction action)
file
- The file's ID.action
- The action to perform.void retrieveWorkingCopy(java.util.UUID file, StreamAction action)
file
- The file's ID.action
- The action to perform.void retrieveRevision(java.util.UUID file, int revision, StreamAction action)
file
- The file's ID.revision
- The file revision to retrieve.action
- The action to perform.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |