/**
* 判断是哪个实体的
*
* @param id
* @return
* @throws BOSException
*/
private IObjectValue readObject(String id) throws BOSException {
BOSObjectType bosType = BOSUuid.read(id).getType();
if(DynamicObjectFactory.getRemoteInstance().exists(bosType, new ObjectUuidPK(id))){
IObjectValue obj = DynamicObjectFactory.getRemoteInstance().getValue(bosType, new ObjectUuidPK(id));
return obj;
}else{
return null;
}
}