public class ApplicationUpdater extends Object implements Serializable
Application fields will be updatedApplication,
Serialized Form| Constructor and Description |
|---|
ApplicationUpdater()
Creates an instance of
ApplicationUpdater |
| Modifier and Type | Method and Description |
|---|---|
Map<ApplicationField,Serializable> |
getFields()
Retrieves all fields to be updated
|
boolean |
hasFields()
Determines if this updater has at least one field to update
|
ApplicationUpdater |
setDescription(String description)
Defines the new value for the
Application description |
ApplicationUpdater |
setDisplayName(String displayName)
Defines the new value for the
Application display name. |
ApplicationUpdater |
setHomePageId(Long applicationPageId)
Defines the identifier of the new
ApplicationPage defined as the Application home page |
ApplicationUpdater |
setIconPath(String iconPath)
Defines the new value for the
Application icon path |
ApplicationUpdater |
setProfileId(Long profileId)
Defines the identifier of the new
Profile associated to the Application |
ApplicationUpdater |
setState(String state)
Defines the new value for the
Application state |
ApplicationUpdater |
setToken(String token)
Defines the new value for the
Application token. |
ApplicationUpdater |
setVersion(String version)
Defines the new value for the
Application version |
public ApplicationUpdater()
ApplicationUpdaterpublic Map<ApplicationField,Serializable> getFields()
Map<ApplicationField, Serializable> containing all fields to be updatedApplicationFieldpublic ApplicationUpdater setToken(String token)
Application token. It cannot be empty or null and should contain only alpha numeric
characters and the following special characters '-', '.', '_' or '~'.token - the new value for the Application tokenApplicationUpdaterApplicationpublic ApplicationUpdater setDisplayName(String displayName)
Application display name. It cannot be empty or null.displayName - the new value for the Application display nameApplicationUpdaterApplicationpublic ApplicationUpdater setVersion(String version)
Application versionversion - the new value for the Application versionApplicationUpdaterApplicationpublic ApplicationUpdater setDescription(String description)
Application descriptiondescription - the new value for the Application descriptionApplicationUpdaterApplicationpublic ApplicationUpdater setIconPath(String iconPath)
Application icon pathiconPath - the new value for the Application icon pathApplicationUpdaterApplicationpublic ApplicationUpdater setState(String state)
Application statestate - the new value for the Application stateApplicationUpdaterApplicationpublic ApplicationUpdater setProfileId(Long profileId)
Profile associated to the ApplicationprofileId - the identifier of Profile associated to the ApplicationApplicationUpdaterApplication,
Profilepublic ApplicationUpdater setHomePageId(Long applicationPageId)
ApplicationPage defined as the Application home pageapplicationPageId - the identifier of ApplicationPage associated to the ApplicationApplicationUpdaterApplication,
ApplicationPagepublic boolean hasFields()
Copyright © 2018 Bonitasoft S.A.. All rights reserved.