Class TrusteeObject

java.lang.Object
com.axemble.vdp.security.helper.TrusteeObject
All Implemented Interfaces:
Serializable

public class TrusteeObject extends Object implements Serializable
TODO 2012 A supprimer Cette classe est utilisé uniquement pour la migration en 2011
See Also:
  • Field Details

    • TYPE_EVERYONE

      public static final int TYPE_EVERYONE
      See Also:
    • TYPE_ADMINISTRATOR

      public static final int TYPE_ADMINISTRATOR
      See Also:
    • TYPE_USER

      public static final int TYPE_USER
      See Also:
    • TYPE_ROLE

      public static final int TYPE_ROLE
      See Also:
    • TYPE_GROUP

      public static final int TYPE_GROUP
      See Also:
    • log

      public static final com.axemble.vdp.utils.Logger log
    • EVERYONE

      public static final TrusteeObject EVERYONE
    • ADMINISTRATOR

      public static final TrusteeObject ADMINISTRATOR
    • infoClassMap

      protected static HashMap infoClassMap
    • type

      protected final int type
    • id

      protected final String id
    • displayName

      protected final String displayName
    • uid

      protected transient String uid
  • Constructor Details

    • TrusteeObject

      public TrusteeObject(int type, String id, String displayName)
    • TrusteeObject

      public TrusteeObject(String oldType, String id)
  • Method Details

    • typeToString

      public static String typeToString(int type)
    • getUID

      public String getUID()
    • getType

      public int getType()
    • getId

      public String getId()
    • getDisplayName

      public String getDisplayName()
    • infoClassToTrusteeObjectType

      public static int infoClassToTrusteeObjectType(Object storageInfoName)
    • isEveryone

      public boolean isEveryone()
    • isAdministrator

      public boolean isAdministrator()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • substract

      public static Collection substract(Collection trustees1, Collection trustees2)