}
// search on the basis of the access level of the entity
protected BaseOBObject searchInstance(Entity entity, String id) {
final AccessLevel al = entity.getAccessLevel();
BaseOBObject result = null;
if (al == AccessLevel.SYSTEM) {
result = searchSystem(id, entity);
} else if (al == AccessLevel.SYSTEM_CLIENT) {
// search client and system