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

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

  public static final String USER_SECURITY_GROUP_ID = "GroupUserSecurityId";
  public static final String USER_SECURITY_GROUP_NAME = "**UserSecurity**";

  @Builder(builderMethodName = "userSecurityGroupBuilder")
  public UserSecurityGroup(Color color, Group parent, List children, String comments,
      String reference, List securityFilters) {
    super(USER_SECURITY_GROUP_ID, USER_SECURITY_GROUP_NAME, color, parent, children,
        comments, reference, securityFilters);
  }

  public UserSecurityGroup() {
    super(USER_SECURITY_GROUP_ID, USER_SECURITY_GROUP_NAME, Color.EMPTY, null, new ArrayList<>(),
        "", "", new ArrayList<>());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy