private MatchingPart createEmoPermissionPart(String part,PartType partType){
  part=unescapeSeparators(part);
switch (part.charAt(0)) {
case 'c':
    if (isTableResource(partType) && part.startsWith("createTable(") && part.endsWith(")")) {
      String rison=part.substring(12,part.length() - 1);
      return RisonHelper.fromORison(rison,CreateTablePart.class);
    }
  break;
case 'i':
if (part.startsWith("if(") && part.endsWith(")")) {
  String condition=part.substring(3,part.length() - 1);
switch (partType) {
case SOR_TABLE:
    return new SorTableConditionPart(Conditions.fromString(condition),_dataStore);
case BLOB_TABLE:
  return new BlobTableConditionPart(Conditions.fromString(condition),_blobStore);
default :
return new ConditionPart(Conditions.fromString(condition));
}
}
break;
case '*':
if (part.length() == 1) {
return getAnyPart();
}
break;
}
Condition condition=Conditions.like(part);
if (condition instanceof EqualCondition) {
return new EmoConstantPart(part);
}
return new ConditionPart(condition);
}

private MatchingPart createEmoPermissionPart ( String part , PartType partType ) { part = unescapeSeparators ( part ) ; switch ( part . charAt ( 0 ) ) { case 'c' : if ( isTableResource ( partType ) && part . startsWith ( "createTable(" ) && part . endsWith ( ")" ) ) { String rison = part . substring ( 12 , part . length ( ) - 1 ) ; return RisonHelper . fromORison ( rison , CreateTablePart . class ) ; } break ; case 'i' : if ( part . startsWith ( "if(" ) && part . endsWith ( ")" ) ) { String condition = part . substring ( 3 , part . length ( ) - 1 ) ; switch ( partType ) { case SOR_TABLE : return new SorTableConditionPart ( Conditions . fromString ( condition ) , _dataStore ) ; case BLOB_TABLE : return new BlobTableConditionPart ( Conditions . fromString ( condition ) , _blobStore ) ; default : return new ConditionPart ( Conditions . fromString ( condition ) ) ; } } break ; case '*' : if ( part . length ( ) == 1 ) { return getAnyPart ( ) ; } break ; } Condition condition = Conditions . like ( part ) ; if ( condition instanceof EqualCondition ) { return new EmoConstantPart ( part ) ; } return new ConditionPart ( condition ) ; }
creates a tableidentificationpart for the third value in a data or blob store permission .
