📄 persistencesession.java
字号:
package org.jbpm.persistence;
import java.util.*;
import java.util.Collection;
import java.util.List;
import org.jbpm.model.definition.impl.*;
/**
* is a session with a persistent object data store.
*/
public interface PersistenceSession {
// object methods
Object load(Class clazz, Long id);
// finders...
/**
* @return the latest process definition or null if no such definition is present.
*/
DefinitionImpl findLatestDefinition(String name);
/**
* retrieves the latest version of every process.
*/
List findAllDefinitions();
/**
* retrieves the tasklist
*/
Collection findTokensByActor(String actorId);
/**
* retrieves the undoable invocation logs for the given process definition
* after (or at) the given date sorted by date (descending).
*/
List findUndoableInvocationLogs(Long processInstanceId, Date date);
/**
* searches for all jobs that are past their dueDate.
*/
Iterator findJobsToDo();
/**
* searches for all jobs by reference.
*/
List findJobsByReference(String reference);
/**
* retrieves a file for the given definition.
* used by the database file manager.
*/
FileImpl findFile(Long definitionId, String fileName);
/**
* closes this session.
*/
void close();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -