public interface IModule extends Remote
| Modifier and Type | Method and Description | 
|---|---|
IReport | 
beginTransaction()
Starts a new transaction or use the current one. 
 | 
IReport | 
beginTransaction(Object object)
Deprecated. 
 
use beginTransaction() method without parameter instead. 
 | 
void | 
commitTransaction()
Commits the current transaction. 
 | 
void | 
commitTransaction(Object object)
Deprecated. 
 
use commitTransaction() method without parameter instead. 
 | 
IStorageKey | 
convertId(Object object)
Allows to convert any object to its  
IStorageKey object. | 
Class<?> | 
findNativeClass(Class<?> interfaceClass)
Allows to retrieve the inner native class. 
 | 
IUser | 
getAnonymous()
Gets the anonymous user. 
 | 
IContext | 
getAnonymousContext()
Gets the context of anonymous. 
 | 
IContext | 
getContext(IUser user)
Gets a context form a  
IUser object. | 
IContext | 
getContext(String externalID)
Gets a context from the external identifier. 
 | 
IContext | 
getContextByLogin(String login)
Gets a context from the user's login. 
 | 
Object | 
getElementFromExternalElement(ExternalElement externalElement)
Retrieves the object of externalElement 
 | 
ExternalElement | 
getExternalElement(Object object)
Retrieves the externalElement of an object 
 | 
ExternalElement | 
getExternalElement(Object object,
                  String language)
Retrieves the externalElement of an object by specifying the language. 
 | 
IUser | 
getLoggedOnUser()
Retrieves the current logged on user. 
 | 
IContext | 
getLoggedOnUserContext()
Retrieves the context of the logged on user 
 | 
String | 
getProtocolPath(Object object)
Retrieves the protocol path of an object. 
 | 
String | 
getProtocolPath(Object object,
               String language)
Retrieves the protocol path of an object by specifying the language. 
 | 
String | 
getProtocolURI(Object object)
Retrieves the protocol URI of an object. 
 | 
String | 
getProtocolURI(Object object,
              boolean useNames)
Retrieves the protocol URI of an object by using names or not. 
 | 
String | 
getStaticString(IDynamicLocalizationsWrapper localizationsWrapper)
Retrieves a java.lang.String form the localizationsWrapper. 
 | 
String | 
getStaticString(String entryID)
Retrieves a java.lang.String form the string resources XML files. 
 | 
String | 
getStaticString(String entryID,
               Locale locale)
Retrieves a java.lang.String from the string resources XML files and specifying the local. 
 | 
String | 
getStaticString(String entryID,
               Locale locale,
               String arg1)
Retrieves a java.lang.String from the string resources XML files using one argument and specifying the local. 
 | 
String | 
getStaticString(String entryID,
               Locale locale,
               String arg1,
               String arg2)
Retrieves a java.lang.String from the string resources XML files using two arguments and specifying the local. 
 | 
String | 
getStaticString(String entryID,
               Locale locale,
               String arg1,
               String arg2,
               String arg3)
Retrieves a java.lang.String from the string resources XML files using three arguments and specifying the local. 
 | 
String | 
getStaticString(String entryID,
               Locale locale,
               String arg1,
               String arg2,
               String arg3,
               String arg4)
Retrieves a java.lang.String from the string resources XML files using fourth arguments and specifying the local. 
 | 
String | 
getStaticString(String entryID,
               String arg1)
Retrieves a java.lang.String from the string resources XML files using one argument. 
 | 
String | 
getStaticString(String entryID,
               String arg1,
               String arg2)
Retrieves a java.lang.String from the string resources XML files using two arguments. 
 | 
String | 
getStaticString(String entryID,
               String arg1,
               String arg2,
               String arg3)
Retrieves a java.lang.String from the string resources XML files using three arguments. 
 | 
String | 
getStaticString(String entryID,
               String arg1,
               String arg2,
               String arg3,
               String arg4)
Retrieves a java.lang.String from the string resources XML files using four arguments. 
 | 
IUser | 
getSysadmin()
Gets the sysadmin user. 
 | 
IContext | 
getSysadminContext()
Gets the context of sysadmin. 
 | 
String | 
getTranslation(String key,
              String... args)
Retrieves a java.lang.String from the key using static strings and dynamic localizations. 
 | 
String | 
getTranslationForLanguage(String language,
                         String key,
                         String... args)
Retrieves a java.lang.String for the specified language from the key using static strings and dynamic localizations. 
 | 
String | 
getTranslationKey(IProtocolSupport domainLocalizable,
                 String localizationKey,
                 String localizationSubName,
                 String localizationSubKey)
Generates a java.lang.String symbolyzing the key to use for translating this localizable with the specified localizationKey, localizationSubName and localizationSubKey. 
 | 
void | 
initialize(Properties properties)
Deprecated. 
 
Use com.axemble.vdoc.sdk.Modules.getXXXModule( Properties properties ) instead. 
 | 
boolean | 
isTransactionActive()
Checks if there is a current transaction. 
 | 
void | 
rollbackTransaction()
Roll back the current transaction. 
 | 
void | 
rollbackTransaction(Object object)
Deprecated. 
 
use rollbackTransaction() method without parameter instead. 
 | 
void | 
setTransactionTimeout(int transactionTimeout)
Allows the set the transaction timeout. 
 | 
void | 
unInitialize()
Deprecated. 
 
Use com.axemble.vdoc.sdk.Modules.releaseModule( IModule module ) instead. 
 | 
@Deprecated void initialize(Properties properties)
properties - The custom properties.@Deprecated void unInitialize()
Class<?> findNativeClass(Class<?> interfaceClass)
interfaceClass - A class type.IContext getContext(String externalID)
externalID - The external identifier.IContext object.IContext getContextByLogin(String login)
login - The user's login.IContext object.IContext getSysadminContext()
IContext object.IContext getAnonymousContext()
IContext object.IContext getLoggedOnUserContext()
IContext object.IUser getLoggedOnUser()
IUser object.IStorageKey convertId(Object object)
IStorageKey object.object - Any form of the object.IStorageKey object.@Deprecated IReport beginTransaction(Object object)
object - The synchronized object. Not used anymore.@Deprecated void commitTransaction(Object object)
object - The synchronized object. Not used anymore.@Deprecated void rollbackTransaction(Object object)
object - The synchronized object. Not used anymore.IReport beginTransaction()
void commitTransaction()
void rollbackTransaction()
boolean isTransactionActive()
void setTransactionTimeout(int transactionTimeout)
                    throws ModuleException
transactionTimeout - The transaction timeout in milliseconds.ModuleException - The default exception.String getTranslationForLanguage(String language, String key, String... args)
key - String getTranslation(String key, String... args)
key - String getTranslationKey(IProtocolSupport domainLocalizable, String localizationKey, String localizationSubName, String localizationSubKey)
domainLocalizable - localizationKey - localizationSubName - localizationSubKey - String getStaticString(IDynamicLocalizationsWrapper localizationsWrapper)
localizationsWrapper - IDynamicLocalizationsWrapper objectString getStaticString(String entryID)
entryID - The key.String getStaticString(String entryID, String arg1)
entryID - The key.arg1 - The argument (%1) contained in the resource string.String getStaticString(String entryID, String arg1, String arg2)
entryID - The key.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.String getStaticString(String entryID, String arg1, String arg2, String arg3)
entryID - The key.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.arg3 - The third argument (%1) contained in the resource string.String getStaticString(String entryID, String arg1, String arg2, String arg3, String arg4)
entryID - The key.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.arg3 - The third argument (%1) contained in the resource string.arg4 - The fourth argument (%1) contained in the resource string.String getStaticString(String entryID, Locale locale, String arg1)
entryID - The key.locale - The Locale to use.arg1 - The argument (%1) contained in the resource string.String getStaticString(String entryID, Locale locale, String arg1, String arg2)
entryID - The key.locale - The Locale to use.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.String getStaticString(String entryID, Locale locale, String arg1, String arg2, String arg3)
entryID - The key.locale - The Locale to use.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.arg3 - The third argument (%1) contained in the resource string.String getStaticString(String entryID, Locale locale, String arg1, String arg2, String arg3, String arg4)
entryID - The key.locale - The Locale to use.arg1 - The first argument (%1) contained in the resource string.arg2 - The second argument (%1) contained in the resource string.arg3 - The third argument (%1) contained in the resource string.arg4 - The third argument (%1) contained in the resource string.String getStaticString(String entryID, Locale locale)
entryID - The key.locale - The Locale to use.String getProtocolURI(Object object) throws ModuleException
object - The object to retrieve the protocol URI from.ModuleException - The default exception.String getProtocolURI(Object object, boolean useNames) throws ModuleException
object - The object to retrieve the protocol URI from.useNames - Uses names or not.ModuleException - The default exception.String getProtocolPath(Object object) throws ModuleException
object - The object to retrieve the protocol path from.ModuleException - The default exception.String getProtocolPath(Object object, String language) throws ModuleException
object - The object to retrieve the protocol path from.language - The requested language.ModuleException - The default exception.ExternalElement getExternalElement(Object object) throws ModuleException
object - The object to retrieve the external element fromModuleException - The default exception.ExternalElement getExternalElement(Object object, String language) throws ModuleException
object - The object to retrieve the external element fromlanguage - The requested language.ModuleException - The default exception.Object getElementFromExternalElement(ExternalElement externalElement) throws ModuleException
externalElement - The externalElement to retrieve the object fromModuleException - The default exception.Copyright © 2019 Visiativ Software. All rights reserved.