All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.issue.EditablePublishRequestIssue Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.issue;

public class EditablePublishRequestIssue
    extends EditableIssue
{
    public PublishRequestIssueSchedule schedule;

    public EditablePublishRequestIssue( final PublishRequestIssue source )
    {
        super( source );
        this.schedule = source.getSchedule();
    }

    @Override
    public Issue.Builder builder()
    {
        return PublishRequestIssue.create().
            id( source.getId() ).
            index( source.getIndex() ).
            name( name ).
            title( title ).
            description( description ).
            status( issueStatus ).
            modifiedTime( source.getModifiedTime() ).
            modifier( source.getModifier() ).
            createdTime( source.getCreatedTime() ).
            creator( source.getCreator() ).
            addApproverIds( approverIds ).
            setPublishRequest( publishRequest ).
            schedule( schedule );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy