Package ome.util
Interface SqlAction
-
- All Known Implementing Classes:
PostgresSqlAction,SqlAction.Impl
public interface SqlActionSingle wrapper for all JDBC activities.This interface is meant to replace all uses of both
JdbcTemplateandSession.createSQLQuery(String)for the entire OMERO code base.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSqlAction.DeleteLogRecord-class which matches _fs_deletelog.static classSqlAction.IdRowMapperstatic classSqlAction.ImplBase implementation which can be usedstatic classSqlAction.LoggingSqlActionstatic classSqlAction.StringRowMapper
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanactiveSession(java.lang.String sessionUUID)Returns whether the given string is the UUID of a session that is currently active.voidaddMessageWithinDbPatchEnd(java.lang.String version, int patch, java.lang.String message)Add a unique message to the DB patch table within the current patch.voidaddMessageWithinDbPatchStart(java.lang.String version, int patch, java.lang.String message)Add a unique message to the DB patch table within the current patch.intchangeGroupPermissions(java.lang.Long id, java.lang.Long internal)intchangeTablePermissionsForGroup(java.lang.String table, java.lang.Long id, java.lang.Long internal)booleanclearPermissionsBit(java.lang.String table, long id, int bit)Sets the given permissions bit to0.intcloseNode(java.lang.String uuid)intcloseNodeSessions(java.lang.String uuid)intcloseSessions(java.lang.String uuid)java.lang.StringconfigValue(java.lang.String name)longcountFormat(java.lang.String name)java.lang.StringcreateIdsTempTable(java.util.Collection<java.lang.Long> ids)Creates a temporary table filled with the given ids and returns its name.voidcreateInsertTrigger(java.lang.String name, java.lang.String table, java.lang.String procedure)Creates an insert trigger of the given name, for the given table, with the given procedure.voidcreateSavepoint(java.lang.String savepoint)java.util.Set<java.lang.String>currentUserNames()longcurrValue(java.lang.String segmentName)java.lang.StringdbUuid()java.lang.StringdbVersion()voiddeferConstraints()intdelConfigValue(java.lang.String name)voiddelCurrentEventLog(java.lang.String key)voiddeleteCurrentAdminPrivileges()Delete the current light administrator privileges for the current transaction.voiddeleteOldAdminPrivileges(java.util.Collection<java.lang.Long> transactionIds)Delete the current light administrator privileges for the given transactions.intdeleteRepoDeleteLogs(SqlAction.DeleteLog template)Delete allSqlAction.DeleteLogentries which match all of the non-null fields provided in the template.java.util.List<java.lang.Long>fileIdsInDb(java.lang.String uuid, java.util.Set<java.lang.String> mimetypes)Return all IDs matching the given mimetypes, or all IDs if mimetypes is null.java.lang.StringfileRepo(long fileId)java.util.List<java.lang.Long>filterFileIdsByRepo(java.lang.String uuid, java.util.List<java.lang.Long> fileIds)Find the original file IDs among those given that are in the given repository.java.util.Collection<java.lang.Long>findOldAdminPrivileges()Find the completed transactions among the current light administrator privileges.java.util.List<SqlAction.DeleteLog>findRepoDeleteLogs(SqlAction.DeleteLog template)Find allSqlAction.DeleteLogentries which match all of the non-null fields provided in the template.java.lang.LongfindRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename)CallsfindRepoFile(String, String, String, Set)passing null.java.lang.LongfindRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename, java.lang.String mimetype)java.lang.LongfindRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename, java.util.Set<java.lang.String> mimetypes)Lookup the id of anOriginalFilein a given repository or return null if none is found.java.lang.StringfindRepoFilePath(java.lang.String uuid, long id)java.util.List<java.lang.Long>findRepoFiles(java.lang.String repoUuid, java.lang.String dirname)Return a list of original file ids that all have a path value matching the passed dirname in the given repository.java.util.Map<java.lang.String,java.lang.Long>findRepoFiles(java.lang.String uuid, java.lang.String dirname, java.util.List<java.lang.String> basenames, java.util.Set<java.lang.String> mimetypes)LikefindRepoFile(String, String, String, Set), but queries in bulk and returns a map for the found IDs.java.lang.LongfindRepoImageFromPixels(long id)java.util.List<java.lang.Long>findRepoPixels(java.lang.String uuid, java.lang.String dirname, java.lang.String basename)java.lang.StringfindRepoRootPath(java.lang.String uuid)Find the path of the repository root.java.util.List<java.lang.Long>getDeletedIds(java.lang.String entityType)java.util.List<java.lang.Object[]>getEventLogPartitions(java.util.Collection<java.lang.String> types, java.util.Collection<java.lang.String> actions, long offset, long limit)Loads up to "limit" event logs using partioning so that only the last event log of a particular (type, id) pair is returned.floatgetEventLogPercent(java.lang.String key)Returns the percent (e.g.java.util.Map<java.lang.String,java.lang.Long>getGroupIds(java.util.Collection<java.lang.String> names)longgetGroupPermissions(long id)Returns the permissions for the given group id.java.util.List<java.lang.Long>getLdapExperimenters()Gets the experimenters who have theldapattribute enabled.java.lang.StringgetPasswordHash(java.lang.Long experimenterID)java.util.List<java.lang.String>getPixelsNamePathRepo(long id)Retrieves the name, path and repo for the given pixels set.java.util.List<java.lang.Long>getShapeIds(long roiId)java.util.Map<java.lang.Long,byte[]>getShareData(java.util.List<java.lang.Long> ids)Returns a map of Share ID to Share data blob.java.lang.StringgetUserEmailByOmeName(java.lang.String omeName)Load the email address for the given user.java.util.Collection<java.lang.String>getUserEmailsByGroup(long groupId)Load all the non-empty email addresses for users in a given group.java.util.List<java.lang.String>getUserGroups(java.lang.String userName)java.lang.LonggetUserId(java.lang.String userName)Get the user's IDjava.lang.StringgetUsername(long userId)Get the user's namejava.lang.StringgetUserPrettyNameByOmeName(java.lang.String omeName)Load the pretty name for the given user.ExperimenterGroupgroupInfoFor(java.lang.String table, long id)Return a mostly unloadedExperimenterGroupobject containing only the id, name, and permissions.booleanhasUnicodeUnits()voidinsertCurrentAdminPrivileges(java.lang.Iterable<AdminPrivilege> privileges)Insert the current light administrator privileges for the current transaction.intinsertFormat(java.lang.String name)Deprecated.voidinsertLogs(java.util.List<java.lang.Object[]> batchData)intinsertSession(java.util.Map<java.lang.String,java.lang.Object> params)intisFileInRepo(java.lang.String uuid, long id, java.util.Set<java.lang.String> mimetypes)booleanisLdapExperimenter(java.lang.Long id)Checks whether the specified experimenter ID has theldapflag set.java.util.List<long[]>nextPixelsDataLogForRepo(java.lang.String repo, long lastEventId, int howmany)Returns arrays of longs for the following SQL return values:experimenter, eventlog, entityid as pixels, rownumberThe oldest N eventlogs with action = "PIXELDATA" and entitytype = "ome.model.core.Pixels" is found per user and returned.java.lang.LongnextSessionId()longnextValue(java.lang.String segmentName, int incrementSize)The implementation of this method guarantees that even if the current transaction fails that the value found will not be used by another transaction.longnodeId(java.lang.String internal_uuid)java.util.Datenow()voidprepareSession(long eventId, long userId, long groupId)Stores the current event context information in a temporary table so that triggers can make use of them.voidrefreshEventLogFromUpdatedAnnotations()Convert the _reindexing_required table to REINDEX entries in the event log.voidreleaseSavepoint(java.lang.String savepoint)intremovePassword(java.lang.Long id)java.util.Map<java.lang.String,java.lang.Object>repoFile(long value)intrepoScriptCount(java.lang.String uuid, java.util.Set<java.lang.String> mimetypes)java.lang.StringrewriteHql(java.lang.String query, java.lang.String key, java.lang.Object value)Allows the specific database implementations a chance to modify queries.java.util.List<java.util.Map<java.lang.String,java.lang.Object>>roiByImage(long imageId)voidrollbackSavepoint(java.lang.String savepoint)java.lang.StringscriptRepo(long fileId, java.util.Set<java.lang.String> mimetypes)Similar tofileRepo(long), but only returns values for files which are also scripts.longselectCurrentEventLog(java.lang.String key)java.lang.LongsessionId(java.lang.String uuid)voidsetCurrentEventLog(long id, java.lang.String key)voidsetFileRepo(java.util.Collection<java.lang.Long> ids, java.lang.String repoId)booleansetPermissionsBit(java.lang.String table, long id, int bit)Sets the given permissions bit to1.voidsetPixelsNamePathRepo(long pixId, java.lang.String name, java.lang.String path, java.lang.String repoId)voidsetRoles(long rootUserId, long guestUserId, long systemGroupId, long userGroupId, long guestGroupId)Note the roles in the database.longsetStatsInfo(Channel ch, StatsInfo si)booleansetUserPassword(java.lang.Long experimenterID, java.lang.String password)intsynchronizeJobs(java.util.List<java.lang.Long> ids)intupdateConfiguration(java.lang.String key, java.lang.String value)intupdateOrInsertConfigValue(java.lang.String name, java.lang.String value)intupdateSessionUserIP(long sessionId, java.lang.String userIP)
-
-
-
Method Detail
-
prepareSession
void prepareSession(long eventId, long userId, long groupId)Stores the current event context information in a temporary table so that triggers can make use of them.- Parameters:
eventId-userId-groupId-
-
rewriteHql
java.lang.String rewriteHql(java.lang.String query, java.lang.String key, java.lang.Object value)Allows the specific database implementations a chance to modify queries.- Parameters:
query- String query (non-null) which is in effect.key- Key of the argument e.g. (:ids)value- value which has been passed in for that parameter.- Returns:
- Returns a query replacement.
- See Also:
- ticket 3697
-
createIdsTempTable
java.lang.String createIdsTempTable(java.util.Collection<java.lang.Long> ids)
Creates a temporary table filled with the given ids and returns its name. The table is only available for the period if the transaction.
-
createInsertTrigger
void createInsertTrigger(java.lang.String name, java.lang.String table, java.lang.String procedure)Creates an insert trigger of the given name, for the given table, with the given procedure. No error handling is performed.
-
activeSession
boolean activeSession(java.lang.String sessionUUID)
Returns whether the given string is the UUID of a session that is currently active.- Parameters:
sessionUUID- NOT NULL.- Returns:
trueifsessionUUIDis an active session,falseotherwise
-
getGroupPermissions
long getGroupPermissions(long id)
Returns the permissions for the given group id.
-
groupInfoFor
ExperimenterGroup groupInfoFor(java.lang.String table, long id)
Return a mostly unloadedExperimenterGroupobject containing only the id, name, and permissions.
-
fileRepo
java.lang.String fileRepo(long fileId)
-
scriptRepo
java.lang.String scriptRepo(long fileId, java.util.Set<java.lang.String> mimetypes)Similar tofileRepo(long), but only returns values for files which are also scripts. Null may be returned- Parameters:
fileId-mimetypes- null implies all files are checked
-
synchronizeJobs
int synchronizeJobs(java.util.List<java.lang.Long> ids)
-
findRepoFile
java.lang.Long findRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename)CallsfindRepoFile(String, String, String, Set)passing null.
-
findRepoFile
java.lang.Long findRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename, java.lang.String mimetype)
-
findRepoFile
java.lang.Long findRepoFile(java.lang.String uuid, java.lang.String dirname, java.lang.String basename, java.util.Set<java.lang.String> mimetypes)Lookup the id of anOriginalFilein a given repository or return null if none is found.- Parameters:
uuid- The UUID of the repository (originalfile.sha1)dirname- the full directory path minus the file name.basename- i.e. the filename without any directory pathmimetypes- if null, then no mimetype query fragement will be added.- Returns:
- null if no
OriginalFileis found, otherwise the id.
-
findRepoFiles
java.util.Map<java.lang.String,java.lang.Long> findRepoFiles(java.lang.String uuid, java.lang.String dirname, java.util.List<java.lang.String> basenames, java.util.Set<java.lang.String> mimetypes)LikefindRepoFile(String, String, String, Set), but queries in bulk and returns a map for the found IDs.
-
findRepoFiles
java.util.List<java.lang.Long> findRepoFiles(java.lang.String repoUuid, java.lang.String dirname)Return a list of original file ids that all have a path value matching the passed dirname in the given repository.- Parameters:
repoUuid-dirname-- Returns:
- possibly empty list of ids.
-
findRepoDeleteLogs
java.util.List<SqlAction.DeleteLog> findRepoDeleteLogs(SqlAction.DeleteLog template)
Find allSqlAction.DeleteLogentries which match all of the non-null fields provided in the template.- Parameters:
template- non-null.- Returns:
- a list of
SqlAction.DeleteLogentries
-
deleteRepoDeleteLogs
int deleteRepoDeleteLogs(SqlAction.DeleteLog template)
Delete allSqlAction.DeleteLogentries which match all of the non-null fields provided in the template.- Parameters:
template- not-null- Returns:
- the number of rows deleted.
-
findRepoRootPath
java.lang.String findRepoRootPath(java.lang.String uuid)
Find the path of the repository root.- Parameters:
uuid- a repository UUID- Returns:
- the repository root
-
findRepoFilePath
java.lang.String findRepoFilePath(java.lang.String uuid, long id)
-
findRepoPixels
java.util.List<java.lang.Long> findRepoPixels(java.lang.String uuid, java.lang.String dirname, java.lang.String basename)
-
findRepoImageFromPixels
java.lang.Long findRepoImageFromPixels(long id)
-
repoScriptCount
int repoScriptCount(java.lang.String uuid, java.util.Set<java.lang.String> mimetypes)- Parameters:
uuid- repository identifiermimetypes- file mimetypes to check; if null, all files;
-
nextSessionId
java.lang.Long nextSessionId()
-
fileIdsInDb
java.util.List<java.lang.Long> fileIdsInDb(java.lang.String uuid, java.util.Set<java.lang.String> mimetypes)Return all IDs matching the given mimetypes, or all IDs if mimetypes is null.
-
filterFileIdsByRepo
java.util.List<java.lang.Long> filterFileIdsByRepo(java.lang.String uuid, java.util.List<java.lang.Long> fileIds)Find the original file IDs among those given that are in the given repository.- Parameters:
uuid- a repository UUIDfileIds- IDs of original files- Returns:
- those IDs among those given whose original files are in the given repository
-
repoFile
java.util.Map<java.lang.String,java.lang.Object> repoFile(long value)
-
nextPixelsDataLogForRepo
java.util.List<long[]> nextPixelsDataLogForRepo(java.lang.String repo, long lastEventId, int howmany)Returns arrays of longs for the following SQL return values:experimenter, eventlog, entityid as pixels, rownumberThe oldest N eventlogs with action = "PIXELDATA" and entitytype = "ome.model.core.Pixels" is found per user and returned. Multiple eventlogs are returned per user in order to support multi-threading. Duplicate pixel ids are stripped.
-
countFormat
long countFormat(java.lang.String name)
-
insertFormat
@Deprecated int insertFormat(java.lang.String name)
Deprecated.
-
closeSessions
int closeSessions(java.lang.String uuid)
-
closeNodeSessions
int closeNodeSessions(java.lang.String uuid)
-
closeNode
int closeNode(java.lang.String uuid)
-
nodeId
long nodeId(java.lang.String internal_uuid)
-
insertSession
int insertSession(java.util.Map<java.lang.String,java.lang.Object> params)
-
updateSessionUserIP
int updateSessionUserIP(long sessionId, java.lang.String userIP)
-
sessionId
java.lang.Long sessionId(java.lang.String uuid)
-
isFileInRepo
int isFileInRepo(java.lang.String uuid, long id, java.util.Set<java.lang.String> mimetypes)- Parameters:
uuid- Repository identifierid- file identifiermimetypes- Set of mimetypes to check; if null, all files.
-
removePassword
int removePassword(java.lang.Long id)
-
now
java.util.Date now()
-
updateConfiguration
int updateConfiguration(java.lang.String key, java.lang.String value)
-
dbVersion
java.lang.String dbVersion()
-
configValue
java.lang.String configValue(java.lang.String name)
-
delConfigValue
int delConfigValue(java.lang.String name)
-
updateOrInsertConfigValue
int updateOrInsertConfigValue(java.lang.String name, java.lang.String value)
-
dbUuid
java.lang.String dbUuid()
-
selectCurrentEventLog
long selectCurrentEventLog(java.lang.String key)
-
getEventLogPercent
float getEventLogPercent(java.lang.String key)
Returns the percent (e.g. 0-100%) as calculated by the number of rows represented as completed by the configuration table row of this key divided by the total number of rows in the event log. Since this method executes 2 counts over the event log table, it can take a significant amount of time.- Parameters:
key- PersistentEventLogLoader key for lookup in the configuration table- Returns:
- float value between 0 and 100 of the percent completed
-
getEventLogPartitions
java.util.List<java.lang.Object[]> getEventLogPartitions(java.util.Collection<java.lang.String> types, java.util.Collection<java.lang.String> actions, long offset, long limit)Loads up to "limit" event logs using partioning so that only the last event log of a particular (type, id) pair is returned. The contents of the object array are:- the id of the event log (Long)
- the entity type of the event log (String)
- the entity id of the event log (Long)
- the action of the event log (String)
- the number of skipped event logs (Integer)
- Parameters:
types- Collection of entityType strings which should be queriedactions- Collection of ACTION strings which should be queriedoffset- Offset to the row which should be queried firstlimit- Maximum number of rows (after partionting) which should be returned.
-
setCurrentEventLog
void setCurrentEventLog(long id, java.lang.String key)
-
delCurrentEventLog
void delCurrentEventLog(java.lang.String key)
-
refreshEventLogFromUpdatedAnnotations
void refreshEventLogFromUpdatedAnnotations()
Convert the _reindexing_required table to REINDEX entries in the event log.
-
nextValue
long nextValue(java.lang.String segmentName, int incrementSize)The implementation of this method guarantees that even if the current transaction fails that the value found will not be used by another transaction. Database implementations can choose whether to do this at the procedure level or by using transaction PROPAGATION settings in Java.- Parameters:
segmentName-incrementSize-- See Also:
- ticket 3697, ticket 3253
-
currValue
long currValue(java.lang.String segmentName)
-
insertLogs
void insertLogs(java.util.List<java.lang.Object[]> batchData)
-
roiByImage
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> roiByImage(long imageId)
-
getShapeIds
java.util.List<java.lang.Long> getShapeIds(long roiId)
-
setUserPassword
boolean setUserPassword(java.lang.Long experimenterID, java.lang.String password)
-
getPasswordHash
java.lang.String getPasswordHash(java.lang.Long experimenterID)
-
getUserId
java.lang.Long getUserId(java.lang.String userName)
Get the user's ID- Parameters:
userName- the user's name- Returns:
- their ID, or
nullif they cannot be found
-
getUsername
java.lang.String getUsername(long userId)
Get the user's name- Parameters:
userId- the user's ID- Returns:
- their name, or
nullif they cannot be found
-
getUserPrettyNameByOmeName
java.lang.String getUserPrettyNameByOmeName(java.lang.String omeName)
Load the pretty name for the given user.- Parameters:
omeName- a user's OME name- Returns:
- the user's name for presentation, may be
nullif their OME name does not exist
-
getUserEmailByOmeName
java.lang.String getUserEmailByOmeName(java.lang.String omeName)
Load the email address for the given user.- Parameters:
omeName- a user's OME name- Returns:
- the user's email address, may be
nullif they have none or their OME name does not exist
-
getUserEmailsByGroup
java.util.Collection<java.lang.String> getUserEmailsByGroup(long groupId)
Load all the non-empty email addresses for users in a given group.- Parameters:
groupId-- Returns:
- a non-null
Collectionof non-empty user email addresses.
-
getLdapExperimenters
java.util.List<java.lang.Long> getLdapExperimenters()
Gets the experimenters who have theldapattribute enabled.- Returns:
- a list of user IDs.
-
isLdapExperimenter
boolean isLdapExperimenter(java.lang.Long id)
Checks whether the specified experimenter ID has theldapflag set.- Parameters:
id- The experimenter ID.- Returns:
- true if the experimenter is an LDAP user; false otherwise.
-
getGroupIds
java.util.Map<java.lang.String,java.lang.Long> getGroupIds(java.util.Collection<java.lang.String> names)
-
getUserGroups
java.util.List<java.lang.String> getUserGroups(java.lang.String userName)
-
setFileRepo
void setFileRepo(java.util.Collection<java.lang.Long> ids, java.lang.String repoId)
-
setPixelsNamePathRepo
void setPixelsNamePathRepo(long pixId, java.lang.String name, java.lang.String path, java.lang.String repoId)
-
getDeletedIds
java.util.List<java.lang.Long> getDeletedIds(java.lang.String entityType)
-
createSavepoint
void createSavepoint(java.lang.String savepoint)
-
releaseSavepoint
void releaseSavepoint(java.lang.String savepoint)
-
rollbackSavepoint
void rollbackSavepoint(java.lang.String savepoint)
-
deferConstraints
void deferConstraints()
-
getShareData
java.util.Map<java.lang.Long,byte[]> getShareData(java.util.List<java.lang.Long> ids)
Returns a map of Share ID to Share data blob.- Parameters:
ids- IDs of Shares for which data blobs are to be returned.- Returns:
- map of ID to data blob.
-
getPixelsNamePathRepo
java.util.List<java.lang.String> getPixelsNamePathRepo(long id) throws InternalExceptionRetrieves the name, path and repo for the given pixels set. If the id is not found, null is returned.- Throws:
InternalException
-
currentUserNames
java.util.Set<java.lang.String> currentUserNames()
-
changeGroupPermissions
int changeGroupPermissions(java.lang.Long id, java.lang.Long internal)
-
changeTablePermissionsForGroup
int changeTablePermissionsForGroup(java.lang.String table, java.lang.Long id, java.lang.Long internal)
-
hasUnicodeUnits
boolean hasUnicodeUnits()
- Returns:
- if the database's type system contains correctly encoded units of measure
-
addMessageWithinDbPatchStart
void addMessageWithinDbPatchStart(java.lang.String version, int patch, java.lang.String message)Add a unique message to the DB patch table within the current patch. This method marks the start of the corresponding DB adjustment process.- Parameters:
version- the version of the current DBpatch- the patch of the current DBmessage- the new message to note
-
addMessageWithinDbPatchEnd
void addMessageWithinDbPatchEnd(java.lang.String version, int patch, java.lang.String message)Add a unique message to the DB patch table within the current patch. This method marks the end of the corresponding DB adjustment process.- Parameters:
version- the version of the current DBpatch- the patch of the current DBmessage- the new message to note
-
setPermissionsBit
boolean setPermissionsBit(java.lang.String table, long id, int bit)Sets the given permissions bit to1. Note: Actually sets the bit to1in the value stored in the database, does not adopt the inverse convention associated with permissions flags.- Parameters:
table- the table in which to find the rowid- the value of the table'sidcolumn that identifies the row to updatebit- the bit number to set to1, counting from0as the least significant bit- Returns:
- if the row was found in the table, regardless of the given bit's previous value
-
clearPermissionsBit
boolean clearPermissionsBit(java.lang.String table, long id, int bit)Sets the given permissions bit to0. Note: Actually sets the bit to0in the value stored in the database, does not adopt the inverse convention associated with permissions flags.- Parameters:
table- the table in which to find the rowid- the value of the table'sidcolumn that identifies the row to updatebit- the bit number to set to0, counting from0as the least significant bit- Returns:
- if the row was found in the table, regardless of the given bit's previous value
-
setRoles
void setRoles(long rootUserId, long guestUserId, long systemGroupId, long userGroupId, long guestGroupId)Note the roles in the database.- Parameters:
rootUserId- the root user's IDguestUserId- the guest user's IDsystemGroupId- the system group's IDuserGroupId- the user group's IDguestGroupId- the guest group's ID
-
findOldAdminPrivileges
java.util.Collection<java.lang.Long> findOldAdminPrivileges()
Find the completed transactions among the current light administrator privileges.- Returns:
- the transaction IDs
-
deleteOldAdminPrivileges
void deleteOldAdminPrivileges(java.util.Collection<java.lang.Long> transactionIds)
Delete the current light administrator privileges for the given transactions.- Parameters:
transactionIds- the transaction IDs to delete
-
deleteCurrentAdminPrivileges
void deleteCurrentAdminPrivileges()
Delete the current light administrator privileges for the current transaction.
-
insertCurrentAdminPrivileges
void insertCurrentAdminPrivileges(java.lang.Iterable<AdminPrivilege> privileges)
Insert the current light administrator privileges for the current transaction.- Parameters:
privileges- some light administrator privileges
-
-