Nuxeo Enterprise Platform 5.4

org.nuxeo.dam.webapp
Class PictureActions

java.lang.Object
  extended by 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

Field Summary
static long MAX_WIDTH_OR_HEIGHT
           
 
Constructor Summary
PictureActions()
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_WIDTH_OR_HEIGHT

public static final long MAX_WIDTH_OR_HEIGHT
See Also:
Constant Field Values
Constructor Detail

PictureActions

public PictureActions()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.