Class HibernateMembership
- java.lang.Object
-
- com.atlassian.crowd.embedded.hibernate2.HibernateMembership
-
- All Implemented Interfaces:
Serializable
@Deprecated public class HibernateMembership extends Object implements Serializable
Deprecated.since 7.17.0, useHibernateMembership
insteadHibernate 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 Summary
Constructors Constructor Description HibernateMembership()
Deprecated.Private constructor for Hibernate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.crowd.model.group.InternalGroup
getGroupMember()
Deprecated.Long
getId()
Deprecated.com.atlassian.crowd.model.group.InternalGroup
getParentGroup()
Deprecated.com.atlassian.crowd.model.user.InternalUser
getUserMember()
Deprecated.static HibernateMembership
groupGroupMembership(com.atlassian.crowd.model.group.InternalGroup parent, com.atlassian.crowd.model.group.InternalGroup member)
Deprecated.static HibernateMembership
groupUserMembership(com.atlassian.crowd.model.group.InternalGroup parent, com.atlassian.crowd.model.user.InternalUser member)
Deprecated.void
setGroupMember(com.atlassian.crowd.model.group.InternalGroup groupMember)
Deprecated.void
setId(Long id)
Deprecated.void
setParentGroup(com.atlassian.crowd.model.group.InternalGroup parentGroup)
Deprecated.void
setUserMember(com.atlassian.crowd.model.user.InternalUser userMember)
Deprecated.String
toString()
Deprecated.
-
-
-
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.
-
-