filenet.vw.api

Class VWRegionAdministration

  • java.lang.Object
    • filenet.vw.api.VWRegionAdministration
  • All Implemented Interfaces:
    java.io.Serializable


    public final class VWRegionAdministration
    extends java.lang.Object
    implements java.io.Serializable
    This class provides functions to administer a Workflow System's isolated region.
    Since:
    PE 5.2.0.0
    See Also:
    VWSession.fetchRegionAdministration(), Serialized Form
    • Method Detail

      • commit

        public void commit()
                    throws VWException
        Saves the region administration changes to the current isolated region.

        Before calling this method, region administration changes reside only in local memory.

        Throws:
        VWException - Thrown if the system encounters an error while attempting to commit the region administration changes to the online repository.
        Since:
        PE 5.2.0.0
      • isRegionLocked

        public boolean isRegionLocked()
                               throws VWException
        Gets the region lock state. This state may be stale; another process may have locked (or unlocked) the region after this state was retrieved.
        Returns:
        A boolean value of true if the region is locked for a user operation, false otherwise.
        Throws:
        VWException - Thrown for various causes.
        Since:
        PE 5.2.0.0
        See Also:
        VWSession.fetchRegionLockStatus()
      • lockRegion

        public void lockRegion(boolean bLock)
                        throws VWException
        Locks or unlocks the isolated region
        Parameters:
        bLock - If true, an attempt is made to lock the region. If false, an attempt is made to unlock the region.
        Throws:
        VWException - Thrown for various causes.
        Since:
        PE 5.2.0.0
      • isRegionBackupEnabled

        public boolean isRegionBackupEnabled()
                                      throws VWException
        Gets the isolated region backup flag value.
        Returns:
        A value of true if region backup is enabled for the isolated region; false otherwise.
        Throws:
        VWException - Thrown for various causes.
        Since:
        PE 5.2.0.0
      • setRegionBackupEnabled

        public void setRegionBackupEnabled(boolean bEnabled)
                                    throws VWException
        Deprecated. PE 5.5.0 The feature is no longer supported
        Sets the isolated region backup flag value.
        Parameters:
        bEnabled - If true, the table spaces that are in use by the isolated region are examined. If any table spaces are used that are not in the current list of table spaces, an exception is returned. When the changes are committed, additional verification is performed on the server before the isolated region backup flag is enabled.
        Throws:
        VWException - If the flag can not be set.
        Since:
        PE 5.2.0.0
        See Also:
        VWRegionAdministration.commit()
      • deleteRDBObjectDefinition

        public void deleteRDBObjectDefinition(VWRDBObjectDefinition theRDBObjectDefinition)
                                       throws VWException
        Deletes the specified VWRDBObjectDefinition object from the collection, if found.
        Parameters:
        theRDBObjectDefinition - The VWRDBObjectDefinition object to delete from the collection.
        Throws:
        VWException - Thrown if the VWRDBObjectDefinition object is not found and for other various causes.
        Since:
        PE 5.2.0.0
        See Also:
        VWRDBObjectDefinition
      • getRDBObjectDefinitions

        public VWRDBObjectDefinition[] getRDBObjectDefinitions()
                                                        throws VWException
        Gets the VWRDBObjectDefinition objects from the collection.
        Returns:
        The current set of VWRDBObjectDefinition objects that are in the collection.
        Throws:
        VWException - Thrown for various causes.
        Since:
        PE 5.2.0.0
        See Also:
        VWRDBObjectDefinition
      • getTableSpacesInUse

        public java.lang.String[] getTableSpacesInUse()
                                               throws VWException
        Gets a list of table space (or file group) names.
        Returns:
        A String array containing the names of the table spaces that are currently in use.
        Throws:
        VWException - Thrown for various causes.
        Since:
        PE 5.2.0.0

© Copyright IBM Corporation 2002, 2019. All rights reserved.