@Test public void testLock() throws Exception { when( mockLockService.lockTransformation( mockObjectId, LOCK_NOTE ) ).thenReturn( mockRepositoryLock ); uiTransformation.lock( LOCK_NOTE ); verify( mockEERepositoryObject ).setLock( mockRepositoryLock ); verify( mockParent ).fireCollectionChanged(); uiTransformation.unlock(); verify( mockEERepositoryObject ).setLock( null ); verify( mockParent, times( 2 ) ).fireCollectionChanged(); }
public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); }
UIEETransformation extends UITransformation implements ILockObject, IRevisionObject, IAclObject,
    java.io.Serializable { public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); } }
UIEETransformation extends UITransformation implements ILockObject, IRevisionObject, IAclObject,
    java.io.Serializable { public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); } UIEETransformation( RepositoryElementMetaInterface rc, UIRepositoryDirectory parent, Repository rep ); }
UIEETransformation extends UITransformation implements ILockObject, IRevisionObject, IAclObject,
    java.io.Serializable { public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); } UIEETransformation( RepositoryElementMetaInterface rc, UIRepositoryDirectory parent, Repository rep ); @Override String getImage(); String getLockMessage(); void lock( String lockNote ); void unlock(); boolean isLocked(); RepositoryLock getRepositoryLock(); UIRepositoryObjectRevisions getRevisions(); void restoreRevision( UIRepositoryObjectRevision revision, String commitMessage ); void getAcls( UIRepositoryObjectAcls acls, boolean forceParentInheriting ); void getAcls( UIRepositoryObjectAcls acls ); void setAcls( UIRepositoryObjectAcls security ); @Override void clearAcl(); @Override boolean hasAccess( RepositoryFilePermission perm ); @Override Boolean getVersioningEnabled(); @Override Boolean getVersionCommentEnabled(); }
UIEETransformation extends UITransformation implements ILockObject, IRevisionObject, IAclObject,
    java.io.Serializable { public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); } UIEETransformation( RepositoryElementMetaInterface rc, UIRepositoryDirectory parent, Repository rep ); @Override String getImage(); String getLockMessage(); void lock( String lockNote ); void unlock(); boolean isLocked(); RepositoryLock getRepositoryLock(); UIRepositoryObjectRevisions getRevisions(); void restoreRevision( UIRepositoryObjectRevision revision, String commitMessage ); void getAcls( UIRepositoryObjectAcls acls, boolean forceParentInheriting ); void getAcls( UIRepositoryObjectAcls acls ); void setAcls( UIRepositoryObjectAcls security ); @Override void clearAcl(); @Override boolean hasAccess( RepositoryFilePermission perm ); @Override Boolean getVersioningEnabled(); @Override Boolean getVersionCommentEnabled();  }