SOA的封装方法

//创建关系
	public void createRelation(Connection connection,ModelObject primaryObject,ModelObject secondaryObject,String relationType) {}

	//创建关系
	public void createRelations(Connection connection,ModelObject primaryObject,ModelObject[] secondaryObjects,String relationType) {}
	
	//删除关系
	public void deleteRelation(ModelObject primaryObject,ModelObject secondaryObject,String relationType,boolean deleteTargetObject) {}
	
	//删除关系
	public void deleteRelations(ModelObject primaryObject,ModelObject[] secondaryObjects,String relationType,boolean deleteTargetObject) {}
	
	//获取数据集类型
	public Map<String, String> getTypeAndNameRef(File f) {}
	
	//创建数据集
	public Dataset createDatasetAndUploadFile(Connection connection, boolean isText, String type, String name, String desc, File file, String nameRef) {}
	 
	//获取Property
	public ModelObject getPropertyModel (ModelObject model, String prop_name )  {}
	
	//获取属性值
	public String getPropertyValue(ModelObject model, String prop_name ){}
	
	//获取属性值
	public String getUIFStringValueByProperty(Property propertyObject) {}
	
	//设置属性值
	public String setPropertyValue(ModelObject model, String prop_name,String... prop_value){}
	
	//设置属性值
	public  String setPropertyValues(ModelObject model, String prop_name,String[] propValues){}

	//获取LOV值
	public  Map<String, ListOfValues> getAttachedLOVs(ModelObject paramTCComponent,String... paramArrayList){}
	
	//获取LOV显示值
	public  CustomLOVData getGeneralLOVByDisplayValue(Connection connection,ModelObject object,String lovName,int resultNum,String displayValue) {}
	
	//获取LOV数据
	public  List<CustomLOVData> getGeneralLOV(ModelObject object,String lovName,int resultNum) {}
	
	//查找Row
	public  void searchRow(LOVValueRow row,List<CustomLOVData> lovData,String lovType) {}
	
	//获取数据集
	public File[] getFileByDataset(Dataset dataset) {}
	
	//
	public Map<String,File[]> getFileByDatasetByPrt2(Dataset dataset) {}

	//获取属性显示值
	public String getPropertyDisplayValue(ModelObject model, String prop_name)  {}
	
	//查询器
	public ModelObject[] executeQuery(String queryName,String[] entries,String[] values){}
	
	//查询Item
	public Item findItemById1(String itemid){	}
	
	//查询Item
	public Item findItemById2(String itemid) {}
	
	//获取最新版本
	public ItemRevision getLatestItemRevision(Item item) {}
	
	//获取属性的Model
	public List<ModelObject> getPropertyModels(ModelObject model, String prop_name)  {}
	
	//获取版本
	public ItemRevision findItemRevisionByInfo(String itemid, String revid){}
	
	//创建BOMWindow
	public BOMWindow createBOMWindow(ModelObject itemRev) {}
	
	//获取BomLine
	public BOMLine getBOMLine(ModelObject itemRev) throws NotLoadedException {}
	
	//创建BOMLine
	public boolean createBomLines(BOMWindow bomWindow, ModelObject[] childrenItemRevArr,BOMLine parentBomLine) {}

	//获取BOMLine
	public BOMLine getBOMLine1(ModelObject itemRev) throws NotLoadedException {}

	//写BOMLine
	public void writeBOMLine(BOMLine parentBomLine,BOMLine childrenBomLine) {}
	
	//更改所有者
	public void changeOwner(ModelObject modelObject,String userID) {}
	
	//查询用户
	public User queryUser(String userID){}

  

上一篇:传统的可扩展架构模式:分层架构和SOA


下一篇:什么是面向服务架构(SOA)以及ESB在SOA的作用与特点