public class OwCMISRenditionService
extends com.wewebu.service.rendition.impl.OwAbstractRenditionService
CMIS Implementation of Rendition service handling.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwCMISRenditionService() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getRenditionMimeType(com.wewebu.ow.server.ecm.OwObject obj,
String type) |
InputStream |
getRenditionStream(com.wewebu.ow.server.ecm.OwObject obj,
String type) |
boolean |
hasRendition(com.wewebu.ow.server.ecm.OwObject obj,
String type) |
protected Set<String> |
parseFilter(String filter)
Parse filter string based on CMIS specification:
|
public InputStream getRenditionStream(com.wewebu.ow.server.ecm.OwObject obj, String type) throws IOException, com.wewebu.ow.server.exceptions.OwException
getRenditionStream in interface com.wewebu.service.rendition.OwRenditionServicegetRenditionStream in class com.wewebu.service.rendition.impl.OwAbstractRenditionServiceIOExceptioncom.wewebu.ow.server.exceptions.OwExceptionpublic List<String> getRenditionMimeType(com.wewebu.ow.server.ecm.OwObject obj, String type) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwExceptionpublic boolean hasRendition(com.wewebu.ow.server.ecm.OwObject obj,
String type)
hasRendition in interface com.wewebu.service.rendition.OwRenditionServicehasRendition in class com.wewebu.service.rendition.impl.OwAbstractRenditionServiceprotected Set<String> parseFilter(String filter)
The Rendition Filter grammar is defined as follows: <renditionInclusion> ::= <none> | <wildcard> | <termlist> <termlist> ::= <term> | <term> ',' <termlist> <term> ::= <kind> | <mimetype> <kind> ::= <text> <mimetype> ::= <type> '/' <subtype> <type> ::= <text> <subtype> ::= <text> | <wildcard> <text> ::= /* any char except whitespace */ <wildcard> ::= '*' <none> ::= 'cmis:none'
filter - String representing CMIS specific filterCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.