Enum CometBridgeRemote.SessionMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BULK_IMPORT
      This is the session mode required when importing page items and page templates with InDesign Plug-Ins.
      To activate, send a "soap::call pcs::session-mode bulk-import" request.
      FULL_IMPORT
      IDs will be remapped to new IDs obtained from the server, all references (Comet3Reference annotations) remapped and statements / actions parsed for typical references to other actions.
      This is not guaranteed to work in all circumstances, but should be a good starting point when migrating comet3 projects.
      To activate, send a "soap::call pcs::session-mode full-import" request.
      NORMAL
      In normal session mode configuration items can be read updated and created (provided the new ID has been obtained from the server using a pcs::getNextID SOAP call) Attempts to insert an item with an ID other than obtained from the server will cause an error.
      Items will not be processed upon insert, i.e.: no references will be resolved or remapped.
    • Enum Constant Detail

      • NORMAL

        public static final CometBridgeRemote.SessionMode NORMAL
        In normal session mode configuration items can be
        • read
        • updated and
        • created (provided the new ID has been obtained from the server using a pcs::getNextID SOAP call)
        Attempts to insert an item with an ID other than obtained from the server will cause an error.
        Items will not be processed upon insert, i.e.: no references will be resolved or remapped.

        Only items of the following classes can be inserted:

        • aliases and global variables (datafiles.xml)
        • find statements (findstatements.xml)
        • frame rules (framerules)
        • actions (actions.xml)
        • page items (pageitems.xml)
        • page templates (pagetemplates.xml)
        • grids (grids.xml)
        • binary data associated to any of the items above

        To activate, send a "soap::call pcs::session-mode normal" request. NORMAL is the default mode if no other mode has been set.
      • BULK_IMPORT

        public static final CometBridgeRemote.SessionMode BULK_IMPORT
        This is the session mode required when importing page items and page templates with InDesign Plug-Ins.
        To activate, send a "soap::call pcs::session-mode bulk-import" request.
      • FULL_IMPORT

        public static final CometBridgeRemote.SessionMode FULL_IMPORT
        IDs will be remapped to new IDs obtained from the server, all references (Comet3Reference annotations) remapped and statements / actions parsed for typical references to other actions.
        This is not guaranteed to work in all circumstances, but should be a good starting point when migrating comet3 projects.
        To activate, send a "soap::call pcs::session-mode full-import" request.
    • Method Detail

      • values

        public static CometBridgeRemote.SessionMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CometBridgeRemote.SessionMode c : CometBridgeRemote.SessionMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CometBridgeRemote.SessionMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null