PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBSShortcutManager

    Inheritance
    System.Object
    StdBSBaseService
    StdBSShortcutManager
    Inherited Members
    StdBSBaseService.m_objBSO
    StdBSBaseService.BSO
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    public class StdBSShortcutManager : StdBSBaseService

    Constructors

    StdBSShortcutManager()

    Declaration
    public StdBSShortcutManager()

    Methods

    ActualizaValorAtributo(String, String, Object)

    Declaration
    public void ActualizaValorAtributo(string strId, string strAtributo, object vntValor)
    Parameters
    Type Name Description
    System.String strId
    System.String strAtributo
    System.Object vntValor

    CarregaAtalhos(Boolean)

    Declaration
    public void CarregaAtalhos(bool refreshList = false)
    Parameters
    Type Name Description
    System.Boolean refreshList

    CarregaMenuAtalhos()

    Declaration
    public void CarregaMenuAtalhos()

    CriaAtalhoMenu(String, String, Boolean)

    Declaration
    public string CriaAtalhoMenu(string menuId, string menuCaption, bool allUsers = false)
    Parameters
    Type Name Description
    System.String menuId
    System.String menuCaption
    System.Boolean allUsers
    Returns
    Type Description
    System.String

    CriaNovoAtalho(StdBETipos.EnumTipoAtalho, Boolean, Boolean)

    Cria novo atalho na ribbon

    Declaration
    public string CriaNovoAtalho(StdBETipos.EnumTipoAtalho enuShortcutType, bool allUsers = false, bool allowBulk = false)
    Parameters
    Type Name Description
    StdBE100.StdBETipos.EnumTipoAtalho enuShortcutType

    Tipo de atalho

    System.Boolean allUsers

    Se o atalho estará visível para todos os utilizadores

    System.Boolean allowBulk

    Se permite seleção múltipla de items

    Returns
    Type Description
    System.String

    ID do atalho criado

    DaIconeAtalho(String, Boolean)

    Declaration
    public Image DaIconeAtalho(string shortcutId, bool grande)
    Parameters
    Type Name Description
    System.String shortcutId
    System.Boolean grande
    Returns
    Type Description
    System.Drawing.Image

    GravaNovoAtalho(String, Boolean)

    Declaration
    public string GravaNovoAtalho(string strShortcutXml, bool allUsers)
    Parameters
    Type Name Description
    System.String strShortcutXml
    System.Boolean allUsers
    Returns
    Type Description
    System.String

    ListaAtalhos(Boolean)

    Declaration
    public Dictionary<string, StdBEAtalhoRibbon> ListaAtalhos(bool refreshList)
    Parameters
    Type Name Description
    System.Boolean refreshList
    Returns
    Type Description
    System.Collections.Generic.Dictionary<System.String, StdBEAtalhoRibbon>

    RedimensionaAtalho(String)

    Declaration
    public void RedimensionaAtalho(string id)
    Parameters
    Type Name Description
    System.String id

    RemoveAtalho(String, Boolean)

    Declaration
    public void RemoveAtalho(string id, bool interactive)
    Parameters
    Type Name Description
    System.String id
    System.Boolean interactive

    TrataCliqueFavoritos(String)

    Declaration
    public string TrataCliqueFavoritos(string menuCode)
    Parameters
    Type Name Description
    System.String menuCode
    Returns
    Type Description
    System.String