public class ApplicationUpdater extends Object implements Serializable
Application
fields will be updatedApplication
,
Serialized FormConstructor 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()
ApplicationUpdater
public Map<ApplicationField,Serializable> getFields()
Map
<ApplicationField
, Serializable
> containing all fields to be updatedApplicationField
public 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
tokenApplicationUpdater
Application
public ApplicationUpdater setDisplayName(String displayName)
Application
display name. It cannot be empty or null.displayName
- the new value for the Application
display nameApplicationUpdater
Application
public ApplicationUpdater setVersion(String version)
Application
versionversion
- the new value for the Application
versionApplicationUpdater
Application
public ApplicationUpdater setDescription(String description)
Application
descriptiondescription
- the new value for the Application
descriptionApplicationUpdater
Application
public ApplicationUpdater setIconPath(String iconPath)
Application
icon pathiconPath
- the new value for the Application
icon pathApplicationUpdater
Application
public ApplicationUpdater setState(String state)
Application
statestate
- the new value for the Application
stateApplicationUpdater
Application
public ApplicationUpdater setProfileId(Long profileId)
Profile
associated to the Application
profileId
- the identifier of Profile
associated to the Application
ApplicationUpdater
Application
,
Profile
public ApplicationUpdater setHomePageId(Long applicationPageId)
ApplicationPage
defined as
the Application
home pageapplicationPageId
- the identifier of ApplicationPage
associated to the Application
ApplicationUpdater
Application
,
ApplicationPage
public boolean hasFields()
Copyright © 2020 Bonitasoft S.A. All rights reserved.