|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache.OwPluginStatusCachingUtility
protected static class OwObjectListViewPluginCache.OwPluginStatusCachingUtility
Utility class for caching the enabled/disabled status for a plugin, for each visible object in list.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwObjectListViewPluginCache.OwPluginStatusCachingUtility(int startIndex_p,
int endIndex_p,
List objectList_p,
OwObject parentObject_p,
Collection pluginEntries_p)
Constructor |
|
OwObjectListViewPluginCache.OwPluginStatusCachingUtility(int startIndex_p,
int endIndex_p,
List objectList_p,
OwObject parentObject_p,
Collection pluginEntries_p,
boolean displayEmptyPluginColumn_p)
Constructor |
Method Summary | |
---|---|
OwObjectListViewPluginCache.OwPluginStatus |
getCachedPluginState(OwObjectListView.OwPluginEntry pluginEntry_p,
OwObject obj_p)
Returns the cached plugin status. |
int |
getMaximumNumberOfIcons()
|
int |
getMaximumNumberOfIconsForEntry(OwObjectListView.OwPluginEntry entry_p)
|
int |
getNumberOfDisabledPlugins()
Get the number of disabled plugins. |
boolean |
isPluginDisabledForAllObjects(OwObjectListView.OwPluginEntry entry_p)
check if the given plugin is disabled for all visible objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwObjectListViewPluginCache.OwPluginStatusCachingUtility(int startIndex_p, int endIndex_p, List objectList_p, OwObject parentObject_p, Collection pluginEntries_p) throws Exception
startIndex_p
- - the index of first object visible in list.endIndex_p
- - the index of last object visible in list.objectList_p
- - the list of objects.parentObject_p
- - the parent object.pluginEntries_p
- - the plugin entries.
Exception
- - thrown when the caching cannot be created, usually when the DMSID cannot be obtain for an object in the list.public OwObjectListViewPluginCache.OwPluginStatusCachingUtility(int startIndex_p, int endIndex_p, List objectList_p, OwObject parentObject_p, Collection pluginEntries_p, boolean displayEmptyPluginColumn_p) throws Exception
startIndex_p
- - the index of first object visible in list.endIndex_p
- - the index of last object visible in list.objectList_p
- - the list of objects.parentObject_p
- - the parent object.pluginEntries_p
- - the plugin entries.displayEmptyPluginColumn_p
- - should be empty plugin columns drawn
Exception
Method Detail |
---|
public int getMaximumNumberOfIconsForEntry(OwObjectListView.OwPluginEntry entry_p)
public int getMaximumNumberOfIcons()
public boolean isPluginDisabledForAllObjects(OwObjectListView.OwPluginEntry entry_p)
entry_p
-
true
if the plugin is disabled for all visible objects.public OwObjectListViewPluginCache.OwPluginStatus getCachedPluginState(OwObjectListView.OwPluginEntry pluginEntry_p, OwObject obj_p)
pluginEntry_p
- - plugin entryobj_p
- - the object.
OwObjectListViewPluginCache.OwPluginStatus
instance.public int getNumberOfDisabledPlugins()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |