public class

ProjectRoleActorParserImpl

extends Object
implements ProjectRoleActorParser
java.lang.Object
   ↳ com.atlassian.jira.imports.project.parser.ProjectRoleActorParserImpl

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.imports.project.parser.ProjectRoleActorParser
Public Constructors
ProjectRoleActorParserImpl()
Public Methods
EntityRepresentation getEntityRepresentation(ExternalProjectRoleActor projectRoleActor)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the provided ProjectRoleActor.
ExternalProjectRoleActor parse(Map attributes)
Transforms a set of attributes into an ExternalProjectRoleActor.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.parser.ProjectRoleActorParser

Public Constructors

public ProjectRoleActorParserImpl ()

Public Methods

public EntityRepresentation getEntityRepresentation (ExternalProjectRoleActor projectRoleActor)

Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the provided ProjectRoleActor.

Parameters
projectRoleActor contains the populated fields that will end up in the EntityRepresentations map.
Returns
  • an EntityRepresentation that can be persisted using OfBiz.

public ExternalProjectRoleActor parse (Map attributes)

Transforms a set of attributes into an ExternalProjectRoleActor.

Parameters
attributes is a map of key value pairs that represent the attributes of an ExternalProjectRoleActor. The following attributes are required, otherwise a ParseException will be thrown:
  • id (required)
  • projectroleid (required)
  • roletype (required)
  • roletypeparameter (required)
Returns