java.lang.Object
de.uplanet.lucy.server.share.businesslogic.plugin.util.SharePluginUtil

@Scriptable public final class SharePluginUtil extends Object
  • Method Details

    • addPluginAssignment

      public static boolean addPluginAssignment(IProcessingContext p_ctx, String p_strProfileId, String p_strPluginGuid)
      Adds the given plugin to the plugins that have been assigned to the given user profile.
      Parameters:
      p_ctx - The processing context.
      p_strProfileId - The user profile ID.
      p_strPluginGuid - The plugin GUID.
      Returns:
      true if the plugin has been added, false otherwise.
    • removePluginAssignment

      public static boolean removePluginAssignment(IProcessingContext p_ctx, String p_strProfileId, String p_strPluginGuid)
      Removes the given plugin from the plugins that have been assigned to the given user profile.
      Parameters:
      p_ctx - The processing context.
      p_strProfileId - The user profile ID.
      p_strPluginGuid - The plugin GUID.
      Returns:
      true if the plugin has been removed, false otherwise.