本文整理汇总了Java中org.kuali.rice.krad.util.NoteType.BUSINESS_OBJECT属性的典型用法代码示例。如果您正苦于以下问题:Java NoteType.BUSINESS_OBJECT属性的具体用法?Java NoteType.BUSINESS_OBJECT怎么用?Java NoteType.BUSINESS_OBJECT使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.kuali.rice.krad.util.NoteType
的用法示例。
在下文中一共展示了NoteType.BUSINESS_OBJECT属性的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getLicenseRequestDocNum
/**
* This method gets the licenseRequest document number for the corresponding requisition document
*
* @return licenseRequestDocNum
* @see org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#getLicenseRequestDocnum()
*/
/* @Override
public String getLicenseRequestDocNum(){
String licenseRequestDocNum = "";
*//*OleWebServiceProvider oleWebServiceProvider = (OleWebServiceProvider) GlobalResourceLoader.getService(OLEConstants.OLE_WEB_SERVICE_PROVIDER);
OleLicenseRequestWebService oleLicenseRequestWebService =
(OleLicenseRequestWebService) oleWebServiceProvider.
getService("org.kuali.ole.select.document.service.OleLicenseRequestWebService", "oleLicenseRequestWebService", getOleUrlResolver().getLicenseURL());
String reqDocNum = "";
if(this instanceof LineItemReceivingDocument) {
reqDocNum = this.getDocumentNumber();
}
else if (this instanceof CorrectionReceivingDocument) {
}
licenseRequestDocNum = oleLicenseRequestWebService.getLicenseRequestDocNumber(reqDocNum); *//*
return licenseRequestDocNum;
}*/
@Override
public NoteType getNoteType() {
return NoteType.BUSINESS_OBJECT;
}
示例2: getNoteType
@Override
public NoteType getNoteType() {
return NoteType.BUSINESS_OBJECT;
}
示例3: getNoteType
/**
* The {@link NoteType} for maintenance documents is determined by whether or not the underlying {@link
* Maintainable} supports business object notes or not. This is determined via a call to {@link
* Maintainable#isNotesEnabled()}. The {@link NoteType} is then derived as follows: <p/> <ul> <li>If the
* {@link
* Maintainable} supports business object notes, return {@link NoteType#BUSINESS_OBJECT}. <li>Otherwise, delegate
* to
* {@link DocumentBase#getNoteType()} </ul>
*
* @see org.kuali.rice.krad.document.Document#getNoteType()
* @see org.kuali.rice.krad.document.Document#getNoteTarget()
*/
@Override
public NoteType getNoteType() {
if (getNewMaintainableObject().isNotesEnabled()) {
return NoteType.BUSINESS_OBJECT;
}
return super.getNoteType();
}
示例4: getNoteType
/**
* The {@link org.kuali.rice.krad.util.NoteType} for maintenance documents is determined by whether or not the underlying {@link
* Maintainable} supports business object notes or not. This is determined via a call to {@link
* Maintainable# isBoNotesEnabled()}. The {@link org.kuali.rice.krad.util.NoteType} is then derived as follows: <p/> <ul> <li>If the
* {@link
* Maintainable} supports business object notes, return {@link org.kuali.rice.krad.util.NoteType#BUSINESS_OBJECT}. <li>Otherwise, delegate
* to
* {@link org.kuali.rice.krad.document.DocumentBase#getNoteType()} </ul>
*
* @see org.kuali.rice.krad.document.Document#getNoteType()
* @see org.kuali.rice.krad.document.Document#getNoteTarget()
*/
@Override
public NoteType getNoteType() {
if (getNewMaintainableObject().isNotesEnabled()) {
return NoteType.BUSINESS_OBJECT;
}
return super.getNoteType();
}
示例5: getNoteType
/**
* The {@link NoteType} for maintenance documents is determined by whether or not the underlying {@link
* Maintainable} supports business object notes or not. This is determined via a call to {@link
* Maintainable# isBoNotesEnabled()}. The {@link NoteType} is then derived as follows: <p/> <ul> <li>If the
* {@link
* Maintainable} supports business object notes, return {@link NoteType#BUSINESS_OBJECT}. <li>Otherwise, delegate
* to
* {@link DocumentBase#getNoteType()} </ul>
*
* @see org.kuali.rice.krad.document.Document#getNoteType()
* @see org.kuali.rice.krad.document.Document#getNoteTarget()
*/
@Override
public NoteType getNoteType() {
if (getNewMaintainableObject().isNotesEnabled()) {
return NoteType.BUSINESS_OBJECT;
}
return super.getNoteType();
}