01-07-2011 03:06 AM
01-07-2011 10:42 AM
01-11-2011 01:22 AM
01-11-2011 03:21 AM
Une autre solution propre serait de ne pas obliger un utilisateur de posséder un espace d'accueil lors de sa création mais je ne sais pas comme activer cette propriété sur Alfresco Labs3
01-19-2011 02:30 AM
public static void main(String[] args) throws Exception {
String endPointAddress = "http://localhost:8080/alfresco/api";
WebServiceFactory.setEndpointAddress(endPointAddress);
AuthenticationUtils.startSession("admin", "admin");
//Test SetOwner
AccessControlServiceSoapBindingStub accessControlService = WebServiceFactory.getAccessControlService();
//ici uuid de l'espace
String uuid = "fad9062c-bd37-4946-b68d-b9f253899656";
Store spacesStore =
new Store(Constants.WORKSPACE_STORE, "SpacesStore");
Reference refEspace =
new Reference(spacesStore,uuid,null);
Predicate espace = new Predicate(new Reference[]{refEspace},spacesStore,null);
accessControlService.setOwners(espace, "admin");
AuthenticationUtils.endSession();
}
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.