| | |
| | | |
| | | import com.nanometer.smartlab.model.MenuModel; |
| | | import com.nanometer.smartlab.util.FacesUtils; |
| | | import org.apache.commons.collections4.ListUtils; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.context.ApplicationContext; |
| | | import org.springframework.context.annotation.Scope; |
| | |
| | | import javax.annotation.Resource; |
| | | import javax.faces.context.FacesContext; |
| | | import javax.servlet.ServletContext; |
| | | import java.awt.*; |
| | | import java.lang.reflect.InvocationTargetException; |
| | | import java.lang.reflect.Method; |
| | | import java.util.HashMap; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | public void swap(List<MenuModel> a, int i, int j) { |
| | | MenuModel t = a.get(i); |
| | | a.set(i, a.get(j)); |
| | | a.set(j, t); |
| | | } |
| | | |
| | | private void executeMethod(String clazzName, String methodName, Object... params) { |