Class Organization

All Implemented Interfaces:
Serializable

public class Organization extends AbstractEntity implements Serializable
Author:
stblack Class Organization General purpose Organization class for all OIM modules. Represents a collection of Users for the purpose of scoping authorization to objects published to the Organization. Organizations are arranged in a hierarchy where each Organization has at most one parent. Notes: - Initially developed for the access review module (OIA identity certification or IDC). - OIA uses the term Business Structure or the older term Business Unit. Relevant fields from superclasses: id, name, createDate, updateDate, createdById, updatedById
See Also:
  • Constructor Details

    • Organization

      public Organization()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the description for the Organization
      Returns:
      the description
    • setDescription

      public void setDescription(String dStr)
      Sets the description for the Organization
      Parameters:
      dStr - the description to set
    • getMemberUserIds

      public List<Long> getMemberUserIds()
      Gets list of Users (unique Ids) who are members of the Organization Returns a copy. TODO/TBD: Also could return an immutable view of the list:
      Returns:
      a copy of the list of unique Ids of Users who are members of the Organization
    • setMemberUserIds

      public void setMemberUserIds(List<Long> guidList)
      Sets list of Users (unique Ids) who are members of the Organization. Makes a defensive copy.
      Parameters:
      guidList - the list of unique Ids of Users who are members of the Organization
    • getParentId

      public Long getParentId()
      Gets unique identifier for the parent Organization of this Organization.
      Returns:
      Unique identifier for the parent Organization of this Organization
    • setParentId

      public void setParentId(Long guid)
      Sets unique identifier for the parent Organization of this Organization.
      Parameters:
      guid - Unique identifier for the parent Organization of this Organization
    • getChildIds

      public List<Long> getChildIds()
      Gets the list of Organizations (Ids) that are direct children of this Organization. Returns a copy. TODO/TBD: Also could return an immutable view of the list:
      Returns:
      the list of Ids of Organizations (Ids) that are direct children of this Organization
    • setChildIds

      public void setChildIds(List<Long> guidList)
      Sets the list of Organizations (Ids) that are direct children of this Organization. Makes a defensive copy.
      Parameters:
      guidList - the list of Ids of Organizations (Ids) that are direct children of this Organization