protected String createDocumentWithAcls(String name, String folderId, String typeId, VersioningState versioningState,
Acl addACEs, Acl removeACEs)
{
ContentStream contentStream = null;
List<String> policies = null;
ExtensionsData extension = null;
Properties props = createDocumentProperties(name, typeId);
String id = fObjSvc.createDocument(fRepositoryId, props, folderId, contentStream, versioningState , policies,
addACEs, removeACEs, extension);