10-09-2007 11:50 AM
10-15-2007 05:14 AM
/** The store used throughout the samples */
protected static final Store STORE = new Store("workspace", "SpacesStore");
protected static final Reference SAMPLE_FOLDER = new Reference(STORE, null, "/app:company_home/app:user_homes");
Node[] theFolder;
try {
AuthenticationUtils.startSession("admin", "admin");
} catch (Throwable e) {
System.out.println("admin authentication failed:"+e.toString()+" "+ e.getMessage());
e.printStackTrace();
}
try{
theFolder=WebServiceFactory.getRepositoryService().get(new Predicate(new Reference[]{SAMPLE_FOLDER}, STORE, null));
}
catch(Exception exception){
System.out.println("Ya un probleme:"+exception.getMessage());
exception.printStackTrace();
}
try{
String uuid=new String(theFolder[0].getReference().getUuid());
System.out.println("folder uuid:"+uuid);
}
….
Le uuid sera dans mon exemple un moyen d'adresser le folder.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.