org.nuxeo.dam.webapp
Class PictureActions
java.lang.Object
org.nuxeo.dam.webapp.PictureActions
- All Implemented Interfaces:
- Serializable
@Scope(value=CONVERSATION)
@Name(value="pictureActions")
@Install(precedence=10)
public class PictureActions
- extends Object
- implements Serializable
- Author:
- Thomas Roger
- See Also:
- Serialized Form
Method Summary |
void |
downloadPicture(org.nuxeo.ecm.platform.url.api.DocumentView docView)
|
long |
getMaxHeight(org.nuxeo.ecm.core.api.DocumentModel doc)
|
long |
getMaxWidth(org.nuxeo.ecm.core.api.DocumentModel doc)
|
boolean |
isLandscape(org.nuxeo.ecm.core.api.DocumentModel doc)
|
MAX_WIDTH_OR_HEIGHT
public static final long MAX_WIDTH_OR_HEIGHT
- See Also:
- Constant Field Values
PictureActions
public PictureActions()
downloadPicture
public void downloadPicture(org.nuxeo.ecm.platform.url.api.DocumentView docView)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isLandscape
public boolean isLandscape(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getMaxWidth
public long getMaxWidth(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getMaxHeight
public long getMaxHeight(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.