public abstract class BaseRepository extends Object
Constructor and Description |
---|
BaseRepository() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertyBigInteger(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
BigInteger value)
Add a Big Integer property
|
protected void |
addPropertyBoolean(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
boolean value)
Add a Boolean property
|
protected void |
addPropertyDateTime(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
GregorianCalendar value)
Add a DateTime property
|
protected static boolean |
addPropertyDefault(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> propDef)
Adds the default value of property if defined.
|
protected void |
addPropertyId(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
String value)
Add an Id property
|
protected void |
addPropertyIdList(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
List<String> value)
Add an Id list property
|
protected void |
addPropertyInteger(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
long value)
Add an Integer property
|
protected void |
addPropertyString(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
String typeId,
Set<String> filter,
String id,
String value)
Add a String property
|
protected boolean |
checkAddProperty(org.apache.chemistry.opencmis.commons.data.Properties properties,
String typeId,
Set<String> filter,
String id)
Check add property
|
protected static org.apache.chemistry.opencmis.commons.data.PermissionMapping |
createMapping(String key,
String permission)
Create a mapping
|
protected static org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition |
createPermission(String permission,
String description)
Create permission
|
protected static GregorianCalendar |
millisToCalendar(long millis)
Converts milliseconds into a calendar object.
|
protected static org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition createPermission(String permission, String description)
permission
- The permissiondescription
- The descriptionprotected static org.apache.chemistry.opencmis.commons.data.PermissionMapping createMapping(String key, String permission)
key
- The keypermission
- The permissionprotected void addPropertyId(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, String value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyIdList(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, List<String> value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyString(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, String value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyInteger(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, long value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyBigInteger(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, BigInteger value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyBoolean(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, boolean value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected void addPropertyDateTime(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, Set<String> filter, String id, GregorianCalendar value)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idvalue
- The valueprotected boolean checkAddProperty(org.apache.chemistry.opencmis.commons.data.Properties properties, String typeId, Set<String> filter, String id)
props
- The propertiestypeId
- The typeIdfilter
- the Filterid
- The idprotected static boolean addPropertyDefault(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> propDef)
props
- propDef
- protected static GregorianCalendar millisToCalendar(long millis)
millis
- Copyright © 2018 City of Paris. All rights reserved.