org.eaglei.model.gwt.rpc
Interface ModelService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
ModelServlet, TestModelServlet

@RemoteServiceRelativePath(value="model")
public interface ModelService
extends com.google.gwt.user.client.rpc.RemoteService

The client side stub for the RPC service.


Method Summary
 org.eaglei.model.EIClass getClass(org.eaglei.model.EIURI classId)
           
 java.util.List<java.util.Set<java.lang.String>> getClassAnnotations(java.util.List<org.eaglei.model.EIURI> classURIs)
           
 java.util.List<java.lang.String> getClassDefinitions(java.util.List<org.eaglei.model.EIURI> classURIs)
           
 java.util.List<org.eaglei.model.EIClass> getClassesInGroup(java.lang.String groupId)
           
 java.util.List<org.eaglei.model.EIClass> getClassesInGroup(java.lang.String groupId, boolean includeSubclasses)
           
 java.util.List<org.eaglei.model.EIEquivalentClass> getEquivalentClasses(org.eaglei.model.EIURI classId)
           
 java.util.List<java.lang.String> getLabels(org.eaglei.model.EIURI uri)
           
 java.util.List<org.eaglei.model.EIClass> getNonResourceBaseClasses()
          Deprecated. Use getClassesInGroup(EIOntConstants.CG_NON_RESOURCE_ROOT)
 java.util.List<org.eaglei.model.EIProperty> getProperties(org.eaglei.model.EIURI classId)
           
 java.util.List<java.lang.String> getPropertyDefinitions(java.util.List<org.eaglei.model.EIURI> propertyURIs)
           
 java.util.List<org.eaglei.model.EIClass> getSubClasses(org.eaglei.model.EIURI classId)
           
 java.util.List<org.eaglei.model.EIClass> getSuperClasses(org.eaglei.model.EIURI classId)
          Gets the ancestors of the given class up to, and including, a top-level class.
 java.util.List<org.eaglei.model.EIClass> getTopLevelClasses()
          Deprecated. Use getClassesInGroup(EIOntConstants.CG_RESOURCE_ROOT)
 java.lang.String getVersion()
           
 boolean isModelClassURI(org.eaglei.model.EIURI uri)
           
 

Method Detail

getVersion

java.lang.String getVersion()
                            throws LoggedException
Throws:
LoggedException

getClassesInGroup

java.util.List<org.eaglei.model.EIClass> getClassesInGroup(java.lang.String groupId)
                                                           throws LoggedException
Throws:
LoggedException

getClassesInGroup

java.util.List<org.eaglei.model.EIClass> getClassesInGroup(java.lang.String groupId,
                                                           boolean includeSubclasses)
                                                           throws LoggedException
Throws:
LoggedException

getTopLevelClasses

java.util.List<org.eaglei.model.EIClass> getTopLevelClasses()
                                                            throws LoggedException
Deprecated. Use getClassesInGroup(EIOntConstants.CG_RESOURCE_ROOT)

Parameters:
callback -
Throws:
LoggedException

getNonResourceBaseClasses

java.util.List<org.eaglei.model.EIClass> getNonResourceBaseClasses()
                                                                   throws LoggedException
Deprecated. Use getClassesInGroup(EIOntConstants.CG_NON_RESOURCE_ROOT)

Parameters:
callback -
Throws:
LoggedException

getClass

org.eaglei.model.EIClass getClass(org.eaglei.model.EIURI classId)
                                  throws LoggedException
Throws:
LoggedException

getSuperClasses

java.util.List<org.eaglei.model.EIClass> getSuperClasses(org.eaglei.model.EIURI classId)
                                                         throws LoggedException
Gets the ancestors of the given class up to, and including, a top-level class. The first member of the returned list will be the parent of the given class.

Parameters:
classId -
Returns:
Throws:
LoggedException

getSubClasses

java.util.List<org.eaglei.model.EIClass> getSubClasses(org.eaglei.model.EIURI classId)
                                                       throws LoggedException
Throws:
LoggedException

getProperties

java.util.List<org.eaglei.model.EIProperty> getProperties(org.eaglei.model.EIURI classId)
                                                          throws LoggedException
Throws:
LoggedException

getEquivalentClasses

java.util.List<org.eaglei.model.EIEquivalentClass> getEquivalentClasses(org.eaglei.model.EIURI classId)
                                                                        throws LoggedException
Throws:
LoggedException

getClassDefinitions

java.util.List<java.lang.String> getClassDefinitions(java.util.List<org.eaglei.model.EIURI> classURIs)
                                                     throws LoggedException
Throws:
LoggedException

getPropertyDefinitions

java.util.List<java.lang.String> getPropertyDefinitions(java.util.List<org.eaglei.model.EIURI> propertyURIs)
                                                        throws LoggedException
Throws:
LoggedException

getLabels

java.util.List<java.lang.String> getLabels(org.eaglei.model.EIURI uri)
                                           throws LoggedException
Throws:
LoggedException

getClassAnnotations

java.util.List<java.util.Set<java.lang.String>> getClassAnnotations(java.util.List<org.eaglei.model.EIURI> classURIs)
                                                                    throws LoggedException
Throws:
LoggedException

isModelClassURI

boolean isModelClassURI(org.eaglei.model.EIURI uri)


Copyright © 2009-2011 Eagle-I. All Rights Reserved.