Paul Holmes-Higgin 43e93f3c14 Updated header to LGPL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-01 22:09:17 +00:00

85 lines
2.1 KiB
Java
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
package org.alfresco.cmis;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* CMIS Document Rendition
*
* @author Stas Sokolovsky
*/
public interface CMISRendition
{
/**
* Gets the thumbnail node reference
*/
public NodeRef getNodeRef();
/**
* Get the rendition stream id
* @return
*/
public String getStreamId();
/**
* Get the MIME type of the rendition stream.
* @return
*/
public String getMimeType();
/**
* Get rendition kind.
* @return
*/
public CMISRenditionKind getKind();
/**
* Get the height of image. Typically used for image renditions (expressed as pixels).
* @return
*/
public Integer getHeight();
/**
* Get the width of image. Typically used for image renditions (expressed as pixels).
* @return
*/
public Integer getWidth();
/**
* Get a human readable information about the rendition.
* @return
*/
public String getTitle();
/**
* Get the length of the rendition stream in bytes.
* @return
*/
public Integer getLength();
/**
* Get the rendition document id. If specified, then the rendition can also be accessed
* as a document object in the CMIS services.
* @return
*/
public String getRenditionDocumentId();
}