
com.adobe.granite.workflow.exec.InboxItem Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2012 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.granite.workflow.exec;
import java.util.Date;
import aQute.bnd.annotation.ProviderType;
/**
* Defines an item which is available in the workflow inbox
*/
@ProviderType
public interface InboxItem {
/**
* Returns the unique identifier for this InboxItem
* @return the ID
*/
String getId();
/**
* Returns the current assignee, respectively the info in which
* inbox the InboxItem "resides".
*
* @return current assignee
*/
String getCurrentAssignee();
/**
* Returns the start time of the InboxItem
.
*
* @return The start time of the InboxItem
.
*/
Date getTimeStarted();
/**
* Returns the end time of the InboxItem
.
*
* @return The end time of the InboxItem
.
*/
Date getTimeEnded();
/**
* Returns the status of the InboxItem
.
*
* @return the status of the InboxItem
*/
Status getStatus();
/**
* Returns the type of this InboxItem. Different implementations of InboxItem should return unique values
* @return the item type
*/
String getItemType();
/**
* Returns the subtype of this InboxItem.
* @return the subtype of this item, or null if there is no subtype.
*/
String getItemSubType();
/**
* Returns the path of the payload's content for this InboxItem if possible. If the payload's content is not
* stored as a path then null is returned.
* @return the payload's content path or null.
*/
String getContentPath();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy