Henry.Wang
3 years ago
8 changed files with 7 additions and 41 deletions
@ -1,16 +0,0 @@
|
||||
package com.fr.design.mainframe.authority; |
||||
|
||||
import com.fr.stable.fun.mark.API; |
||||
|
||||
@API(level = AuthorityCheckerProvider.CURRENT_LEVEL) |
||||
public abstract class AbstractAuthorityCheckerProvider implements AuthorityCheckerProvider { |
||||
@Override |
||||
public int currentAPILevel() { |
||||
return CURRENT_LEVEL; |
||||
} |
||||
|
||||
@Override |
||||
public String mark4Provider() { |
||||
return getClass().getName(); |
||||
} |
||||
} |
@ -1,10 +0,0 @@
|
||||
package com.fr.design.mainframe.authority; |
||||
|
||||
import com.fr.stable.fun.mark.Mutable; |
||||
|
||||
public interface AuthorityCheckerProvider extends Mutable { |
||||
String XML_TAG = "AuthorityCheckerProvider"; |
||||
int CURRENT_LEVEL = 1; |
||||
|
||||
ElementAuthorityChecker getElementAuthorityChecker(); |
||||
} |
Loading…
Reference in new issue