use of com.serena.dmclient.api.DimensionsObjectFactory in project Gargoyle by callakrsos.
the class DimList method listEntry.
/********************************
* 작성일 : 2016. 5. 9. 작성자 : KYJ
*
* 디멘전 트리 순회
*
* 2016-11-03 버그 수정
*
* @param path
* @param revision
* @param exceptionHandler
* @return
********************************/
public void listEntry(String projSpec, String path, DimDirHandler handler) throws Exception {
DimensionsConnection conn = null;
try {
conn = getConnection();
DimensionsObjectFactory objectFactory = conn.getObjectFactory();
Project project = objectFactory.getProject(projSpec);
RepositoryFolder rootFoler = project.findRepositoryFolderByPath(path);
listEntry(rootFoler, handler);
} finally {
manager.close(conn);
}
}
use of com.serena.dmclient.api.DimensionsObjectFactory in project Gargoyle by callakrsos.
the class AbstractDimmension method getProject.
public Project getProject(DimensionsConnection conn, String projSpec) {
DimensionsObjectFactory fac = getDimmensionObjectFactory(conn);
Project projObj = fac.getProject(projSpec);
return projObj;
}
Aggregations