Package beans.user.job.entity

Examples of beans.user.job.entity.JobDetails


     * @return идентификатор сущности
     */
    @Override
    protected void onUpdate(Job entity, EntityDetails details,
            AuditDoc auditDoc, List<AuditDoc> auditDocList) throws ClipsServerException {
        JobDetails d = (JobDetails) details;

        if (entity.getId() == 0) {
            entity.setClient(findEntity(Client.class, d.clientID));
        } else if (d.clientID != entity.getClient().getId()) {
            throw new ClipsServerException("Попытка записи данных о работе другому пациенту");
View Full Code Here


        client.initBy(c);
    }

    @Override
    protected JobDetails getNewDetails() {
        return new JobDetails();
    }
View Full Code Here

     * @return
     * @throws ClipsException
     */
    public JobLocal getLastJob() throws ClipsException {
        try {
            JobDetails jobDetails = getBean().getLastJob();
            return (jobDetails != null ? new JobLocal(jobDetails, getAuditListener()) : null);
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось получить последнее место работы клиента",ex);
        }
View Full Code Here

TOP

Related Classes of beans.user.job.entity.JobDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.