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

com.cleverpine.viravaspringhelper.dto.ResourceIdsAccess Maven / Gradle / Ivy

There is a newer version: 3.1.6
Show newest version
package com.cleverpine.viravaspringhelper.dto;

import com.cleverpine.viravaspringhelper.core.BaseResource;
import java.util.Collections;
import java.util.List;

public class ResourceIdsAccess {

    private final BaseResource resource;

    private final List idsAccess;

    private final boolean canAccessAll;

    public ResourceIdsAccess(BaseResource resource, List idsAccess, boolean canAccessAll) {
        this.resource = resource;
        this.idsAccess = idsAccess;
        this.canAccessAll = canAccessAll;
    }

    public BaseResource getResource() {
        return resource;
    }

    public List getIdsAccess() {
        return Collections.unmodifiableList(idsAccess);
    }

    public boolean canAccessAll() {
        return canAccessAll;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy