Examples of AuditLog


Examples of org.apache.continuum.web.util.AuditLog

        {
            if ( buildAgentGroup.getName().equals( group.getName() ) )
            {
                configuration.removeBuildAgentGroup( group );

                AuditLog event =
                    new AuditLog( "Build Agent Group=" + group.getName(), AuditLogConstants.REMOVE_BUILD_AGENT_GROUP );
                event.setCategory( AuditLogConstants.BUILD_AGENT );
                event.setCurrentUser( getPrincipal() );
                event.log();

                return SUCCESS;
            }
        }
View Full Code Here

Examples of org.apache.continuum.web.util.AuditLog

                    break;
                }
            }
        }

        AuditLog event = new AuditLog( "Build Agent Group=" + buildAgentGroup.getName(),
                                       AuditLogConstants.MODIFY_BUILD_AGENT_GROUP );
        event.setCategory( AuditLogConstants.BUILD_AGENT );
        event.setCurrentUser( getPrincipal() );

        if ( !found )
        {
            buildAgentGroup.setBuildAgents( selectedbuildAgents );
            configuration.addBuildAgentGroup( buildAgentGroup );
            event.setAction( AuditLogConstants.ADD_BUILD_AGENT_GROUP );
        }
        else
        // found
        {
            if ( typeGroup.equals( "new" ) )
            {
                addActionError( getResourceBundle().getString( "buildAgentGroup.error.duplicate" ) );
                return INPUT;
            }
            else if ( typeGroup.equals( "edit" ) )
            {
                buildAgentGroup.setBuildAgents( selectedbuildAgents );
                configuration.updateBuildAgentGroup( buildAgentGroup );
            }
        }

        getContinuum().getDistributedBuildManager().reload();
        event.log();

        return SUCCESS;
    }
View Full Code Here

Examples of org.apache.continuum.web.util.AuditLog

                    found = true;
                }
            }
        }

        AuditLog event = new AuditLog( "Build Agent URL=" + buildAgent.getUrl(), AuditLogConstants.MODIFY_BUILD_AGENT );
        event.setCategory( AuditLogConstants.BUILD_AGENT );
        event.setCurrentUser( getPrincipal() );

        if ( !found )
        {
            configuration.addBuildAgent( buildAgent );
            configuration.store();
            event.setAction( AuditLogConstants.ADD_BUILD_AGENT );
        }
        else
        {
            if ( type.equals( "new" ) )
            {
                addActionError( getResourceBundle().getString( "buildAgent.error.duplicate" ) );
                return INPUT;
            }
        }

        getContinuum().getDistributedBuildManager().reload();
        event.log();

        return SUCCESS;
    }
View Full Code Here

Examples of org.drools.guvnor.client.decisiontable.widget.auditlog.AuditLog

        // Audit Log button
        auditLogButton = new Button( Constants.INSTANCE.DecisionTableAuditLog(),
                                     new ClickHandler() {
                                         public void onClick(ClickEvent event) {
                                             if ( dtable != null ) {
                                                 AuditLog log = new AuditLog( dtable.model,
                                                                              userSecurityContext );
                                                 log.show();
                                             }
                                         }
                                     } );
        auditLogButton.setEnabled( !isReadOnly );
        panel.add( auditLogButton );
View Full Code Here

Examples of org.drools.ide.common.client.modeldriven.auditlog.AuditLog

     *
     * @return
     */
    public AuditLog getAuditLog() {
        if ( this.auditLog == null ) {
            this.auditLog = new AuditLog( new DecisionTableAuditLogFilter() );
        }
        return this.auditLog;
    }
View Full Code Here

Examples of org.drools.workbench.models.commons.shared.auditlog.AuditLog

     * Retrieve, or lazily instantiate a new, AuditLog.
     * @return
     */
    public AuditLog getAuditLog() {
        if ( this.auditLog == null ) {
            this.auditLog = new AuditLog( new DecisionTableAuditLogFilter() );
        }
        return this.auditLog;
    }
View Full Code Here

Examples of org.drools.workbench.models.datamodel.auditlog.AuditLog

     * Retrieve, or lazily instantiate a new, AuditLog.
     * @return
     */
    public AuditLog getAuditLog() {
        if ( this.auditLog == null ) {
            this.auditLog = new AuditLog( new DecisionTableAuditLogFilter() );
        }
        return this.auditLog;
    }
View Full Code Here

Examples of org.drools.workbench.screens.guided.dtable.client.widget.auditlog.AuditLog

        // Audit Log button
        auditLogButton = new Button( GuidedDecisionTableConstants.INSTANCE.DecisionTableAuditLog(),
                                     new ClickHandler() {
                                         public void onClick( ClickEvent event ) {
                                             if ( dtable != null ) {
                                                 AuditLog log = new AuditLog( dtable.model,
                                                                              identity );
                                                 log.show();
                                             }
                                         }
                                     } );
        auditLogButton.setEnabled( !isReadOnly );
        panel.add( auditLogButton );
View Full Code Here

Examples of org.opentides.bean.AuditLog

    }
   
      Session tempSession =
            HibernateUtil.getSessionFactory().openSession();
    try {
      AuditLog record =
              new AuditLog(friendlyMessage,
                    message,
                    entity.getId(),
                          entityClass,
                          entity.getReference(),
                          userId,
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.