String user = context.getUsername();
if (null == folderId) {
List<StoredObject> checkedOuts = fStoreManager.getObjectStore(repositoryId).getCheckedOutDocuments(
orderBy, context.getUsername(), includeRelationships);
for (StoredObject checkedOut : checkedOuts) {
TypeDefinition td = fStoreManager.getTypeById(repositoryId, checkedOut.getTypeId()).getTypeDefinition();
// DocumentVersion workingCopy = ((VersionedDocument) checkedOut).getPwc();
// if (null == workingCopy)
// throw new CmisConstraintException("document " + checkedOut + " is checked out but has no working copy");
ObjectData od = PropertyCreationHelper.getObjectData(td, checkedOut, filter, user,
includeAllowableActions, includeRelationships, renditionFilter, false, false, extension);