Project

General

Profile

« Previous | Next » 

Revision 6187

implement object format methods - using a separate class to do the actual metacat lookup/caching so that teh CN implementation looks cleaner

View differences:

CNodeService.java
618 618
	public ObjectFormat getFormat(ObjectFormatIdentifier fmtid)
619 619
	  throws InvalidRequest, ServiceFailure, NotFound, InsufficientResources,
620 620
	  NotImplemented {
621

  
622
		return null;
621
		 
622
	  	return ObjectFormatService.getInstance().getFormat(fmtid);
623
			
623 624
	}
624 625
	
625 626
	/**
......
674 675
	  throws InvalidRequest, ServiceFailure, NotFound, InsufficientResources, 
675 676
	  NotImplemented {
676 677

  
677
		return null;
678
		return ObjectFormatService.getInstance().listFormats();
678 679
	}
679 680

  
680 681
	/**

Also available in: Unified diff