Examples of ChangeLog


Examples of com.gcrm.domain.ChangeLog

     */
    protected void createChangeLog(Collection<ChangeLog> changeLogs,
            String entityName, Integer recordID, String columnName,
            String oldValue, String newValue, User loginUser) {
        if (!oldValue.equals(newValue)) {
            ChangeLog changeLog = new ChangeLog();
            changeLog.setEntityName(entityName);
            changeLog.setRecordID(recordID);
            changeLog.setColumnName(columnName);
            changeLog.setOldValue(oldValue);
            changeLog.setNewValue(newValue);
            changeLog.setUpdated_by(loginUser);
            changeLog.setUpdated_on(new Date());
            changeLogs.add(changeLog);
        }
    }
View Full Code Here

Examples of com.kpelykh.docker.client.model.ChangeLog

    List filesystemDiff = dockerClient.containerDiff(container.getId());
    LOG.info("Container DIFF: {}", filesystemDiff.toString());

    assertThat(filesystemDiff.size(), equalTo(1));
    ChangeLog testChangeLog = selectUnique(filesystemDiff,
        hasField("path", equalTo("/test")));

    assertThat(testChangeLog, hasField("path", equalTo("/test")));
    assertThat(testChangeLog, hasField("kind", equalTo(1)));
  }
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.ChangeLog

        }
      }
    }
   
   
    ChangeLog changeLog = new ChangeLogImpl(
        DataAccessFactory.getInstance().createUUID(current.get("dataId")),
        current.get("logcreateUser") == null ? "" :current.get("logcreateUser").toString(),
        Timestamp.valueOf(current.get("logcreateTime")),
        DataAccessFactory.getInstance().createUUID(current.get("logActionId")),
        current.get("logActionComment") == null ? "" :current.get("logActionComment").toString(),
View Full Code Here

Examples of eu.planets_project.pp.plato.model.ChangeLog

            }
            if (property != null) {
                clone.setProperty(property.clone());
            }
            // created-timestamp is automatically set to now
            clone.setChangeLog(new ChangeLog(this.getChangeLog().getChangedBy()));
            return clone;
        } catch (CloneNotSupportedException e) {
            // never thrown
            return null;
        }
View Full Code Here

Examples of eu.scape_project.planning.model.ChangeLog

            clone.id = 0;

            clone.setParent(null);

            // created-timestamp is automatically set to now
            clone.setChangeLog(new ChangeLog(this.getChangeLog().getChangedBy()));

            if (this.getChildren() != null) {
                List<TreeNode> clonedChildren = new ArrayList<TreeNode>();
                for (TreeNode child : this.getChildren()) {
                    clonedChildren.add(child.clone());
View Full Code Here

Examples of org.apache.directory.server.core.api.changelog.ChangeLog

        if ( dirService == null )
        {
            return;
        }

        ChangeLog cl = dirService.getChangeLog();
        if ( cl.isEnabled() && ( revision < cl.getCurrentRevision() ) )
        {
            LOG.debug( "Revert revision {}", revision );
            dirService.revert( revision );
        }
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.changelog.ChangeLog

        if ( ( changeLogBean == null ) || changeLogBean.isDisabled() )
        {
            return null;
        }

        ChangeLog changeLog = new DefaultChangeLog();

        changeLog.setEnabled( changeLogBean.isEnabled() );
        changeLog.setExposed( changeLogBean.isChangeLogExposed() );

        return changeLog;
    }
View Full Code Here

Examples of org.apache.directory.server.core.api.changelog.ChangeLog

        // AllowAnonymousAccess
        directoryService.setAllowAnonymousAccess( directoryServiceBean.isDsAllowAnonymousAccess() );

        // ChangeLog
        ChangeLog cl = createChangeLog( directoryServiceBean.getChangeLog() );

        if ( cl != null )
        {
            directoryService.setChangeLog( cl );
        }
View Full Code Here

Examples of org.apache.directory.server.core.api.changelog.ChangeLog

        if ( dirService == null )
        {
            return;
        }

        ChangeLog cl = dirService.getChangeLog();
        if ( cl.isEnabled() && ( revision < cl.getCurrentRevision() ) )
        {
            LOG.debug( "Revert revision {}", revision );
            dirService.revert( revision );
        }
    }
View Full Code Here

Examples of org.apache.directory.server.core.changelog.ChangeLog

        if ( changeLogAttr != null )
        {
            DN clDN = new DN( changeLogAttr.getString() );
            clDN.normalize( schemaManager.getNormalizerMapping() );
            ChangeLog cl = getChangeLog( clDN );
            dirService.setChangeLog( cl );
        }

        EntryAttribute denormAttr = dsEntry.get( "ads-dsDenormalizeOpAttrsEnabled" );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.