| 21 | | /** |
| 22 | | * Method from Gnowsis - StructuredAdapter |
| 23 | | * |
| 24 | | * The data inside the adapter may have a "root" url from which it is possible |
| 25 | | * to reach other urls through the links graph. This is the same function as |
| 26 | | * in GenericAdapter, but this time you must return a set of root urls |
| 27 | | * that point to containers. |
| 28 | | * @return an array of strings |
| 29 | | */ |
| 30 | | public String[] getRootUrls(); |
| 31 | | |
| 32 | | |
| 33 | | /** |
| 34 | | * Method from Gnowsis - StructuredAdapter |
| 35 | | * |
| 36 | | * list the sub-containers of the passed container. |
| 37 | | * This returns a RDF container that represents the containerUri but |
| 38 | | * contains only other containers. |
| 39 | | * @param containerUri the uri of the container |
| 40 | | * @return null if the container cannot be found, otherwise an Container with Containers |
| 41 | | */ |
| 42 | | public Container listSubContainers(String containerUri); |
| 43 | | |
| 44 | | /** |
| 45 | | * Method from Gnowsis - StructuredAdapter |
| 46 | | * |
| 47 | | * list the resources in the passed container. |
| 48 | | * This returns a RDF container that represents the containerUri but |
| 49 | | * contains only the resources/documents/files/emails in the container. |
| 50 | | * You have to describe each container item (which has to have a unique uri in the domain of the adapter) |
| 51 | | * resource using exactly these properties: |
| 52 | | * <ul> |
| 53 | | * <li>rdf:type</li> |
| 54 | | * <li>rdfs:label</li> |
| 55 | | * <li>dcterms:modified - Date on which the resource was changed. |
| 56 | | * SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");</li> |
| 57 | | * </ul> |
| 58 | | * Each resource must have a URI that can be used in a getCBD call. |
| 59 | | * |
| 60 | | * @param containerUri the uri of the container |
| 61 | | * @return null if the container cannot be found, otherwise an Container with Resources |
| 62 | | */ |
| 63 | | public Container listResources(String containerUri); |
| 64 | | |
| 65 | | |
| 66 | | |
| 67 | | |