|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.modules.cmis.service.BaseRepository
public abstract class BaseRepository
Base Repository - Utils for repositories
| Constructor Summary | |
|---|---|
BaseRepository()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseRepository()
| Method Detail |
|---|
protected static org.apache.chemistry.opencmis.commons.definitions.PermissionDefinition createPermission(String permission,
String description)
permission - The permissiondescription - The description
protected static org.apache.chemistry.opencmis.commons.data.PermissionMapping createMapping(String key,
String permission)
key - The keypermission - The permission
protected 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 value
protected 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 value
protected 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 value
protected 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 value
protected 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 value
protected 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 value
protected 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 value
protected 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 id
protected 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||