public List <RmApproval> GetApprovalByQuery(string query, string[] attributes) { List <RmResource> resourceList = Base_GetResourceByQuery(RmApproval.StaticResourceType(), query, attributes); return(resourceList.ConvertAll <RmApproval>(delegate(RmResource r) { return r as RmApproval; })); }
public RmApproval GetApprovalById(string objectId, string[] attributes) { return(Base_GetResourceById(RmApproval.StaticResourceType(), objectId, attributes) as RmApproval); }
public List <RmApproval> GetApprovalByAttribute(string attributeName, string value, OperationType operation, string[] attributes) { List <RmResource> resourceList = Base_GetResourceByAttribute(RmApproval.StaticResourceType(), attributeName, value, operation, attributes); return(resourceList.ConvertAll <RmApproval>(delegate(RmResource r) { return r as RmApproval; })); }
public RmApproval GetApprovalByDisplayName(string displayName, string[] attributes) { return(Base_GetResourceByDisplayName(RmApproval.StaticResourceType(), displayName, attributes) as RmApproval); }