public class FolderService extends Object
Constructor and Description |
---|
FolderService() |
Modifier and Type | Method and Description |
---|---|
Folder |
create(Folder fld) |
Folder |
createSimple(String fldPath) |
void |
delete(String fldId) |
FolderList |
getChildren(String fldId) |
String |
getPath(String uuid) |
Folder |
getProperties(String fldId) |
boolean |
isValid(String fldId) |
void |
move(String fldId,
String dstId) |
Folder |
rename(String fldId,
String newName) |
@Path(value="/create") public Folder create(Folder fld) throws GenericException
GenericException
@Path(value="/createSimple") public Folder createSimple(String fldPath) throws GenericException
GenericException
@Path(value="/getProperties") public Folder getProperties(String fldId) throws GenericException
GenericException
@Path(value="/delete") public void delete(String fldId) throws GenericException
GenericException
@Path(value="/rename") public Folder rename(String fldId, String newName) throws GenericException
GenericException
@Path(value="/move") public void move(String fldId, String dstId) throws GenericException
GenericException
@Path(value="/getChildren") public FolderList getChildren(String fldId) throws GenericException
GenericException
@Path(value="/isValid") public boolean isValid(String fldId) throws GenericException
GenericException
@Path(value="/getPath/{uuid}") public String getPath(String uuid) throws GenericException
GenericException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.