Class HibernateMembership

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public class HibernateMembership
    extends Object
    implements Serializable
    Deprecated.
    since 7.17.0, use HibernateMembership instead
    Hibernate representation of a membership that uses actual foreign keys and joins instead of trusting that database integrity will be maintained by a team of unicorns.

    This object is not for public consumption and should never escape the MembershipDao. No integrity checking is performed within the object as that would potentially confuse Hibernate, so the safest way to deal with this class is to pretend it is immutable and only ever construct it through the two factory methods provided.

    See Also:
    Serialized Form
    • Constructor Detail

      • HibernateMembership

        public HibernateMembership()
        Deprecated.
        Private constructor for Hibernate
    • Method Detail

      • groupUserMembership

        public static HibernateMembership groupUserMembership​(com.atlassian.crowd.model.group.InternalGroup parent,
                                                              com.atlassian.crowd.model.user.InternalUser member)
        Deprecated.
      • groupGroupMembership

        public static HibernateMembership groupGroupMembership​(com.atlassian.crowd.model.group.InternalGroup parent,
                                                               com.atlassian.crowd.model.group.InternalGroup member)
        Deprecated.
      • getParentGroup

        public com.atlassian.crowd.model.group.InternalGroup getParentGroup()
        Deprecated.
      • setParentGroup

        public void setParentGroup​(com.atlassian.crowd.model.group.InternalGroup parentGroup)
        Deprecated.
      • getUserMember

        public com.atlassian.crowd.model.user.InternalUser getUserMember()
        Deprecated.
      • setUserMember

        public void setUserMember​(com.atlassian.crowd.model.user.InternalUser userMember)
        Deprecated.
      • getGroupMember

        public com.atlassian.crowd.model.group.InternalGroup getGroupMember()
        Deprecated.
      • setGroupMember

        public void setGroupMember​(com.atlassian.crowd.model.group.InternalGroup groupMember)
        Deprecated.
      • getId

        public Long getId()
        Deprecated.
      • setId

        public void setId​(Long id)
        Deprecated.