ow
This commit is contained in:
1 parent
31fbe199c1
commit
1c0c83af5f
469 files changed
+62544
-5
No files matched your search
@@ -0,0 +1,22 @@
|
||||
|
||||
using CloudBuilder.Security.Entity;
|
||||
using CloudBuilder.Security.SearchCriteria;
|
||||
using CloudBuilder.Core.Service;
|
||||
|
||||
namespace CloudBuilder.Security.Service
|
||||
{
|
||||
public interface ISecurityLockService :IServiceBase<SecurityLockEntity, SecurityLockEntityKey ,SecurityLockSearchCriteria>
|
||||
{
|
||||
bool IsLocked(string entityName, string key);
|
||||
|
||||
void Lock(string entityName, string key, string username);
|
||||
|
||||
void ForceLock(string entityName, string key, string username);
|
||||
|
||||
void ConsumeLock(string entityName, string key, string username);
|
||||
|
||||
void ClearLock(string entityName, string key);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user