org.apache.chemistry.opencmis.commons.spi
Interface BindingsObjectFactory


public interface BindingsObjectFactory

Factory for CMIS binding objects.

Author:
Florian Müller

Method Summary
 Ace createAccessControlEntry(String principal, List<String> permissions)
           
 Acl createAccessControlList(List<Ace> aces)
           
 ContentStream createContentStream(String filename, BigInteger length, String mimetype, InputStream stream)
           
 Properties createPropertiesData(List<PropertyData<?>> properties)
           
 PropertyBoolean createPropertyBooleanData(String id, Boolean value)
           
 PropertyBoolean createPropertyBooleanData(String id, List<Boolean> values)
           
 PropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value)
           
 PropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values)
           
 PropertyDecimal createPropertyDecimalData(String id, BigDecimal value)
           
 PropertyDecimal createPropertyDecimalData(String id, List<BigDecimal> values)
           
 PropertyHtml createPropertyHtmlData(String id, List<String> values)
           
 PropertyHtml createPropertyHtmlData(String id, String value)
           
 PropertyId createPropertyIdData(String id, List<String> values)
           
 PropertyId createPropertyIdData(String id, String value)
           
 PropertyInteger createPropertyIntegerData(String id, BigInteger value)
           
 PropertyInteger createPropertyIntegerData(String id, List<BigInteger> values)
           
 PropertyString createPropertyStringData(String id, List<String> values)
           
 PropertyString createPropertyStringData(String id, String value)
           
 PropertyUri createPropertyUriData(String id, List<String> values)
           
 PropertyUri createPropertyUriData(String id, String value)
           
 

Method Detail

createAccessControlEntry

Ace createAccessControlEntry(String principal,
                             List<String> permissions)

createAccessControlList

Acl createAccessControlList(List<Ace> aces)

createPropertyBooleanData

PropertyBoolean createPropertyBooleanData(String id,
                                          List<Boolean> values)

createPropertyBooleanData

PropertyBoolean createPropertyBooleanData(String id,
                                          Boolean value)

createPropertyIdData

PropertyId createPropertyIdData(String id,
                                List<String> values)

createPropertyIdData

PropertyId createPropertyIdData(String id,
                                String value)

createPropertyIntegerData

PropertyInteger createPropertyIntegerData(String id,
                                          List<BigInteger> values)

createPropertyIntegerData

PropertyInteger createPropertyIntegerData(String id,
                                          BigInteger value)

createPropertyDateTimeData

PropertyDateTime createPropertyDateTimeData(String id,
                                            List<GregorianCalendar> values)

createPropertyDateTimeData

PropertyDateTime createPropertyDateTimeData(String id,
                                            GregorianCalendar value)

createPropertyDecimalData

PropertyDecimal createPropertyDecimalData(String id,
                                          List<BigDecimal> values)

createPropertyDecimalData

PropertyDecimal createPropertyDecimalData(String id,
                                          BigDecimal value)

createPropertyHtmlData

PropertyHtml createPropertyHtmlData(String id,
                                    List<String> values)

createPropertyHtmlData

PropertyHtml createPropertyHtmlData(String id,
                                    String value)

createPropertyStringData

PropertyString createPropertyStringData(String id,
                                        List<String> values)

createPropertyStringData

PropertyString createPropertyStringData(String id,
                                        String value)

createPropertyUriData

PropertyUri createPropertyUriData(String id,
                                  List<String> values)

createPropertyUriData

PropertyUri createPropertyUriData(String id,
                                  String value)

createPropertiesData

Properties createPropertiesData(List<PropertyData<?>> properties)

createContentStream

ContentStream createContentStream(String filename,
                                  BigInteger length,
                                  String mimetype,
                                  InputStream stream)


Copyright © 2009-2010 The Apache Software Foundation. All Rights Reserved.