typeMutability.setCanCreate(false);
typeMutability.setCanUpdate(false);
typeMutability.setCanDelete(false);
// folder type
FolderTypeDefinitionImpl folderType = new FolderTypeDefinitionImpl();
folderType.setBaseTypeId(BaseTypeId.CMIS_FOLDER);
folderType.setIsControllableAcl(false);
folderType.setIsControllablePolicy(false);
folderType.setIsCreatable(true);
folderType.setDescription("Folder");
folderType.setDisplayName("Folder");
folderType.setIsFileable(true);
folderType.setIsFulltextIndexed(false);
folderType.setIsIncludedInSupertypeQuery(true);
folderType.setLocalName("Folder");
folderType.setLocalNamespace(NAMESPACE);
folderType.setIsQueryable(false);
folderType.setQueryName("cmis:folder");
folderType.setId(FOLDER_TYPE_ID);
folderType.setTypeMutability(typeMutability);
addBasePropertyDefinitions(folderType);
addFolderPropertyDefinitions(folderType);
addTypeInteral(folderType);