Package org.guvnor.inbox.model

Examples of org.guvnor.inbox.model.InboxIncomingPageRow


    private InboxPageRow createInboxPageRow( InboxEntry inboxEntry,
                                             InboxPageRequest request ) {
        InboxPageRow row = null;
        if ( request.getInboxName().equals( InboxServiceImpl.INCOMING_ID ) ) {
            InboxIncomingPageRow tr = new InboxIncomingPageRow();
            tr.setNote( inboxEntry.getNote() );
            tr.setPath( makePath( inboxEntry.getItemPath() ) );
            tr.setTimestamp( new Date( inboxEntry.getTimestamp() ) );
            tr.setFrom( inboxEntry.getFrom() );
            row = tr;

        } else {
            InboxPageRow tr = new InboxPageRow();
            tr.setNote( inboxEntry.getNote() );
            tr.setPath( makePath( inboxEntry.getItemPath() ) );
            tr.setTimestamp( new Date( inboxEntry.getTimestamp() ) );
            row = tr;
        }
        return row;
    }
View Full Code Here

TOP

Related Classes of org.guvnor.inbox.model.InboxIncomingPageRow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.