DBObjectType objectType = objectLookupItemFactory.getObject().getObjectType();
return getSortingIndexFor(objectType);
}
if (lookupItemFactory instanceof TokenLookupItemFactory) {
TokenLookupItemFactory tokenLookupItemFactory = (TokenLookupItemFactory) lookupItemFactory;
TokenTypeCategory tokenTypeCategory = tokenLookupItemFactory.getTokenTypeCategory();
return getSortingIndexFor(tokenTypeCategory);
}
return 0;
}