Interface IApplication
- All Superinterfaces:
BaseElement,BonitaObject,Serializable
- All Known Subinterfaces:
Application,ApplicationLink
- All Known Implementing Classes:
AbstractApplicationImpl,ApplicationImpl,ApplicationLinkImpl
Contains the meta information of a Bonita Living Application.
-
Method Summary
Modifier and TypeMethodDescriptionlongRetrieves the identifier of the user that created thisApplicationRetrieves theApplicationcreation dateRetrieves theApplicationdescriptionRetrieves theApplicationdisplay nameRetrieves the icon path of thisApplicationRetrieves theApplicationlast updated dateRetrieves the identifier of the associatedProfileor null if there is no profile is associated to this application.getState()Retrieves theApplicationstate.getToken()Retrieves theApplicationtokenlongRetrieves the identifier of the user that updated thisApplicationRetrieves theApplicationversionRetrieves the visibility of the Application.booleanhasIcon()Indicate the presence or absence of anIconfor the Application that can be retrieved usingorg.bonitasoft.engine.api.ApplicationAPI#getIconOfApplication(long applicationId)booleanIndicates whether the application can be modifiedMethods inherited from interface org.bonitasoft.engine.bpm.BaseElement
getId
-
Method Details
-
getToken
String getToken()Retrieves theApplicationtoken- Returns:
- the
Applicationtoken
-
getDisplayName
String getDisplayName()Retrieves theApplicationdisplay name- Returns:
- the
Applicationdisplay name
-
getVersion
String getVersion()Retrieves theApplicationversion- Returns:
- the
Applicationversion
-
getDescription
String getDescription()Retrieves theApplicationdescription- Returns:
- the
Applicationdescription
-
getIconPath
String getIconPath()Retrieves the icon path of thisApplication- Returns:
- the icon path of this
Application
-
getCreationDate
Date getCreationDate()Retrieves theApplicationcreation date- Returns:
- the
Applicationcreation date
-
getCreatedBy
long getCreatedBy()Retrieves the identifier of the user that created thisApplication- Returns:
- the identifier of the user that created this
Application
-
getLastUpdateDate
Date getLastUpdateDate()Retrieves theApplicationlast updated date- Returns:
- the
Applicationlast updated date
-
getUpdatedBy
long getUpdatedBy()Retrieves the identifier of the user that updated thisApplication- Returns:
- the identifier of the user that updated this
Application
-
getState
String getState()Retrieves theApplicationstate. The possible values areApplicationState.ACTIVATEDandApplicationState.DEACTIVATED- Returns:
- the
Applicationstate - See Also:
-
getProfileId
Long getProfileId()Retrieves the identifier of the associatedProfileor null if there is no profile is associated to this application.- Returns:
- the identifier of the associated
Profileor null if there is no profile is associated to this application. - See Also:
-
- "org.bonitasoft.engine.profile.Profile"
-
hasIcon
boolean hasIcon()Indicate the presence or absence of anIconfor the Application that can be retrieved usingorg.bonitasoft.engine.api.ApplicationAPI#getIconOfApplication(long applicationId)- Returns:
- true if there is an icon for this application
- Since:
- 7.13.0
- See Also:
-
getVisibility
ApplicationVisibility getVisibility()Retrieves the visibility of the Application. Possible values are: ALL - everyone can use the application TECHNICAL_USER - Only the technical user can use the application RESTRICTED - Access to the application is determined by the user profile These value are purely indicative, changing them in the application object won't change the accessibility to the the actual application- Returns:
- the enum ApplicationVisibility of the application
-
isEditable
boolean isEditable()Indicates whether the application can be modified- Returns:
- Whether the application can be modified
-