|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.ProcessService
Main class in PAPI framework.
ProcessServiceSession,
ProcessServiceNESession| Nested Class Summary | |
static interface |
ProcessService.Factory
|
| Field Summary | |
static int |
DEFAULT_CACHE_SIZE
|
| Constructor Summary | |
ProcessService()
|
|
| Method Summary | |
abstract void |
close()
Close the service, and disconnect all the sessions that are still connected. |
static ProcessService |
create(fuego.directory.DirectoryPassport passport,
String baseFolder,
int instancesCacheSize)
|
static ProcessService |
create(String url)
Temporary method |
static ProcessService |
create(String url,
String baseFolder)
Creates a new ProcessService. |
static ProcessService |
create(String url,
String baseFolder,
int instancesCacheSize)
Creates a new ProcessService. |
static ProcessService |
create(String url,
String id,
String baseFolder,
int instancesCacheSize)
Creates a new ProcessService. |
static Filter |
createFilter()
Return a new Filter |
static Filter |
createFilter(int matchingCriteria)
Deprecated. |
abstract ProcessServiceNESession |
createNESession(fuego.lang.ConnectionPassport passport,
String host)
Deprecated. all sessions are non exclusive now. Besides, all operations can be executed with a non exclusive session. Use createSession(ConnectionPassport, String) instead |
abstract ProcessServiceNESession |
createNESession(fuego.lang.ConnectionPassport passport,
String host,
boolean takeOver)
Deprecated. all sessions are non exclusive now. Besides, all operations can be executed with a non exclusive session. Use createSession(ConnectionPassport, String) instead |
abstract ProcessServiceNESession |
createNESession(String userId,
String password,
String host)
Deprecated. all sessions are non exclusive now. Besides, all operations can be executed with a non exclusive session. Use createSession(String, String, String) instead |
abstract ProcessServiceNESession |
createNESession(String userId,
String password,
String host,
boolean takeOver)
Deprecated. all sessions are non exclusive now. Besides, all operations can be executed with a non exclusive session. Use createSession(String, String, String) instead |
abstract fuego.lang.ConnectionPassport |
createPassport(String participant)
Returns a directory passport to connect to the process service. |
abstract fuego.lang.ConnectionPassport |
createPassportWithPreset(String preset)
Returns a directory passport with preset to connect to the process service. |
abstract ProcessServiceSession |
createSession(fuego.lang.ConnectionPassport passport,
String host)
Creates a ProcessService session. |
abstract ProcessServiceSession |
createSession(fuego.lang.ConnectionPassport passport,
String host,
boolean takeOver)
Deprecated. takeOver argument is not longer supported. Use createSession(ConnectionPassport, String) instead |
abstract ProcessServiceSession |
createSession(String userId,
String password,
String host)
Creates a ProcessService session. |
abstract ProcessServiceSession |
createSession(String userId,
String password,
String host,
boolean takeOver)
Deprecated. takeOver argument is not longer supported. Use createSession(String, String, String) instead |
static ProcessService |
createWithId(String id)
Temporary method |
static ProcessService |
createWithId(String id,
String baseFolder)
Creates a new ProcessService. |
static ProcessService |
createWithId(String id,
String baseFolder,
int instancesCacheSize)
Creates a new ProcessService. |
abstract String |
getUserDocumentationFolder()
Returns the user folder for storing process documentation |
static char[] |
invalidIdCharacters()
Set of invalid values accepted in an identification. |
abstract void |
setLocale(Locale locale,
ProcessServiceNESession session)
Sets the given locale in all the connected engines by the given Session, in order to receive all the messages from them in this locale. |
abstract void |
setUserDocumentationFolder(String userDocumentationFolder)
Sets the user folder for storing process documentation |
abstract void |
startUpdater(fuego.lang.ConnectionPassport passport,
long updateFrecuency)
Starts the updater in order to realize every change in the views, presentations and groups. |
abstract void |
startViewUpdater(fuego.lang.ConnectionPassport passport,
long updateFrecuency)
Deprecated. |
abstract void |
stopUpdater()
Stops the updater If the updater was not initialized previously, nothing is done |
abstract void |
stopViewUpdater()
Deprecated. |
abstract String |
toString()
Return an object description |
static void |
updateOrganizationalInformationFromDirectory()
|
abstract void |
updateSessionViewsForNewInstances(boolean updateSessionViews)
Notify sessions when an instance is updated, was created or was completed to update. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DEFAULT_CACHE_SIZE
| Constructor Detail |
public ProcessService()
| Method Detail |
public abstract void setLocale(Locale locale,
ProcessServiceNESession session)
throws OperationException
OperationExceptionpublic abstract void setUserDocumentationFolder(String userDocumentationFolder)
public abstract String getUserDocumentationFolder()
public abstract void close()
public abstract ProcessServiceNESession createNESession(String userId,
String password,
String host)
throws OperationException
createSession(String, String, String) instead
OperationException
public abstract ProcessServiceNESession createNESession(String userId,
String password,
String host,
boolean takeOver)
throws OperationException
createSession(String, String, String) instead
userId - String containing the user's uid or login namepassword - String containing in cleartext the user's password for this directoryhost - The host where the participant is connected from. The Fuego Administrator can track this from the
Execution Console.takeOver - If this session should connect to an Engine where the same participant is already connected
from another location (taking over of the connection in that Engine)
OperationException - if the user couldn't be authenticated against the directory serverProcessServiceNESession,
ProcessServiceSession
public abstract ProcessServiceNESession createNESession(fuego.lang.ConnectionPassport passport,
String host)
throws OperationException
createSession(ConnectionPassport, String) instead
OperationException
public abstract ProcessServiceNESession createNESession(fuego.lang.ConnectionPassport passport,
String host,
boolean takeOver)
throws OperationException
createSession(ConnectionPassport, String) instead
passport - a directory passport that provides the participant informationhost - The host where the participant is connected from. The Fuego Administrator can track this from the
Execution Console.takeOver - If this session should connect to an Engine where the same participant is already connected
from another location (taking over of the connection in that Engine)
OperationExceptionProcessServiceNESession,
ProcessServiceSessionpublic abstract fuego.lang.ConnectionPassport createPassport(String participant)
participantpublic abstract fuego.lang.ConnectionPassport createPassportWithPreset(String preset)
preset
public abstract ProcessServiceSession createSession(String userId,
String password,
String host)
throws OperationException
OperationException
public abstract ProcessServiceSession createSession(String userId,
String password,
String host,
boolean takeOver)
throws OperationException
createSession(String, String, String) instead
userId - String containing the user's uid or login namepassword - String containing in cleartext the user's password for this directoryhost - The host where the participant is connected from. The Fuego Administrator can track this from the
Execution Console.takeOver - If this session should connect to an Engine where the same participant is already connected
from another location (taking over of the connection in that Engine)
OperationException - if the user couldn't be authenticated against the directory serverProcessServiceSession
public abstract ProcessServiceSession createSession(fuego.lang.ConnectionPassport passport,
String host)
throws OperationException
OperationException
public abstract ProcessServiceSession createSession(fuego.lang.ConnectionPassport passport,
String host,
boolean takeOver)
throws OperationException
createSession(ConnectionPassport, String) instead
passport - a directory passport that provides the participant informationhost - The host where the participant is connected from. The Fuego Administrator can track this from the
Execution Console.takeOver - If this session should connect to an Engine where the same participant is already connected
from another location (taking over of the connection in that Engine)
OperationExceptionProcessServiceNESession,
ProcessServiceSession
public abstract void startUpdater(fuego.lang.ConnectionPassport passport,
long updateFrecuency)
throws OperationException
passport - Passport to create a new session that will be use to sinchronize.updateFrecuency - Frecuency to sinchronize views, in milliseconds.
OperationException
public abstract void startViewUpdater(fuego.lang.ConnectionPassport passport,
long updateFrecuency)
throws OperationException
passport - Passport to create a new session that will be use to sinchronize viewsupdateFrecuency - Frecuency to sinchronize views, in milliseconds.
OperationException
public abstract void stopUpdater()
throws OperationException
OperationException
public abstract void stopViewUpdater()
throws OperationException
OperationExceptionpublic abstract String toString()
public static ProcessService create(String url)
throws CommunicationException
CommunicationException
public static ProcessService create(String url,
String baseFolder)
throws CommunicationException
url - The url of the fuego directorybaseFolder - The local folder where to store catalogs jars (containing XObject classes) and
process/activity documentation
url
CommunicationException
public static ProcessService create(String url,
String baseFolder,
int instancesCacheSize)
throws CommunicationException
url - The url of the fuego directorybaseFolder - The local folder where to store catalogs jars (containing XObject classes) and
process/activity documentationinstancesCacheSize - Max instances cache size per process
url
CommunicationException
public static ProcessService create(fuego.directory.DirectoryPassport passport,
String baseFolder,
int instancesCacheSize)
throws CommunicationException
CommunicationException
public static ProcessService create(String url,
String id,
String baseFolder,
int instancesCacheSize)
throws CommunicationException
url - The url of the fuego directory. If null it will try to obtain it from the fuego directory id.id - The id of the fuego directory.baseFolder - The local folder where to store catalogs jars (containing XObject classes) and
process/activity documentationinstancesCacheSize - Max instances cache size per process
url
CommunicationExceptionpublic static Filter createFilter()
public static Filter createFilter(int matchingCriteria)
matchingCriteria - (this value is ignored)
public static ProcessService createWithId(String id)
throws CommunicationException
CommunicationException
public static ProcessService createWithId(String id,
String baseFolder)
throws CommunicationException
id - The directory ID of the fuego directorybaseFolder - The local folder where to store catalogs jars (containing XObject classes) and
process/activity documentation
id
CommunicationException
public static ProcessService createWithId(String id,
String baseFolder,
int instancesCacheSize)
throws CommunicationException
id - The directory ID of the fuego directorybaseFolder - The local folder where to store catalogs jars (containing XObject classes) and
process/activity documentationinstancesCacheSize - Max instances cache size per process
id
CommunicationExceptionpublic static char[] invalidIdCharacters()
public abstract void updateSessionViewsForNewInstances(boolean updateSessionViews)
updateSessionViews - True if you want to use the method ProcessServiceNESession.hasNewInstances(...)
This method has effects over the method ProcessServiceNESession.hasNewInstances(...)ProcessServiceNESession.hasNewInstances(),
ProcessServiceNESession.hasNewInstances(String)public static void updateOrganizationalInformationFromDirectory()
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||