08-13-2013 07:35 AM
pjProperties.put(accident:nbr, nombre);
pjProperties.put(accident:sortieLe, cal);
pjProperties.put(accident:destinataireRappel, destinataireRappel);
alfrescoFacade.addAspectToDocument(alfrescoDocument, pjProperties, AlfrescoFacade.ASPECT_ACCIDENT_RAPPEL);
BigInteger nombre = alfrescoDocument.getPropertyValue(accident:nbr);
String destinataire = alfrescoDocument.getPropertyValue(accident:destinataireRappel);
GregorianCalendar calendar = alfrescoDocument.getPropertyValue(accident:sortieLe);
select d.cmis:objectId from cmis:document as d join accident:rappel as a on d.cmis:objectId = a.cmis:objectId where IN_TREE(a, 'workspace://SpacesStore/b57d9fec-87c0-42e5-ab93-b34f39490bcf') and a.accident:sortieLe = '2012-12-31T23:00:00.000Z'
SEVERE: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Unknown column/property accident:sortieLe
08-13-2013 07:47 AM
08-13-2013 08:15 AM
08-13-2013 08:19 AM
select d.cmis:objectId from cmis:document as d join accident:rappel as a on d.cmis:objectId = a.cmis:objectId where IN_TREE(a, 'workspace://SpacesStore/b57d9fec-87c0-42e5-ab93-b34f39490bcf') and a.accident:nbr = 3
08-14-2013 02:56 AM
08-14-2013 03:29 AM
08-14-2013 04:14 AM
08-14-2013 07:49 AM
<?xml version='1.0' encoding='UTF-8'?>
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType">
<cmis:id>P:accident:rappel</cmis:id>
<cmis:localName>rappel</cmis:localName>
<cmis:localNamespace>accident.model</cmis:localNamespace>
<cmis:displayName>Accident Rappel Document</cmis:displayName>
<cmis:queryName>accident:rappel</cmis:queryName>
<cmis:description>Accident Rappel Document</cmis:description>
<cmis:baseId>cmis:policy</cmis:baseId>
<cmis:parentId>P:cmisext:aspects</cmis:parentId>
<cmis:creatable>false</cmis:creatable>
<cmis:fileable>false</cmis:fileable>
<cmis:queryable>true</cmis:queryable>
<cmis:fulltextIndexed>true</cmis:fulltextIndexed>
<cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery>
<cmis:controllablePolicy>false</cmis:controllablePolicy>
<cmis:controllableACL>false</cmis:controllableACL>
<cmis:propertyStringDefinition>
<cmis:id>accident:destinataireRappel</cmis:id>
<cmis:localName>destinataireRappel</cmis:localName>
<cmis:localNamespace>accident.model</cmis:localNamespace>
<cmis:displayName>accident:destinataireRappel</cmis:displayName>
<cmis:queryName>accident:destinataireRappel</cmis:queryName>
<cmis:description>accident:destinataireRappel</cmis:description>
<cmis:propertyType>string</cmis:propertyType>
<cmis:cardinality>single</cmis:cardinality>
<cmis:updatability>readwrite</cmis:updatability>
<cmis:inherited>false</cmis:inherited>
<cmis:required>false</cmis:required>
<cmis:queryable>true</cmis:queryable>
<cmis:orderable>false</cmis:orderable>
</cmis:propertyStringDefinition>
<cmis:propertyDateTimeDefinition>
<cmis:id>accident:sortieLe</cmis:id>
<cmis:localName>sortieLe</cmis:localName>
<cmis:localNamespace>accident.model</cmis:localNamespace>
<cmis:displayName>accident:sortieLe</cmis:displayName>
<cmis:queryName>accident:sortieLe</cmis:queryName>
<cmis:description>accident:sortieLe</cmis:description>
<cmis:propertyType>datetime</cmis:propertyType>
<cmis:cardinality>single</cmis:cardinality>
<cmis:updatability>readwrite</cmis:updatability>
<cmis:inherited>false</cmis:inherited>
<cmis:required>false</cmis:required>
<cmis:queryable>true</cmis:queryable>
<cmis:orderable>true</cmis:orderable>
</cmis:propertyDateTimeDefinition>
<cmis:propertyIntegerDefinition>
<cmis:id>accident:nbr</cmis:id>
<cmis:localName>nbr</cmis:localName>
<cmis:localNamespace>accident.model</cmis:localNamespace>
<cmis:displayName>accident:nbr</cmis:displayName>
<cmis:queryName>accident:nbr</cmis:queryName>
<cmis:description>accident:nbr</cmis:description>
<cmis:propertyType>integer</cmis:propertyType>
<cmis:cardinality>single</cmis:cardinality>
<cmis:updatability>readwrite</cmis:updatability>
<cmis:inherited>false</cmis:inherited>
<cmis:required>false</cmis:required>
<cmis:queryable>true</cmis:queryable>
<cmis:orderable>true</cmis:orderable>
</cmis:propertyIntegerDefinition>
</cmis:type>
08-14-2013 09:16 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.