Interface IEntityAccess

All Superinterfaces:
IPluginHost, IService
All Known Implementing Classes:
DefaultEntityAccess, GWEntityAccess, ShellEntityAccess

public interface IEntityAccess extends IService
  • Method Details

    • getDefaultTypeUses

      ITypeUsesMap getDefaultTypeUses()
      Get a set of type names that are automatically imported
      Returns:
      Set of type names that are automatically imported
    • isDomainInstance

      boolean isDomainInstance(Object value)
    • isEntityClass

      boolean isEntityClass(IType type)
    • getEntityInstanceFrom

      Object getEntityInstanceFrom(Object entity, IType classDomain)
    • areBeansEqual

      boolean areBeansEqual(Object bean1, Object bean2)
    • verifyValueForType

      boolean verifyValueForType(IType type, Object value)
    • makeStringFrom

      String makeStringFrom(Object obj)
    • getHashedEntityId

      long getHashedEntityId(String strId, IType classEntity)
    • isInternal

      boolean isInternal(IType type)
    • getLogger

      ILogger getLogger()
      Returns:
      the main logger for all Gosu subsystems. This logger must be available at all times during Gosu startup and execution.
    • getLocale

      Locale getLocale()
    • getCurrentTime

      Date getCurrentTime()
    • getTimeZone

      TimeZone getTimeZone()
    • addEnhancementMethods

      void addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
    • addEnhancementProperties

      void addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
    • getPluginClassLoader

      ClassLoader getPluginClassLoader()
    • getPluginRepositories

      StringBuilder getPluginRepositories()
    • getWebServerPaths

      String getWebServerPaths()
    • isUnreachableCodeDetectionOn

      boolean isUnreachableCodeDetectionOn()
    • getKeyType

      IType getKeyType()
    • getEntityIdProperty

      IPropertyInfo getEntityIdProperty(IType rootType)
    • shouldAddWarning

      boolean shouldAddWarning(IType type, IParseIssue warning)
    • getLanguageLevel

      ILanguageLevel getLanguageLevel()
    • getGosuClassLoadingObservers

      List<IGosuClassLoadingObserver> getGosuClassLoadingObservers()
    • areUsesStatementsAllowedInStatementLists

      boolean areUsesStatementsAllowedInStatementLists(ICompilableType gosuClass)
    • getAdditionalSourceRoots

      List<IDirectory> getAdditionalSourceRoots()
    • reloadedTypes

      void reloadedTypes(String[] types)
    • getExtendedTypeDataFactory

      ExtendedTypeDataFactory getExtendedTypeDataFactory(String typeName)
    • getLocalizedTypeName

      String getLocalizedTypeName(IType type)
    • getLocalizedTypeInfoName

      String getLocalizedTypeInfoName(IType type)