Class Web


  • public class Web
    extends Object
    Provides a Web type SharePoint class.
    Since:
    3.5.0
    • Constructor Detail

      • Web

        public Web()
        Create a Web type object.
      • Web

        public Web​(String alternateUrls,
                   Boolean cellStorageWebServiceEnabled,
                   String description,
                   Boolean excludeFromOfflineClient,
                   String farmId,
                   String id,
                   String language,
                   String theme,
                   String title,
                   String url)
        Create a Web type object.
        Parameters:
        alternateUrls - the alternate URL
        cellStorageWebServiceEnabled - the cell storage web service enabled flag
        description - the web description
        excludeFromOfflineClient - the exclude from off line client flag
        farmId - the web farm ID
        id - the web ID
        language - the web language
        theme - the web theme
        title - the web title
        url - the web URL
    • Method Detail

      • getAlternateUrls

        public String getAlternateUrls()
        Return the alternative URLs.
        Returns:
        the alternateUrls
      • setAlternateUrls

        public void setAlternateUrls​(String alternateUrls)
        Set the alternative URLs.
        Parameters:
        alternateUrls - the alternateUrls to set
      • isCellStorageWebServiceEnabled

        public boolean isCellStorageWebServiceEnabled()
        Return true if cellStorageWebService is enabled.
        Returns:
        the cellStorageWebServiceEnabled
      • setCellStorageWebServiceEnabled

        public void setCellStorageWebServiceEnabled​(boolean cellStorageWebServiceEnabled)
        Set whether cellStorageWebService is enabled.
        Parameters:
        cellStorageWebServiceEnabled - the cellStorageWebServiceEnabled to set
      • getDescription

        public String getDescription()
        Return the web description.
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        Set the web description.
        Parameters:
        description - the description to set
      • isExcludeFromOfflineClient

        public boolean isExcludeFromOfflineClient()
        Return true if exluceFromOfflineClient.
        Returns:
        the excludeFromOfflineClient
      • setExcludeFromOfflineClient

        public void setExcludeFromOfflineClient​(boolean excludeFromOfflineClient)
        Set whether to exluceFromOfflineClient.
        Parameters:
        excludeFromOfflineClient - the excludeFromOfflineClient to set
      • getFarmId

        public String getFarmId()
        Return the web farmId.
        Returns:
        the farmId
      • setFarmId

        public void setFarmId​(String farmId)
        Set the web farmId.
        Parameters:
        farmId - the farmId to set
      • getId

        public String getId()
        Return the web id.
        Returns:
        the id
      • setId

        public void setId​(String id)
        Set the web id.
        Parameters:
        id - the id to set
      • getLanguage

        public String getLanguage()
        Return the web language.
        Returns:
        the language
      • setLanguage

        public void setLanguage​(String language)
        Set the web language.
        Parameters:
        language - the language to set
      • getTheme

        public String getTheme()
        Return the web theme.
        Returns:
        the theme
      • setTheme

        public void setTheme​(String theme)
        Set the web theme.
        Parameters:
        theme - the theme to set
      • getTitle

        public String getTitle()
        Return the web theme.
        Returns:
        the title
      • setTitle

        public void setTitle​(String title)
        Set the web theme.
        Parameters:
        title - the title to set
      • getUrl

        public String getUrl()
        Return the web url.
        Returns:
        the url
      • setUrl

        public void setUrl​(String url)
        Set the web url.
        Parameters:
        url - the url to set
      • equals

        public boolean equals​(Object o)
        Return true of the given object is equal.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to test
        Returns:
        true of the given object is equal.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the objects hash code.