Class JobCrudHelperComponent
Job CRUD helper component class.
public class JobCrudHelperComponent : CrudHelperComponent<Job>, ICrudHelperComponent<Job>
- Inheritance
-
JobCrudHelperComponent
- Implements
-
ICrudHelperComponent<Job>
- Inherited Members
- Extension Methods
Fields
- JobAttachmentFilePath
The job attachments file path.
- JobAttachmentFolderName
The job attachments folder name.
Properties
- Attachments
Gets the attachments helper.
Methods
- AddJobAttachment(JobID, string, byte[])
Adds a new attachment to the Job with the ID
jobID
.
- DeleteJobAttachment(JobID, string)
Deletes the attachment with name
attachmentName
from the job with IDjobID
.
- GetJobAttachment(JobID, string)
Gets the contents of the attachment with name
attachmentName
for job with IDjobID
.
- GetJobAttachmentFileNames(JobID)
Retrieves the names of the files attached to the job with ID
jobID
.
- PrepareSearchPaging(string, long, IQuery<Job>)
Allows searching jobs using the specified query and filter in a paged manner.
- PrepareSearchPaging(string, long, FilterElement<Job>)
Allows searching jobs using the specified query and filter in a paged manner.
- Suggest(string, int)
Retrieves suggestions for the specified query limited to the specified limit.
- Suggest(string, int, List<FieldDescriptorID>, FilterElement<Job>)
Retrieves suggestions for the specified query limited to the specified limit.