Package com.groiss.org
Interface Application
- All Superinterfaces:
Comparable<Application>
,Serializable
Interface for describing an application. Process definitions, forms, rights, roles, tasks,
and functions belong to applications.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the configured path to the directory where the application files are installed.Deprecated, for removal: This API element is subject to removal in a future version.Get the description.getId()
Return the id of the application.Returns the directory where the application files are installed.getName()
Returns the name of the applicationlong
getOid()
Returns the unique oid of the object.Returns theOrgTree
used by this applicationReturns the directory in the configured VAR directory reserved for this application.void
setDescription
(String description) Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
DEFAULT
static final long DEFAULTThe default application oid.- See Also:
-
-
Method Details
-
getOid
long getOid()Returns the unique oid of the object.- Returns:
- the oid
-
getId
String getId()Return the id of the application.- Returns:
- the id
-
getName
String getName()Returns the name of the application- Returns:
- the name, a string object
-
getDescription
String getDescription()Get the description.- Returns:
- the description
-
setDescription
-
getApplDirectory
String getApplDirectory()Returns the configured path to the directory where the application files are installed. -
getApplicationClass
Deprecated, for removal: This API element is subject to removal in a future version.Returns an ApplicationInterface object for this application. This object is an instance of the class specified for this application. It contains some methods for tailoring the application behavior.- Returns:
- an
ApplicationAdapter
object
-
getVersion
String getVersion() -
getOrgTree
OrgTree getOrgTree()Returns theOrgTree
used by this application- Returns:
- the
OrgTree
-
getStartupPosition
String getStartupPosition() -
getInstallationDirectory
File getInstallationDirectory()Returns the directory where the application files are installed. May be null if no application directory is configured.- Returns:
- the application's installation directory
-
getVarDirectory
File getVarDirectory()Returns the directory in the configured VAR directory reserved for this application. The returned directory may not exist already if not created/used so far.- Returns:
- the directory to store application data outside of the installation directory
-
ApplicationAdapter.of(String)
orApplicationAdapter.of(Application)