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

com.geotab.model.entity.group.DriveUserSecurityGroup 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 GroupDriveUserSecurityId. A user that has
 * this group assigned to its security groups will have access to all features of the Geotab Drive
 * app.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DriveUserSecurityGroup extends SystemSecurityClearance {

  public static final String DRIVE_USER_SECURITY_GROUP_ID = "GroupDriveUserSecurityId";
  public static final String DRIVE_USER_SECURITY_GROUP_NAME = "**DriveUserSecurity**";

  @Builder(builderMethodName = "driveUserSecurityGroupBuilder")
  public DriveUserSecurityGroup(Color color, Group parent, List children, String comments,
      String reference, List securityFilters) {
    super(DRIVE_USER_SECURITY_GROUP_ID, DRIVE_USER_SECURITY_GROUP_NAME, color, parent, children,
        comments, reference, securityFilters);
  }

  public DriveUserSecurityGroup() {
    super(DRIVE_USER_SECURITY_GROUP_ID, DRIVE_USER_SECURITY_GROUP_NAME, Color.EMPTY, null,
        new ArrayList<>(), "", "", new ArrayList<>());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy