| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JcmsResource | |
|---|---|
| com.jalios.rest.client | |
| Uses of JcmsResource in com.jalios.rest.client | 
|---|
| Methods in com.jalios.rest.client that return JcmsResource | |
|---|---|
 JcmsResource | 
JcmsApp.createData(String dataTypeClassShortName,
           org.restlet.data.Form fields)
Create a data of type given by the dataTypeClassShortName and the values set in the form fields.  | 
 JcmsResource | 
JcmsApp.createData(String dataTypeClassShortName,
           org.restlet.data.Form fields,
           Authentication forcedAuthentication)
Create a data of type given by the dataTypeClassShortName and the values set in the form fields.  | 
 JcmsResource | 
JcmsApp.createFileDocument(String filename,
                   File file,
                   org.restlet.data.Form parameters)
Create a FileDocument wrapping the file with the filename and the values set in the form fields.  | 
 JcmsResource | 
JcmsApp.deleteData(org.restlet.data.Reference dataRef)
 | 
 JcmsResource | 
JcmsApp.deleteData(org.restlet.data.Reference dataRef,
           Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.deleteData(String dataId)
 | 
 JcmsResource | 
JcmsApp.deleteData(String dataId,
           Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.disableDataWrite(String msg)
 | 
 JcmsResource | 
JcmsApp.disableDataWrite(String msg,
                 Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.disableMember(String login)
Call to the member resource, given its login, with action disable.  | 
 JcmsResource | 
JcmsApp.downloadFile(String fileLink)
 | 
 JcmsResource | 
JcmsApp.enableDataWrite(String msg)
 | 
 JcmsResource | 
JcmsApp.enableDataWrite(String msg,
                Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.enableMember(String login,
             String password)
Call to the member resource, given its login, with action enable, and with the password given in parameter (in post).  | 
 JcmsResource | 
ClientSession.findResource(org.restlet.data.Reference resourceRef)
 | 
 JcmsResource | 
RestQuery.get()
Executes this rest query as a HTTP query with a GET method.  | 
 JcmsResource | 
JcmsApp.getAdminStatus()
 | 
 JcmsResource | 
JcmsApp.getAdminStatus(Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getAllDataType()
 | 
 JcmsResource | 
JcmsApp.getAllDataType(Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getAllWorkflows()
 | 
 JcmsResource | 
JcmsApp.getAllWorkflows(Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getChildrenData(String dataId)
Send a request to get the set of children of a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getChildrenData(String dataId,
                Authentication forcedAuthentication)
Send a request to get the set of children of a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getChildrenData(String dataId,
                Authentication forcedAuthentication,
                Relateds relateds)
Send a request to get the set of children of a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getChildrenData(String dataId,
                Relateds relateds)
Send a request to get the set of children of a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getData(String dataId)
Send a request to find a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getData(String dataId,
        Authentication forcedAuthentication)
Send a request to find a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getData(String dataId,
        Authentication forcedAuthentication,
        Relateds relateds)
Send a request to find a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getData(String dataId,
        Relateds relateds)
Send a request to find a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getDataList(String[] dataId)
Send a request to find a data with a given JCMS id.  | 
 JcmsResource | 
JcmsApp.getDataType(String typeshortclassname)
 | 
 JcmsResource | 
JcmsApp.getDataType(String typeshortclassname,
            Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getDefaultWorkspaceData()
Gives the default Workspace of JCMS, if it is visible for the loggedMember.  | 
 JcmsResource | 
JcmsApp.getDefaultWorkspaceData(Authentication forcedAuthentication,
                        Relateds relateds)
Gives the default Workspace of JCMS, if it is visible for the loggedMember.  | 
 JcmsResource | 
ClientSession.getJcmsResource(org.restlet.data.Reference resourceRef,
                Authentication forcedAuthentication)
 | 
 JcmsResource | 
ClientSession.getJcmsResource(String resourcePath,
                Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getMember(String login)
 | 
 JcmsResource | 
JcmsApp.getMember(String login,
          Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getMember(String login,
          Authentication forcedAuthentication,
          Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.getMember(String login,
          Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.getMemberList()
 | 
 JcmsResource | 
JcmsApp.getMemberList(Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.getMemberList(Authentication forcedAuthentication,
              Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.getMemberList(Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.getRootCategoryData()
Gives the root of JCMS categories, if it is visible for the loggedMember.  | 
 JcmsResource | 
JcmsApp.getRootCategoryData(Authentication forcedAuthentication,
                    Relateds relateds)
Gives the root of JCMS categories, if it is visible for the loggedMember.  | 
 JcmsResource | 
JcmsApp.getWorkflow(String wfId)
 | 
 JcmsResource | 
JcmsApp.getWorkflow(String wfId,
            Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.importDataFromSource(String importSourceId)
 | 
 JcmsResource | 
JcmsApp.importDataFromSource(String importSourceId,
                     Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.lock(org.restlet.data.Reference fileDocRef)
Call to the FileDocument resource, given the id of the FileDocument, with action lock.  | 
 JcmsResource | 
JcmsApp.lock(String fileDocId)
Call to the FileDocument resource, given the id of the FileDocument, with action lock.  | 
 JcmsResource | 
JcmsApp.search(org.restlet.data.Form fields)
 | 
 JcmsResource | 
JcmsApp.search(org.restlet.data.Form fields,
       Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.search(org.restlet.data.Form fields,
       Authentication forcedAuthentication,
       Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.search(org.restlet.data.Form fields,
       Relateds relateds)
 | 
 JcmsResource | 
JcmsApp.unlock(org.restlet.data.Reference fileDocRef)
Call to the FileDocument resource, given the id of the FileDocument, with action unlock.  | 
 JcmsResource | 
JcmsApp.unlock(String fileDocId)
Call to the FileDocument resource, given the id of the FileDocument, with action unlock.  | 
 JcmsResource | 
JcmsApp.updateData(org.restlet.data.Reference dataRef,
           org.restlet.data.Form fields)
 | 
 JcmsResource | 
JcmsApp.updateData(org.restlet.data.Reference dataRef,
           org.restlet.data.Form fields,
           Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.updateData(String dataId,
           org.restlet.data.Form fields)
 | 
 JcmsResource | 
JcmsApp.updateData(String dataId,
           org.restlet.data.Form fields,
           Authentication forcedAuthentication)
 | 
 JcmsResource | 
JcmsApp.updateFileDocument(org.restlet.data.Reference dataRef,
                   String filename,
                   File file,
                   org.restlet.data.Form parameters)
Update a FileDocument.  | 
 JcmsResource | 
JcmsApp.updateFileDocument(String id,
                   String filename,
                   File file,
                   org.restlet.data.Form parameters)
Update a FileDocument.  | 
| Methods in com.jalios.rest.client with parameters of type JcmsResource | |
|---|---|
static boolean | 
ClientUtil.getBoolean(JcmsResource resource,
           String xpathExpression,
           boolean def)
If the result of the XPath query is a boolean String, it is converted in Boolean.  | 
 org.restlet.data.Reference | 
ClientSession.getCreatedDataRef(JcmsResource response)
When a data is created (while using createData), the URI of the new data is given in the HTTP response header "Location".  | 
static List<DataElement> | 
DataElement.getDataElementList(JcmsResource resource,
                   ClientSession session)
For a resource in dataset form, gives a list of corresponding DataElement object.  | 
static List<DataElement> | 
DataElement.getDataElementList(JcmsResource resource,
                   ClientSession session,
                   String dataSetTag)
For a resource in dataset form, gives a list of corresponding DataElement object.  | 
static Date | 
ClientUtil.getDate(JcmsResource resource,
        String xpathExpression,
        Date def)
If the result of the XPath query is a Date as defined by the W3C Date Time format (eg 1999-01-01T14:07:00+01:00). | 
static DataElement | 
DataElement.getFirstDataElement(JcmsResource resource,
                    ClientSession session)
For a single data in a resource, gives the corresponding DataElement object.  | 
static org.jdom.Element | 
ClientUtil.getFirstElement(JcmsResource resource,
                String xpathExpression)
Utility functions to use XPath expression to introspect xml contained in entity boby of HTTP response  | 
static long | 
ClientUtil.getLong(JcmsResource resource,
        String xpathExpression,
        long def)
If the result of the XPath query is a long representation String, it is converted as an long.  | 
static List<?> | 
ClientUtil.getNodeList(JcmsResource resource,
            String xpathExpression)
Provide XPath feature : returns the list of Nodes in the xml in the entity body of the resource in first argument, with the xPathExpression in second argument.  | 
static Object | 
ClientUtil.getSingleNode(JcmsResource resource,
              String xpathExpression)
Provide XPath feature : returns the first of the Nodes in the xml in the entity body of the resource in first argument, with the xPathExpression in second argument.  | 
static String | 
ClientUtil.getString(JcmsResource resource,
          String xpathExpression)
Return the most pertinent String for the result of the XPath query in the body content of the given resource.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||