use of org.apache.derby.iapi.sql.dictionary.RoutinePermsDescriptor in project derby by apache.
the class DataDictionaryImpl method createRoutinePermPublicDescriptor.
/**
* Create RoutinePermDescriptor to grant access to PUBLIC for
* this system routine using the grantor specified in authorizationID.
*
* @param routineUUID uuid of the routine
* @param tc TransactionController to use
* @param authorizationID authorization ID of the permission grantor
* @throws StandardException Standard exception policy.
*/
void createRoutinePermPublicDescriptor(UUID routineUUID, TransactionController tc, String authorizationID) throws StandardException {
RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor(this, "PUBLIC", authorizationID, routineUUID);
addDescriptor(routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_CATALOG_NUM, false, tc);
}
Aggregations