本文整理匯總了Java中org.wso2.carbon.humantask.stub.ui.task.client.api.types.TPresentationSubject類的典型用法代碼示例。如果您正苦於以下問題:Java TPresentationSubject類的具體用法?Java TPresentationSubject怎麽用?Java TPresentationSubject使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
TPresentationSubject類屬於org.wso2.carbon.humantask.stub.ui.task.client.api.types包,在下文中一共展示了TPresentationSubject類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getTaskPresentationHeader
import org.wso2.carbon.humantask.stub.ui.task.client.api.types.TPresentationSubject; //導入依賴的package包/類
/**
* Returns the task presentation header
* @param pSub
* @param pName
* @return
*/
public static String getTaskPresentationHeader(TPresentationSubject pSub,
TPresentationName pName) {
String presentationName = "";
if (pSub != null && pSub.getTPresentationSubject() != null) {
presentationName = pSub.getTPresentationSubject();
} else if (pName != null && pName.getTPresentationName() != null) {
presentationName = pName.getTPresentationName();
}
return presentationName;
}
示例2: WorkItem
import org.wso2.carbon.humantask.stub.ui.task.client.api.types.TPresentationSubject; //導入依賴的package包/類
public WorkItem(URI id, TPresentationSubject presentationSubject,
TPresentationName presentationName, TPriority priority, TStatus status,
Calendar createdTime, String role) {
this.id = id;
this.presentationSubject = presentationSubject;
this.presentationName = presentationName;
this.priority = priority;
this.status = status;
this.createdTime = createdTime;
this.role = role;
}
示例3: getPresentationSubject
import org.wso2.carbon.humantask.stub.ui.task.client.api.types.TPresentationSubject; //導入依賴的package包/類
public TPresentationSubject getPresentationSubject() {
return presentationSubject;
}