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

microsoft.dynamics.crm.entity.collection.request.FieldsecurityprofileCollectionRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package microsoft.dynamics.crm.entity.collection.request;

import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;

import microsoft.dynamics.crm.entity.Fieldsecurityprofile;
import microsoft.dynamics.crm.entity.request.FieldpermissionRequest;
import microsoft.dynamics.crm.entity.request.FieldsecurityprofileRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TeamRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class FieldsecurityprofileCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public FieldsecurityprofileCollectionRequest(ContextPath contextPath) {
        super(contextPath, Fieldsecurityprofile.class, cp -> new FieldsecurityprofileRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SyncerrorCollectionRequest fieldSecurityProfile_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("FieldSecurityProfile_SyncErrors"));
    }

    public SyncerrorRequest fieldSecurityProfile_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("FieldSecurityProfile_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

    public SystemuserCollectionRequest systemuserprofiles_association() {
        return new SystemuserCollectionRequest(contextPath.addSegment("systemuserprofiles_association"));
    }

    public SystemuserRequest systemuserprofiles_association(String ownerid) {
        return new SystemuserRequest(contextPath.addSegment("systemuserprofiles_association").addKeys(new NameValue(ownerid.toString())));
    }

    public FieldpermissionCollectionRequest lk_fieldpermission_fieldsecurityprofileid() {
        return new FieldpermissionCollectionRequest(contextPath.addSegment("lk_fieldpermission_fieldsecurityprofileid"));
    }

    public FieldpermissionRequest lk_fieldpermission_fieldsecurityprofileid(String fieldpermissionid) {
        return new FieldpermissionRequest(contextPath.addSegment("lk_fieldpermission_fieldsecurityprofileid").addKeys(new NameValue(fieldpermissionid.toString())));
    }

    public TeamCollectionRequest teamprofiles_association() {
        return new TeamCollectionRequest(contextPath.addSegment("teamprofiles_association"));
    }

    public TeamRequest teamprofiles_association(String ownerid) {
        return new TeamRequest(contextPath.addSegment("teamprofiles_association").addKeys(new NameValue(ownerid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy