Class SharableManager

java.lang.Object
ucar.unidata.collab.SharableManager

public class SharableManager extends Object
Author:
Jeff McWhirter
  • Field Details

    • LU

      public static final LogUtil LU
      _more_
    • shareGroupNames

      public static List shareGroupNames
      _more_
    • GROUP_ALL

      public static final String GROUP_ALL
      _more_
      See Also:
  • Constructor Details

    • SharableManager

      public SharableManager()
  • Method Details

    • getShareGroupNames

      public static List getShareGroupNames()
      Gets the share group names.
      Returns:
      the share group names
    • addShareGroupName

      public static void addShareGroupName(String name)
      Adds the share group name.
      Parameters:
      name - the name
    • addSharable

      public static void addSharable(Sharable s)
      Adds the sharable.
      Parameters:
      s - the s
    • removeSharable

      public static void removeSharable(Sharable s)
      Removes the sharable.
      Parameters:
      s - the s
    • addSharableListener

      public static void addSharableListener(SharableListener listener)
      Add a listener to the list of listeners.
      Parameters:
      listener - the listener
    • removeSharableListener

      public static void removeSharableListener(SharableListener listener)
      Remove a listener from the list of listeners.
      Parameters:
      listener - the listener
    • checkShareData

      protected static void checkShareData(Sharable from, Object dataId, Object[] data, boolean internal, boolean external)
      Check share data.
      Parameters:
      from - the from
      dataId - the data id
      data - the data
      internal - the internal
      external - the external
    • getDefaultShareGroups

      public static List getDefaultShareGroups()
      Gets the default share groups.
      Returns:
      the default share groups
    • addShareGroup

      public static void addShareGroup(Object group)
      Adds the share group.
      Parameters:
      group - the group