Class POwnershipPanel

All Implemented Interfaces:
PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ActionListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener

public class POwnershipPanel extends PIACustomizablePanel implements ActionListener, ListSelectionListener
This will displays the information of the groups that the current account is owner This extends PIACustomizablePanel and implements ActionListener and ListSelectionListener Interfaces.
See Also:
  • Constructor Details

    • POwnershipPanel

      public POwnershipPanel(String sharingType)
      Constructs an POwnershipPanel with the specified sharing type key.
      Parameters:
      sharingType - the sharing type key.
  • Method Details

    • cleanup

      public void cleanup()
      Cleaning up the data structure as well updating the view.
    • refresh

      public void refresh()
      Updating the data structure as well updating the view.
    • initData

      public void initData()
      Updating data structure as well view.
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Invoked when an action occurs.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      ae - ActionEvent
    • editGroup

      public void editGroup()
      This should invoke the dialog PGroupDialog to edit the selected group.
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Called whenever the value of the selection changes.
      Specified by:
      valueChanged in interface ListSelectionListener
      Parameters:
      e - the event that characterizes the change.
    • isSharingChangeable

      public boolean isSharingChangeable()
      Returns weather the sharing has changeable permission or not?
      Returns:
      boolean
    • disableGroupLink

      public boolean disableGroupLink()
      Returns true if the Sharing group is collections and if groups is both not change able and not viewable else returns false
      Returns:
    • disableMembersCountLink

      public boolean disableMembersCountLink()
      Returns whether the Members Count Link should be disabled or not.
      Returns:
      boolean
    • setMembersPageActionsDisabled

      public boolean setMembersPageActionsDisabled()
      Returns whether the Members Page Actions menu should be disabled or not
      Returns:
      boolean