|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.dashboard.admin.AdminDashboardService
public class AdminDashboardService
AdminDashboardService
| Method Summary | |
|---|---|
void |
doMoveDashboard(IAdminDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate)
Moves the dashboard. |
void |
doReorderColumn(int nColumn)
Reorders column's dashboard |
java.util.List<IAdminDashboardComponent> |
getAdminDashboardComponents(int nColumn)
|
java.util.List<IAdminDashboardComponent> |
getAllAdminDashboardComponents()
All known dashboards as declared in SpringContext |
java.util.Map<java.lang.String,java.util.List<IAdminDashboardComponent>> |
getAllSetDashboards()
Finds all dashboard with column and order set. |
int |
getColumnCount()
Returns the column count, with PROPERTY_COLUMN_COUNT. |
java.lang.String |
getDashboardData(AdminUser user,
int nColumn)
Gets Data from all components of the zone |
static AdminDashboardService |
getInstance()
Return the unique instance |
java.util.List<IAdminDashboardComponent> |
getNotSetDashboards()
Returns all dashboards with no column/order set |
java.util.Map<java.lang.String,java.lang.Boolean> |
getOrderedColumnsStatus()
Builds the map to with column id as key, and true as value if column is well ordered, false otherwise. |
void |
registerDashboardComponent(DashboardComponentEntry entry,
Plugin plugin)
Register a Dashboard Component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AdminDashboardService getInstance()
public int getColumnCount()
PROPERTY_COLUMN_COUNT. Default is CONSTANTE_DEFAULT_COLUMN_COUNT
public java.util.List<IAdminDashboardComponent> getAllAdminDashboardComponents()
public java.util.List<IAdminDashboardComponent> getAdminDashboardComponents(int nColumn)
nColumn - the column id
public void registerDashboardComponent(DashboardComponentEntry entry,
Plugin plugin)
entry - The DashboardComponent entry defined in the plugin's XML fileplugin - The plugin
public void doMoveDashboard(IAdminDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate)
dashboard - to move, with new valuesnOldColumn - previous column idnOldOrder - previous orderbCreate - true if this is a new dashboard, false otherwise.public java.util.List<IAdminDashboardComponent> getNotSetDashboards()
public java.util.Map<java.lang.String,java.util.List<IAdminDashboardComponent>> getAllSetDashboards()
public java.lang.String getDashboardData(AdminUser user,
int nColumn)
user - The usernColumn - The dasboard column
public void doReorderColumn(int nColumn)
nColumn - the column to reorderpublic java.util.Map<java.lang.String,java.lang.Boolean> getOrderedColumnsStatus()
true as value if column is well ordered, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||