|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Server
Server API for file upload.
Method Summary | |
---|---|
void |
createFile(java.util.UUID parentFolder,
java.io.File f,
boolean publish)
Create a file in the new system. |
java.util.UUID |
createFolder(java.util.UUID parentFolder,
java.lang.String name,
boolean publish)
Create a folder in the new system. |
java.util.UUID |
getRoot()
Get the id of the root folder in the new system. |
Method Detail |
---|
void createFile(java.util.UUID parentFolder, java.io.File f, boolean publish)
parentFolder
- The folder where the file will be created.f
- The file to create.publish
- Should the file be published.java.util.UUID createFolder(java.util.UUID parentFolder, java.lang.String name, boolean publish) throws CCException
parentFolder
- The parent folder where the new folder will be
created.name
- The name of the folder.publish
- Should the folder be published.
CCException
- If it wasn't possible to create the
folder.java.util.UUID getRoot() throws CCException
CCException
- If the root folder doesn't exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |