com.groupdocs.viewer.domain.options

Class ReorderPageOptions



  • public class ReorderPageOptions
    extends Object

    The reorder options.

    • Constructor Detail

      • ReorderPageOptions

        public ReorderPageOptions(String guid,
                          int pageNumber,
                          int newPosition,
                          String password)

        Initializes a new instance of the ReorderPageOptions class.

        Parameters:
        guid - The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
        pageNumber - The page number
        newPosition - The new page position
        password - The password
      • ReorderPageOptions

        @Deprecated
        public ReorderPageOptions(String guid,
                                     int pageNumber,
                                     int newPosition)
        Deprecated. 

        Initializes a new instance of the ReorderPageOptions class.

        Parameters:
        guid - The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
        pageNumber - The page number
        newPosition - The new page position
      • ReorderPageOptions

        public ReorderPageOptions(int pageNumber,
                          int newPosition,
                          String password)

        Initializes a new instance of the ReorderPageOptions class.

        Parameters:
        pageNumber - The page number
        newPosition - The new page position
        password - The password
      • ReorderPageOptions

        public ReorderPageOptions(int pageNumber,
                          int newPosition)

        Initializes a new instance of the ReorderPageOptions class.

        Parameters:
        pageNumber - The page number
        newPosition - The new page position
    • Method Detail

      • getGuid

        public String getGuid()

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Value: The file unique identifier.
        Returns:
        the guid
      • setGuid

        public void setGuid(String value)

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Value: The file unique identifier.
        Parameters:
        value - the value
      • getPassword

        public String getPassword()

        The password.

        Value: The password.
        Returns:
        the password
      • setPassword

        public void setPassword(String value)

        The password.

        Value: The password.
        Parameters:
        value - the value
      • getPageNumber

        public int getPageNumber()

        The page number.

        Value: The page number.
        Returns:
        the page number
      • setPageNumber

        public void setPageNumber(int value)

        The page number.

        Value: The page number.
        Parameters:
        value - the value
      • getNewPosition

        public int getNewPosition()

        The new page position.

        Value: The new page position.
        Returns:
        the new position
      • setNewPosition

        public void setNewPosition(int value)

        The new page position.

        Value: The new page position.
        Parameters:
        value - the value