07-26-2007 10:35 AM
protected static final Reference SAMPLE_FOLDER = new Reference(STORE, null, "/app:company_home/cm:sample_folder");
07-31-2007 07:23 AM
07-31-2007 11:43 AM
avm://mywebproject/-1;www;avm_webapps;ROOT;articlesQuery query = new Query(Constants.QUERY_LANG_LUCENE, "+PARENT:\"/avm://mywebproject/-1;www;avm_webapps;ROOT;articles\"");08-01-2007 02:51 AM
Reference ref = new Reference(STORE, uuid_folder, null);
QueryResult resultado = WebServiceFactory.getRepositoryService().queryChildren(ref);
if (resultado != null) {
ResultSet resultset = resultado.getResultSet();
if (resultset.getRows() != null) {
for (ResultSetRow row : resultset.getRows()) {
for (NamedValue nm : row.getColumns()) {
System.out.println(nm.getName() + " = " + nm.getValue());
}
}
}
}
08-01-2007 02:15 PM
{http://www.alfresco.org/model/wcmappmodel/1.0}username = admin
{http://www.alfresco.org/model/system/1.0}node-uuid = 105aa31d-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}node-dbid = 475
{http://www.alfresco.org/model/system/1.0}store-protocol = workspace
{http://www.alfresco.org/model/content/1.0}name = 105aa31d-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}store-identifier = SpacesStore
{http://www.alfresco.org/model/wcmappmodel/1.0}role = ContentManager
associationType = {http://www.alfresco.org/model/wcmappmodel/1.0}webuser
associationName = {http://www.alfresco.org/model/wcmappmodel/1.0}webuser
isPrimary = true
nthSibling = 0
{http://www.alfresco.org/model/content/1.0}path = /{http://www.alfresco.org/model/application/1.0}company_home/
{http://www.alfresco.org/model/application/1.0}wcm/
{http://www.alfresco.org/model/content/1.0}myWebProject/
{http://www.alfresco.org/model/wcmappmodel/1.0}webuser
{http://www.alfresco.org/model/content/1.0}description =
{http://www.alfresco.org/model/system/1.0}node-uuid = 10a95f71-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}node-dbid = 476
{http://www.alfresco.org/model/content/1.0}title = article
{http://www.alfresco.org/model/wcmappmodel/1.0}formname = article
{http://www.alfresco.org/model/wcmappmodel/1.0}outputpathpattern = ${name}.xml
{http://www.alfresco.org/model/system/1.0}store-protocol = workspace
{http://www.alfresco.org/model/content/1.0}name = 10a95f71-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}store-identifier = SpacesStore
associationType = {http://www.alfresco.org/model/wcmappmodel/1.0}webform
associationName = {http://www.alfresco.org/model/wcmappmodel/1.0}webform
isPrimary = true
nthSibling = 1
{http://www.alfresco.org/model/content/1.0}path = /{http://www.alfresco.org/model/application/1.0}company_home/
{http://www.alfresco.org/model/application/1.0}wcm/{http://www.alfresco.org/model/content/1.0}
myWebProject/{http://www.alfresco.org/model/wcmappmodel/1.0}webform
{http://www.alfresco.org/model/wcmappmodel/1.0}workflowname = jbpm$wcmwf:submit
{http://www.alfresco.org/model/system/1.0}node-uuid = 10c12d3e-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}node-dbid = 479
{http://www.alfresco.org/model/system/1.0}store-protocol = workspace
{http://www.alfresco.org/model/wcmappmodel/1.0}workflowdefaultproperties = contentUrl=store://2007/7/31/14/22/10c37731-3f93-11dc-9bd4-9980daf60ad1.bin|
mimetype=application/octet-stream|size=701|encoding=UTF-8|locale=en_US_
{http://www.alfresco.org/model/wcmappmodel/1.0}filenamepattern = .*
{http://www.alfresco.org/model/content/1.0}name = 10c12d3e-3f93-11dc-9bd4-9980daf60ad1
{http://www.alfresco.org/model/system/1.0}store-identifier = SpacesStore
associationType = {http://www.alfresco.org/model/wcmappmodel/1.0}webworkflowdefaults
associationName = {http://www.alfresco.org/model/wcmappmodel/1.0}webworkflowdefaults
isPrimary = true
nthSibling = 2
{http://www.alfresco.org/model/content/1.0}path = /{http://www.alfresco.org/model/application/1.0}company_home/
{http://www.alfresco.org/model/application/1.0}wcm/
{http://www.alfresco.org/model/content/1.0}myWebProject/
{http://www.alfresco.org/model/wcmappmodel/1.0}webworkflowdefaults
Result 1: id=105aa31d-3f93-11dc-9bd4-9980daf60ad1; name=105aa31d-3f93-11dc-9bd4-9980daf60ad1; description=null; created=null; url=null
Result 2: id=10a95f71-3f93-11dc-9bd4-9980daf60ad1; name=10a95f71-3f93-11dc-9bd4-9980daf60ad1; description=; created=null; url=null
Result 3: id=10c12d3e-3f93-11dc-9bd4-9980daf60ad1; name=10c12d3e-3f93-11dc-9bd4-9980daf60ad1; description=null; created=null; url=null08-02-2007 02:48 AM
08-02-2007 10:55 AM
Store STORE = new Store("avm", "myWebProject");
Reference reference = new Reference(STORE, null, "/cm:www/cm:avm_webapps/cm:ROOT");
01-23-2009 04:51 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.