Class AbstractApplicationImpl
java.lang.Object
org.bonitasoft.engine.bpm.internal.BaseElementImpl
org.bonitasoft.engine.business.application.impl.AbstractApplicationImpl
- All Implemented Interfaces:
Serializable,BaseElement,BonitaObject,IApplication
- Direct Known Subclasses:
ApplicationImpl,ApplicationLinkImpl
Contains the meta information of a Bonita Living Application.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractApplicationImpl(String token, String version, String description) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongRetrieves 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.inthashCode()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 modifiedvoidsetCreatedBy(long createdBy) voidsetCreationDate(Date creationDate) voidsetDisplayName(String displayName) voidsetEditable(boolean editable) voidsetHasIcon(boolean hasIcon) voidsetIconPath(String iconPath) voidsetLastUpdateDate(Date lastUpdateDate) voidsetProfileId(Long profileId) voidvoidsetUpdatedBy(long updatedBy) voidsetVisibility(ApplicationVisibility visibility) toString()Methods inherited from class org.bonitasoft.engine.bpm.internal.BaseElementImpl
canEqual, getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.bpm.BaseElement
getId
-
Constructor Details
-
AbstractApplicationImpl
-
-
Method Details
-
getVisibility
Description copied from interface:IApplicationRetrieves 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- Specified by:
getVisibilityin interfaceIApplication- Returns:
- the enum ApplicationVisibility of the application
-
setVisibility
-
getToken
Description copied from interface:IApplicationRetrieves theApplicationtoken- Specified by:
getTokenin interfaceIApplication- Returns:
- the
Applicationtoken
-
getDisplayName
Description copied from interface:IApplicationRetrieves theApplicationdisplay name- Specified by:
getDisplayNamein interfaceIApplication- Returns:
- the
Applicationdisplay name
-
setDisplayName
-
getDescription
Description copied from interface:IApplicationRetrieves theApplicationdescription- Specified by:
getDescriptionin interfaceIApplication- Returns:
- the
Applicationdescription
-
getVersion
Description copied from interface:IApplicationRetrieves theApplicationversion- Specified by:
getVersionin interfaceIApplication- Returns:
- the
Applicationversion
-
getIconPath
Description copied from interface:IApplicationRetrieves the icon path of thisApplication- Specified by:
getIconPathin interfaceIApplication- Returns:
- the icon path of this
Application
-
setIconPath
-
getCreationDate
Description copied from interface:IApplicationRetrieves theApplicationcreation date- Specified by:
getCreationDatein interfaceIApplication- Returns:
- the
Applicationcreation date
-
setCreationDate
-
getCreatedBy
public long getCreatedBy()Description copied from interface:IApplicationRetrieves the identifier of the user that created thisApplication- Specified by:
getCreatedByin interfaceIApplication- Returns:
- the identifier of the user that created this
Application
-
setCreatedBy
public void setCreatedBy(long createdBy) -
getLastUpdateDate
Description copied from interface:IApplicationRetrieves theApplicationlast updated date- Specified by:
getLastUpdateDatein interfaceIApplication- Returns:
- the
Applicationlast updated date
-
setLastUpdateDate
-
getUpdatedBy
public long getUpdatedBy()Description copied from interface:IApplicationRetrieves the identifier of the user that updated thisApplication- Specified by:
getUpdatedByin interfaceIApplication- Returns:
- the identifier of the user that updated this
Application
-
setUpdatedBy
public void setUpdatedBy(long updatedBy) -
getState
Description copied from interface:IApplicationRetrieves theApplicationstate. The possible values areApplicationState.ACTIVATEDandApplicationState.DEACTIVATED- Specified by:
getStatein interfaceIApplication- Returns:
- the
Applicationstate - See Also:
-
setState
-
getProfileId
Description copied from interface:IApplicationRetrieves the identifier of the associatedProfileor null if there is no profile is associated to this application.- Specified by:
getProfileIdin interfaceIApplication- 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"
-
setProfileId
-
hasIcon
public boolean hasIcon()Description copied from interface:IApplicationIndicate the presence or absence of anIconfor the Application that can be retrieved usingorg.bonitasoft.engine.api.ApplicationAPI#getIconOfApplication(long applicationId)- Specified by:
hasIconin interfaceIApplication- Returns:
- true if there is an icon for this application
- See Also:
-
setHasIcon
public void setHasIcon(boolean hasIcon) -
isEditable
public boolean isEditable()Description copied from interface:IApplicationIndicates whether the application can be modified- Specified by:
isEditablein interfaceIApplication- Returns:
- Whether the application can be modified
-
setEditable
public void setEditable(boolean editable) -
equals
- Overrides:
equalsin classBaseElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseElementImpl
-
toString
- Overrides:
toStringin classBaseElementImpl
-