Class MAPModelBase

    • Method Detail

      • canonicalize

        protected static String canonicalize​(String str)
        Canonicalizes un-support characters in LDAP DN.
        Parameters:
        str - string to be canonicalized.
        Returns:
        canonicalized string.
      • isClientTypeValid

        protected static boolean isClientTypeValid​(String userAgent)
        Returns true if an user agent name is valid.
        Parameters:
        userAgent - user agent name.
        Returns:
        true if userAgent is valid.
      • getClientCapDataIntInstance

        protected AMClientCapData getClientCapDataIntInstance()
      • getClientCapDataExtInstance

        protected AMClientCapData getClientCapDataExtInstance()
      • getStyleNames

        public Set getStyleNames​(String name)
        Returns styles of a profile.
        Specified by:
        getStyleNames in interface MAPModel
        Parameters:
        name - Name of profile.
        Returns:
        styles of a profile.
      • getL10NStrFromSvcResourceBundle

        protected String getL10NStrFromSvcResourceBundle​(String key)
      • getAdditionalPropertyValues

        protected Set getAdditionalPropertyValues​(String clientType)
      • isUserAgentSet

        protected boolean isUserAgentSet​(String clientType)
      • isCustomizable

        public boolean isCustomizable​(String clientType)
        Returns true if the given client is customizable.
        Specified by:
        isCustomizable in interface MAPModel
        Parameters:
        clientType - Client Type.
        Returns:
        true if the given client is customizable.
      • hasDefaultSetting

        public boolean hasDefaultSetting​(String clientType)
        Returns true if the given client is customizable.
        Specified by:
        hasDefaultSetting in interface MAPModel
        Parameters:
        clientType - Client Type.
        Returns:
        true if the given client is customizable.
      • canBeDeleted

        public boolean canBeDeleted​(String clientType)
        Returns true if the client can be deleted.
        Specified by:
        canBeDeleted in interface MAPModel
        Parameters:
        clientType - Client Type.
        Returns:
        true if the client can be deleted.
      • getDeviceUserAgent

        public String getDeviceUserAgent​(String clientType)
        Returns device user agent of a client.
        Specified by:
        getDeviceUserAgent in interface MAPModel
        Parameters:
        clientType - Client Type.
        Returns:
        device user agent of a client.
      • getClientTypePrefix

        public String getClientTypePrefix()
        Returns prefix for client type.
        Specified by:
        getClientTypePrefix in interface MAPModel
        Returns:
        prefix for client type.
      • getDeviceNamePrefix

        public String getDeviceNamePrefix()
        Returns prefix for device user agent.
        Specified by:
        getDeviceNamePrefix in interface MAPModel
        Returns:
        prefix for device user agent.