All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.group.SupervisorSecurityGroup Maven / Gradle / Ivy

package com.geotab.model.entity.group;

import com.geotab.model.SecurityFilter;
import com.geotab.model.drawing.Color;
import java.util.ArrayList;
import java.util.List;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * This is a {@link SystemSecurityClearance} with an Id of GroupSupervisorSecurityId. A user that
 * has this group in its security groups will have access to modify local data in the system. This
 * is the type of user that does not need to administrate the system, but needs to create devices,
 * zones, work times etc.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SupervisorSecurityGroup extends SystemSecurityClearance {

  public static final String SUPERVISOR_SECURITY_GROUP_ID = "GroupSupervisorSecurityId";
  public static final String SUPERVISOR_SECURITY_GROUP_NAME = "**SupervisorSecurity**";

  @Builder(builderMethodName = "supervisorSecurityGroupBuilder")
  public SupervisorSecurityGroup(Color color, Group parent, List children, String comments,
      String reference, List securityFilters) {
    super(SUPERVISOR_SECURITY_GROUP_ID, SUPERVISOR_SECURITY_GROUP_NAME, color, parent, children,
        comments, reference, securityFilters);
  }

  public SupervisorSecurityGroup() {
    super(SUPERVISOR_SECURITY_GROUP_ID, SUPERVISOR_SECURITY_GROUP_NAME, Color.EMPTY, null,
        new ArrayList<>(), "", "", new ArrayList<>());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy