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

com.geotab.model.entity.group.EverythingSecurityGroup 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;

/**
 * This is a {@link SystemSecurityClearance} with an Id of GroupEverythingSecurityId. User(s) that
 * have this group assigned to their security groups means they have access to everything in the
 * system.
 */
@Data
public class EverythingSecurityGroup extends SystemSecurityClearance {

  public static final String EVERYTHING_SECURITY_GROUP_ID = "GroupEverythingSecurityId";
  public static final String EVERYTHING_SECURITY_GROUP_NAME = "**EverythingSecurity**";

  @Builder(builderMethodName = "everythingSecurityGroupBuilder")
  public EverythingSecurityGroup(Color color, Group parent, List children, String comments,
      String reference, List securityFilters) {
    super(EVERYTHING_SECURITY_GROUP_ID, EVERYTHING_SECURITY_GROUP_NAME, color, parent, children,
        comments, reference, securityFilters);
  }

  public EverythingSecurityGroup() {
    super(EVERYTHING_SECURITY_GROUP_ID, EVERYTHING_SECURITY_GROUP_NAME, Color.EMPTY, null,
        new ArrayList<>(), "", "", new ArrayList<>());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy