Interface WebProject

    • Method Detail

      • getDefaultDrillMap

        WebObjectInfo getDefaultDrillMap()
        Returns a WebObjectInfo representation of the drill map object associated with this project
        Returns:
        WebObjectInfo drillMap associated with this project
      • setPrimaryDBRole

        void setPrimaryDBRole​(WebDBRole role)
                       throws WebObjectsException
        Set a DBRole object as a primary DB role for this project
        Parameters:
        role - String containing the DBRole ID to be added
        Throws:
        WebObjectsException
        Since:
        MicroStrategy Web 9.0.0
      • getQuotas

        java.util.Map<WebUser,​java.lang.Integer> getQuotas()
                                                          throws WebObjectsException
        Get all project user level quotas for current project, return empty map indicate no user level quota has been set.
        Returns:
        Throws:
        WebObjectsException
      • getQuota

        java.lang.Integer getQuota​(WebUser user)
                            throws WebObjectsException
        Get project user level quota for current project and specified user, return null indicate no quota has been set.
        Parameters:
        user - WebUser object used as the key to get the project quota
        Returns:
        Throws:
        WebObjectsException
      • setQuota

        void setQuota​(WebUser user,
                      int quota)
               throws WebObjectsException
        Set quota value for current project and specified user, it will create new quota link item if current user has no quota set in project.
        Parameters:
        user - WebUser object used as the key to set the quota
        Throws:
        WebObjectsException
      • isTimezoneEnabled

        boolean isTimezoneEnabled()
        Get sensitivity of timezone for project.
        Returns:
        true or false
        Since:
        MicroStrategy 11.3.4
      • setTimezoneEnabled

        void setTimezoneEnabled​(boolean isTimezoneSensitive)
        Set sensitivity of timezone for project.
        Parameters:
        isTimezoneSensitive - boolean value to represent sensitivity
        Since:
        MicroStrategy 11.3.4
      • getDefaultTimezone

        WebObjectInfo getDefaultTimezone()
        Get default timezone of project.
        Returns:
        timezone objectWebObjectInfo
        Since:
        MicroStrategy 11.3.4
      • setDefaultTimezoneId

        void setDefaultTimezoneId​(java.lang.String defaultTimezoneId)
                           throws WebObjectsException
        Set default timezone id of project.
        Parameters:
        defaultTimezoneId - timezone object id
        Throws:
        WebObjectsException
        Since:
        MicroStrategy 11.3.4
      • getDefaultTimezoneId

        java.lang.String getDefaultTimezoneId()
        Get default timezone id of project.
        Returns:
        default timezone id
        Since:
        MicroStrategy 11.3.4
      • setDefaultCalendarId

        void setDefaultCalendarId​(java.lang.String defaultCalendarId)
        Set default calendar id of project.
        Parameters:
        defaultCalendarId - calendar object id
        Since:
        MicroStrategy 11.3.7
      • getDefaultCalendarId

        java.lang.String getDefaultCalendarId()
        Get default calendar id of project.
        Returns:
        calendar object id.
        Since:
        MicroStrategy 11.3.7
      • setCalendarEnabled

        void setCalendarEnabled​(boolean isCalendarEnabled)
        Set if project calendar is enabled.
        Parameters:
        isCalendarEnabled - project calendar setting flag.
        Since:
        MicroStrategy 11.3.7
      • isCalendarEnabled

        boolean isCalendarEnabled()
        Check if project level calendar is enabled.
        Returns:
        project calendar setting flag.
        Since:
        MicroStrategy 11.3.7
      • getDefaultDossierTemplate

        WebObjectInfo getDefaultDossierTemplate()
        Get default dossier template of project.
        Returns:
        default dossier template.
        Since:
        MicroStrategy 11.3.7
      • setDefaultDossierTemplateId

        void setDefaultDossierTemplateId​(java.lang.String defaultDossierTemplateId)
                                  throws WebObjectsException
        Set default dossier template id of project.
        Throws:
        WebObjectsException
        Since:
        MicroStrategy 11.3.7
      • getDefaultDossierTemplateId

        java.lang.String getDefaultDossierTemplateId()
        Get default dossier template id of project.
        Returns:
        default dossier template object id.
        Since:
        MicroStrategy 11.3.7