Class JDBCWorkspaceIOService

    • Constructor Detail

    • Method Detail

      • mergeWorkspace

        public void mergeWorkspace​(java.lang.String workspaceName,
                                   java.lang.String parentWorkspace,
                                   boolean refreshLinkGeometries)
                            throws NFEIOException
        Description copied from interface: NFEWorkspaceIOService
        Merges child and parent workspaces. Any conflicts must be resolved before a workspace can be merged. Reload the model after to execute this function.
        Specified by:
        mergeWorkspace in interface NFEWorkspaceIOService
        Parameters:
        workspaceName - child workspace to merge
        parentWorkspace - parent workspace to merge
        refreshLinkGeometries - if true refresh the modified link geometries to ensure that the start and end of the link are the same than the start and end node geometries of the link.
        Throws:
        NFEIOException - if an NFE error occurs.
      • resolveConflicts

        public void resolveConflicts​(java.util.List<FeatureAttributeDescriptor> featureAttributeDescriptorList,
                                     java.lang.String childWorkspace,
                                     java.lang.String parentWorkspace,
                                     java.lang.String choosenWorkspace)
                              throws NFEIOException
        Description copied from interface: NFEWorkspaceIOService
        This function resolves workspace conflicts for the specified attributes by using the attributes values in the parent or child workspace as specified in the chosen workspace parameter. The attributes in conflict can be loaded with the function getWorkspaceConflicts. Merge the workspace after to execute this function and reload the model.
        Specified by:
        resolveConflicts in interface NFEWorkspaceIOService
        Parameters:
        featureAttributeDescriptorList - the conflicts involving the attributes in the list will resolved
        childWorkspace - child workspace
        parentWorkspace - parent workspace
        choosenWorkspace - chosen workspace
        Throws:
        NFEIOException - if an NFE error occurs.
      • updateVersioning

        public void updateVersioning​(boolean isVersionable)
                              throws NFEIOException
        Description copied from interface: NFEWorkspaceIOService
        Updates the column USER_SDO_NFE_MODEL_METADATA.VERSIONABLE_IND with the value isVersionable. This method will not version enable any table.
        Specified by:
        updateVersioning in interface NFEWorkspaceIOService
        Parameters:
        isVersionable - true if the model is versionable, false otherwise
        Throws:
        NFEIOException - if an NFE error occurs.
      • saveWorkspace

        public void saveWorkspace​(java.lang.String parentWorkspace,
                                  NFEWorkspace nfeWorkspace)
                           throws NFEIOException
        Description copied from interface: NFEWorkspaceIOService
        Saves the workspace and create a record in the model workspace relationship table USER_SDO_NFE_MODEL_WORKSPACE.
        Specified by:
        saveWorkspace in interface NFEWorkspaceIOService
        Parameters:
        parentWorkspace - parent workspace of the saved workspace
        nfeWorkspace - workspace data
        Throws:
        NFEIOException - if an NFE error occurs.
      • removeWorkspace

        public void removeWorkspace​(java.lang.String workspace)
                             throws NFEIOException
        Description copied from interface: NFEWorkspaceIOService
        Removes the workspace and the related record in the model workspace relationship table USER_SDO_NFE_MODEL_WORKSPACE.
        Specified by:
        removeWorkspace in interface NFEWorkspaceIOService
        Parameters:
        workspace - workspace to remove
        Throws:
        NFEIOException - if an NFE error occurs.