@Scope(value=CONVERSATION) @Name(value="pictureActions") @Install(precedence=10) public class PictureActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
MAX_WIDTH_OR_HEIGHT |
Constructor and Description |
---|
PictureActions() |
Modifier and Type | Method and Description |
---|---|
void |
downloadPicture(DocumentView docView) |
long |
getMaxHeight(DocumentModel doc) |
long |
getMaxWidth(DocumentModel doc) |
boolean |
isLandscape(DocumentModel doc) |
public static final long MAX_WIDTH_OR_HEIGHT
public void downloadPicture(DocumentView docView) throws ClientException
ClientException
public boolean isLandscape(DocumentModel doc) throws ClientException
ClientException
public long getMaxWidth(DocumentModel doc) throws ClientException
ClientException
public long getMaxHeight(DocumentModel doc) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.