public class UploadOperationUtils
extends java.lang.Object
Constructor and Description |
---|
UploadOperationUtils() |
Modifier and Type | Method and Description |
---|---|
static Node |
addAttachment(Node root,
java.lang.String name,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static Node |
createOrGetUploadResource(Session session,
java.lang.String path) |
static java.io.InputStream |
generateAttachmentRenditionImage(java.io.InputStream inputStream,
java.lang.String thumbnailMimeType,
int thumbnailSize) |
static void |
moveImages(ClientUtilities clientUtils,
Comment comment,
ResourceResolver serviceUserResolver) |
static void |
moveImages(ClientUtilities clientUtils,
Comment comment,
ResourceResolver serviceUserResolver,
java.lang.String contextPath) |
static void |
moveImages(Externalizer externalizer,
boolean author,
SocialUtils socialUtils,
Comment comment) |
static void |
moveImages(java.lang.String contextPath,
Externalizer externalizer,
boolean author,
SocialUtils socialUtils,
Comment comment) |
public static Node addAttachment(Node root, java.lang.String name, java.io.InputStream inputStream, java.lang.String mimeType) throws RepositoryException
RepositoryException
public static Node createOrGetUploadResource(Session session, java.lang.String path) throws PathNotFoundException, RepositoryException
public static void moveImages(Externalizer externalizer, boolean author, SocialUtils socialUtils, Comment comment) throws PersistenceException
PersistenceException
public static void moveImages(java.lang.String contextPath, Externalizer externalizer, boolean author, SocialUtils socialUtils, Comment comment) throws PersistenceException
PersistenceException
public static void moveImages(ClientUtilities clientUtils, Comment comment, ResourceResolver serviceUserResolver) throws PersistenceException
PersistenceException
public static void moveImages(ClientUtilities clientUtils, Comment comment, ResourceResolver serviceUserResolver, java.lang.String contextPath) throws PersistenceException
PersistenceException
public static java.io.InputStream generateAttachmentRenditionImage(java.io.InputStream inputStream, java.lang.String thumbnailMimeType, int thumbnailSize)
Copyright © 2010 - 2020 Adobe. All Rights Reserved