Class GroupMapping

java.lang.Object
com.atlassian.crowd.model.application.GroupMapping

@Deprecated public class GroupMapping extends Object
Deprecated.
Access group mappings through Application.getApplicationDirectoryMappings() instead. Since v2.12.
  • Constructor Details

    • GroupMapping

      protected GroupMapping()
      Deprecated.
    • GroupMapping

      public GroupMapping(Long id, DirectoryMapping directoryMapping, String groupName)
      Deprecated.
      Constructs a new GroupMapping with the specified group mapping ID. Used by XML import.
      Parameters:
      id - group mapping ID
      directoryMapping - mapping of a directory to an application
      groupName - name of group to map
    • GroupMapping

      public GroupMapping(DirectoryMapping directoryMapping, String groupName)
      Deprecated.
      Constructs a new GroupMapping.
      Parameters:
      directoryMapping - mapping of a directory to an application
      groupName - name of group to map
  • Method Details

    • getId

      public Long getId()
      Deprecated.
      Returns the group mapping ID.
      Returns:
      the group mapping ID
    • setId

      public void setId(Long id)
      Deprecated.
      Sets the group mapping ID.
      Parameters:
      id - group mapping ID
    • getApplication

      public Application getApplication()
      Deprecated.
      Returns the application of this mapping.
      Returns:
      application of the mapping
    • setApplication

      public void setApplication(Application application)
      Deprecated.
      Sets the application of this mapping.
      Parameters:
      application - application
    • getDirectory

      public Directory getDirectory()
      Deprecated.
      Returns the directory of the group.
      Returns:
      directory of the group
    • setDirectory

      public void setDirectory(Directory directory)
      Deprecated.
      Sets the directory of this group.
      Parameters:
      directory - directory of the group
    • getGroupName

      public String getGroupName()
      Deprecated.
      Returns the name of the group being mapped.
      Returns:
      name of the group being mapped
    • setGroupName

      public void setGroupName(String groupName)
      Deprecated.
      Sets the name of the group being mapped.
      Parameters:
      groupName - name of the group being mapped
    • getDirectoryMapping

      public DirectoryMapping getDirectoryMapping()
      Deprecated.
      Returns the directory mapping.
      Returns:
      directory mapping
    • setDirectoryMapping

      public void setDirectoryMapping(DirectoryMapping directoryMapping)
      Deprecated.
      Sets the directory mapping.
      Parameters:
      directoryMapping - directory mapping
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object