本文整理汇总了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;
}