Class DataRight

All Implemented Interfaces:
JcmsConstants, ImportConstants, MashupConstants, Storable, JaliosConstants, LangPropertyArgument, Cloneable, Comparable<BasicStorable>
Direct Known Subclasses:
CategoryRight

public class DataRight extends Data
This class represents the rights of a member on a Data object.
Author:
Olivier Dedieu
  • Field Details

    • publish

      protected boolean publish
    • updateOther

      protected boolean updateOther
    • deleteOther

      protected boolean deleteOther
  • Constructor Details

    • DataRight

      public DataRight()
    • DataRight

      public DataRight(boolean publish, boolean updateOther, boolean deleteOther, Member author)
    • DataRight

      public DataRight(DataRight other)
  • Method Details

    • canPublish

      public boolean canPublish(Data d)
    • canUpdateOther

      public boolean canUpdateOther(Data d)
    • canDeleteOther

      public boolean canDeleteOther(Data d)
    • unionRightSet

      public static DataRight unionRightSet(TreeSet rightSet)
    • toString

      public String toString()
      Overrides:
      toString in class Data
      Since:
      jcms-4.1
    • getPublish

      public boolean getPublish()
      Get the value of publish.
      Returns:
      Value of publish.
    • setPublish

      public void setPublish(boolean v)
      Set the value of publish.
      Parameters:
      v - Value to assign to publish.
    • getUpdateOther

      public boolean getUpdateOther()
      Get the value of updateOther.
      Returns:
      Value of updateOther.
    • setUpdateOther

      public void setUpdateOther(boolean v)
      Set the value of updateOther.
      Parameters:
      v - Value to assign to updateOther.
    • getDeleteOther

      public boolean getDeleteOther()
      Get the value of deleteOther.
      Returns:
      Value of deleteOther.
    • setDeleteOther

      public void setDeleteOther(boolean v)
      Set the value of deleteOther.
      Parameters:
      v - Value to assign to deleteOther.