// String definitionPath = EntityNames.ENTITY_DEFINITIONS_PATH + '/' + type;
// if (!adminSession.itemExists(definitionPath)) {
// Node entityDefinition = JcrUtils.mkdirs(adminSession, definitionPath, EntityTypes.ENTITY_DEFINITION);
// String definitionPath = EntityNames.ENTITY_DEFINITIONS_PATH + '/' + type;
// if (!adminSession.itemExists(definitionPath)) {
// Node entityDefinition = JcrUtils.mkdirs(adminSession, definitionPath, EntityTypes.ENTITY_DEFINITION);