Class GlossaryViewOMAS

    • Constructor Detail

      • GlossaryViewOMAS

        public GlossaryViewOMAS()
    • Method Detail

      • getEntityDetailResponse

        protected GlossaryViewEntityDetailResponse getEntityDetailResponse​(String userId,
                                                                           String serverName,
                                                                           String entityGUID,
                                                                           String entityTypeName,
                                                                           String methodName)
        Extract an entity based on provided GUID and convert it to this omas's type
        Parameters:
        userId - calling user
        serverName - instance to call
        entityGUID - guid to search for
        entityTypeName - entity type
        methodName - calling method
        Returns:
        entity
      • getRelatedEntitiesResponse

        protected GlossaryViewEntityDetailResponse getRelatedEntitiesResponse​(String userId,
                                                                              String serverName,
                                                                              String entityGUID,
                                                                              String entityTypeName,
                                                                              String relationshipTypeName,
                                                                              Integer from,
                                                                              Integer size,
                                                                              String methodName)
        Extract related entities to the given one and convert them to this omas's type
        Parameters:
        userId - calling user
        serverName - instance to call
        entityGUID - target entity
        entityTypeName - target entity relationship type
        relationshipTypeName - relationship type name
        from - offset start for the return values
        size - maximum number of results
        methodName - calling method
        Returns:
        related entities
      • getSubEntitiesResponse

        protected GlossaryViewEntityDetailResponse getSubEntitiesResponse​(String userId,
                                                                          String serverName,
                                                                          String entityGUID,
                                                                          String entityTypeName,
                                                                          boolean anchorAtEnd1,
                                                                          String relationshipTypeName,
                                                                          Integer from,
                                                                          Integer size,
                                                                          String methodName)
        Extract related entities to the given one and convert them to this omas's type - only taking form one end
        Parameters:
        userId - calling user
        serverName - instance to call
        entityGUID - target entity
        entityTypeName - target entity relationship type
        anchorAtEnd1 - which end should the target entity be at
        relationshipTypeName - relationship type name
        from - offset start for the return values
        size - maximum number of results
        methodName - calling method
        Returns:
        related entities
      • getAllEntityDetailsResponse

        protected GlossaryViewEntityDetailResponse getAllEntityDetailsResponse​(String userId,
                                                                               String serverName,
                                                                               String entityTypeName,
                                                                               Integer from,
                                                                               Integer size,
                                                                               String methodName)
        Extract all entities of specified type and convert them to this omas's type
        Parameters:
        userId - calling user
        serverName - instance to call
        entityTypeName - entity type name
        from - offset start for the return values
        size - maximum number of results
        methodName - calling method
        Returns:
        all entities