Interface IPreferencesManagerSPI

  • All Superinterfaces:
    IPreferencesManager
    All Known Implementing Classes:
    PreferencesManager

    public interface IPreferencesManagerSPI
    extends IPreferencesManager
    Service provider interface for management of preferences.
    Since:
    10.2.0
    Version:
    $Revision: 21231 $ $Date: 2018-04-24 19:34:27 -0300 (Tue, 24 Apr 2018) $
    • Method Detail

      • copySharedInterfaceInstancePreferences

        void copySharedInterfaceInstancePreferences​(java.lang.String srcInterfaceInstanceId,
                                                    java.lang.String destInterfaceInstanceId)
                                             throws PortalException
        Copies the shared interface instance preferences from an interface instance to another.
        Parameters:
        srcInterfaceInstanceId - the source interface instance identifier.
        destInterfaceInstanceId - the destination interface instance identifier.
        Throws:
        PortalException
        Since:
        10.2.0
      • setSharedInterfaceInstancePreferences

        void setSharedInterfaceInstancePreferences​(java.lang.String interfaceInstanceId,
                                                   java.util.Map<java.lang.String,​java.lang.String[]> sharedPreferences)
                                            throws PortalException
        Sets the shared interface instance preferences for the given interface instance identifier. All existing shared preferences are removed or set to the given values.
        Parameters:
        interfaceInstanceId - the interface instance for which to set shared preferences
        sharedPreferences - the shared preferences
        Throws:
        PortalException
        Since:
        10.4.0