com.geotab.model.entity.group.SecurityClearance Maven / Gradle / Ivy
package com.geotab.model.entity.group;
import com.geotab.model.SecurityFilter;
import com.geotab.model.drawing.Color;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
* Represents a {@link Group} with {@link SecurityFilter} that are used to determine security
* access to different parts of the application.
*
* To get all SecurityClearance(s), call the Get method with typeName {@link Group} and a
* GroupSearch with the Id property set to GroupSecurityId
*/
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public abstract class SecurityClearance extends Group {
/**
* The {@link SecurityFilter}(s) either adds or removes a particular SecurityIdentifier to a
* user's set of allowed items.
*/
private List securityFilters;
public SecurityClearance(String id, String name, Color color,
Group parent, List children, String comments, String reference,
List securityFilters) {
super(id, name, color, parent, children, comments, reference);
this.securityFilters = securityFilters;
}
protected SecurityClearance(String id, String name) {
super(id, name);
}
}