Search in sources :

Example 21 with PersistableBusinessObject

use of org.kuali.kfs.krad.bo.PersistableBusinessObject in project cu-kfs by CU-CommunityApps.

the class CuAttachmentServiceImplTest method setupPersistableBusinessObject.

private PersistableBusinessObject setupPersistableBusinessObject() {
    PersistableBusinessObject pbo = new PhoneType();
    pbo.setObjectId(String.valueOf(new Guid()));
    attachment.setNote(setupMockNote(pbo.getObjectId()));
    return pbo;
}
Also used : PersistableBusinessObject(org.kuali.kfs.krad.bo.PersistableBusinessObject) PhoneType(org.kuali.kfs.vnd.businessobject.PhoneType) Guid(org.kuali.kfs.sys.util.Guid)

Aggregations

PersistableBusinessObject (org.kuali.kfs.krad.bo.PersistableBusinessObject)21 ArrayList (java.util.ArrayList)7 Test (org.junit.Test)6 BufferedInputStream (java.io.BufferedInputStream)5 FileInputStream (java.io.FileInputStream)5 InputStream (java.io.InputStream)5 BusinessObjectService (org.kuali.kfs.krad.service.BusinessObjectService)4 FavoriteAccount (edu.cornell.kfs.sys.businessobject.FavoriteAccount)2 Maintainable (org.kuali.kfs.kns.maintenance.Maintainable)2 Note (org.kuali.kfs.krad.bo.Note)2 MessageMap (org.kuali.kfs.krad.util.MessageMap)2 WorkflowException (org.kuali.rice.kew.api.exception.WorkflowException)2 DummyAntiVirusServiceImpl (edu.cornell.cynergy.antivirus.service.DummyAntiVirusServiceImpl)1 AccountReversionService (edu.cornell.kfs.coa.service.AccountReversionService)1 UserProcurementProfile (edu.cornell.kfs.sys.businessobject.UserProcurementProfile)1 FileNotFoundException (java.io.FileNotFoundException)1 IOException (java.io.IOException)1 RemoteException (java.rmi.RemoteException)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1