// not supported - don't expose it
// addTypeInteral(itemType);
// secondary type
SecondaryTypeDefinitionImpl secondaryType = new SecondaryTypeDefinitionImpl();
secondaryType.setBaseTypeId(BaseTypeId.CMIS_ITEM);
secondaryType.setIsControllableAcl(false);
secondaryType.setIsControllablePolicy(false);
secondaryType.setIsCreatable(true);
secondaryType.setDescription("Secondary");
secondaryType.setDisplayName("Secondary");
secondaryType.setIsFileable(false);
secondaryType.setIsIncludedInSupertypeQuery(true);
secondaryType.setLocalName("Secondary");
secondaryType.setLocalNamespace(NAMESPACE);
secondaryType.setIsQueryable(false);
secondaryType.setQueryName("cmis:secondary");
secondaryType.setId(SECONDARY_TYPE_ID);
secondaryType.setTypeMutability(typeMutability);
addBasePropertyDefinitions(secondaryType);
// not supported - don't expose it
// addTypeInteral(secondaryType);