public class NotifApplicationRequest extends AbstractNotifBaseRequest
mAttributeGroupName, mNotificationEventTypeEnum, mNotificationMediumEnum, mPipelineAttachments, mPipelineNotes
DATE_FORMAT
Constructor and Description |
---|
NotifApplicationRequest(FolderRequestDataObject pFolderDataObject,
java.lang.String pAttributeGroupName,
NotificationMediumEnum pMediumEnum,
NotificationEventTypeEnum pNotificationEventTypeEnum)
Creates the notification payload
|
Modifier and Type | Method and Description |
---|---|
void |
addRecipients() |
NotifFolder |
getApplication()
Returns the linked application for this application request.
|
NotifFolderVersion |
getApplicationVersion()
Returns the generated version for this request.
|
java.lang.String |
getApplicationWorkflowType()
Returns the type name of the request (i.e.
|
java.lang.String |
getApplicationWorkflowTypeCode()
Returns the display name of the request type (i.e.
|
Project.ProjectWFTypeEnum |
getApplicationWorkflowTypeEnum()
Returns the type enum of the request (i.e.
|
java.util.List<java.lang.String> |
getApprovalComments()
Returns any approval comments for this application request as a list of strings.
|
java.util.List<EmailAttachment> |
getAttachments()
Returns a list of email attachments pertaining to the event which has occurred.
|
java.lang.String |
getCreatedBy()
Returns the name of the user that submitted this request.
|
java.sql.Timestamp |
getCreatedOn()
Returns the timestamp of when this request was submitted.
|
NotifEnvironment |
getEnvironment()
Returns the environment the request was submitted for.
|
java.lang.Long |
getId()
Returns the internal identifier of the application request.
|
java.lang.String |
getRequestCreatedByFullName()
Returns the full name of the user that submitted this request ("[First Name] [Last Name]").
|
java.lang.String |
getRequestStartTime()
Returns the requested start time for this request, if applicable.
|
java.lang.String |
getStatus()
Returns the display name of the application request status (e.g.
|
java.lang.String |
getStatusCode()
Returns the type name of the application request status (e.g.
|
RequestStatusEnum |
getStatusEnum()
Returns the type enum of the application request status (e.g.
|
addAttachment, addAttachment, addAttachment, addAttachment, addRecipientsByCommittersIfEligible, addRecipientsByGroupId, addRecipientsByGroupNameIfEligible, addRecipientsByPipelineRoleMember, addRecipientsByPipelineRoleUserOrEmailMember, addRecipientsBySubscriptions, addRecipientsByUserNameIfEligible, addRecipientsForPiplelineGate, addRecipientsForPiplelineStepExecution, getApprovalGateRoleByGateId, getApprovalTaskUrlPath, getFolderWithHierarchy, getHumanTaskIdentityUuid, getHumanTaskUrlPath, getManualStepRoleByStepId, getPipelineStageExecutionSnapshotQueryResultRow, getRecipients, getUserFullName, hasAttachments, isGroupMemberOfPipelineRole, isSendLogAttachments, isShowNotesAndSendAttachments, populatePipelineAttachmentsAndNotes, sendLogAttachments, showNotesAndSendAttachments, showTextForMissingUrlSetup, toString
public NotifApplicationRequest(FolderRequestDataObject pFolderDataObject, java.lang.String pAttributeGroupName, NotificationMediumEnum pMediumEnum, NotificationEventTypeEnum pNotificationEventTypeEnum)
pFolderDataObject
- The application request data.pAttributeGroupName
- The medium settings group name.pMediumEnum
- The medium type.pNotificationEventTypeEnum
- The event type.public void addRecipients()
public java.lang.Long getId()
public java.lang.String getApplicationWorkflowTypeCode()
public Project.ProjectWFTypeEnum getApplicationWorkflowTypeEnum()
public java.lang.String getApplicationWorkflowType()
public NotifEnvironment getEnvironment()
public java.lang.String getStatus()
public java.lang.String getStatusCode()
public RequestStatusEnum getStatusEnum()
public NotifFolder getApplication()
public java.lang.String getCreatedBy()
public java.lang.String getRequestCreatedByFullName()
public java.sql.Timestamp getCreatedOn()
public NotifFolderVersion getApplicationVersion() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<EmailAttachment> getAttachments() throws java.sql.SQLException
NotificationPayload
getAttachments
in interface NotificationPayload
getAttachments
in class AbstractNotifBaseRequest
java.sql.SQLException
public java.util.List<java.lang.String> getApprovalComments() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getRequestStartTime()