As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public class AlfTypes { public static void main(String[] args) throws RepositoryFault, RemoteException { AuthenticationUtils.startSession("admin", "admin"); DictionaryServiceSoapBindingStub dictService = WebServiceFactory .getDictionaryService(); org.alfresco.webservice.types.ClassDefinition[] cds = dictService .getClasses(null, null); String contentClass = "{http://www.alfresco.org/model/content/1.0}content"; for (int i = 0; i < cds.length; i++) { if (cds[i].getSuperClass() != null) { if (cds[i].getSuperClass().equalsIgnoreCase(contentClass)) { System.out.println("Class Name: " + cds[i].getName()); } } } AuthenticationUtils.endSession(); } }