com.wewebu.ow.csqlc
Interface OwSQLEntitiesResolver


public interface OwSQLEntitiesResolver

SQL entities resolver interface. Used to obtain external SQL information like repository IDs for certain repository names and query names of certain columns and classes.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.2.0.0

Method Summary
 boolean canOrderBy(String tableName_p, String columnName_p, String repositoryID_p)
           
 OwNetworkContext getNetworkContext()
          Network context which is used for additional information.
 boolean isInternalRepositoryID(String repositoryID_p)
           
 boolean isSubtable(String parentTable_p, String childTable_p, String repositoryID_p)
           
 boolean isVersionable(String tableName_p, String repositoryID_p)
           
 String resolveDefaultRepositoryID()
           
 Set<String> resolveQueryableColumnNames(String tableName_p, String repositoryID_p)
           
 String resolveQueryFolderId(String resourceID_p, String path_p)
           
 String resolveQueryTableName(String tableName_p, String repositoryID_p)
           
 String resolveRepositoryID(String repositoryName_p)
           
 String resovleQueryColumnName(String tableName_p, String columnName_p, String repositoryID_p)
          Get a query name for column, which is maybe escaped or transformed into
 

Method Detail

canOrderBy

boolean canOrderBy(String tableName_p,
                   String columnName_p,
                   String repositoryID_p)
                   throws OwException
Throws:
OwException

isVersionable

boolean isVersionable(String tableName_p,
                      String repositoryID_p)
                      throws OwException
Throws:
OwException

resovleQueryColumnName

String resovleQueryColumnName(String tableName_p,
                              String columnName_p,
                              String repositoryID_p)
                              throws OwException
Get a query name for column, which is maybe escaped or transformed into

Parameters:
tableName_p - String context table/type
columnName_p - String defined name or id to resolve
repositoryID_p - String repository/object store which will be queried
Returns:
String query-name for column
Throws:
OwException
Since:
4.1.0.0

resolveQueryFolderId

String resolveQueryFolderId(String resourceID_p,
                            String path_p)
                            throws OwException
Throws:
OwException

resolveQueryableColumnNames

Set<String> resolveQueryableColumnNames(String tableName_p,
                                        String repositoryID_p)
                                        throws OwException
Throws:
OwException

resolveQueryTableName

String resolveQueryTableName(String tableName_p,
                             String repositoryID_p)
                             throws OwException
Throws:
OwException

resolveDefaultRepositoryID

String resolveDefaultRepositoryID()
                                  throws OwException
Throws:
OwException

resolveRepositoryID

String resolveRepositoryID(String repositoryName_p)
                           throws OwException
Throws:
OwException

isInternalRepositoryID

boolean isInternalRepositoryID(String repositoryID_p)
                               throws OwException
Throws:
OwException

isSubtable

boolean isSubtable(String parentTable_p,
                   String childTable_p,
                   String repositoryID_p)
                   throws OwException
Throws:
OwException

getNetworkContext

OwNetworkContext getNetworkContext()
Network context which is used for additional information.

Returns:
OwNetworkContext


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.