|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.recent.StandardRecentlyVisitedService
public class StandardRecentlyVisitedService
Service implementation for recently accessed objects/containers.
Use the newStandardRecentlyVisitedService static factory
method(s), not the StandardRecentlyVisitedService constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addRecentlyVisitedContainer(WTContainer wtc)
Add the given container as the most recently accessed one for the corresponding type. |
void |
addRecentlyVisitedContainer(WTContainer wtc,
String type)
Add the given container as the most recently accessed one for the given type. |
void |
addRecentlyVisitedContainerByOid(ObjectIdentifier oid)
Add the container corresponding to given ObjectIdentifier as the most recently accessed one for the corresponding type. |
void |
addRecentlyVisitedObject(WTObject a)
Add the given object as the most recently accessed one. |
void |
addRecentlyVisitedObjectByOid(ObjectIdentifier oid)
Add the object corresponding to given ObjectIdentifier as the most recently accessed one. |
ObjectVisitedInfo |
getLastVisitedContainer()
Returns the most recently accessed container. |
ObjectVisitedInfo |
getRecentlyVisitedContainer(String type)
Gets the most recently accessed container for given type. |
Vector |
getRecentlyVisitedContainerStack(String type)
Gets all the most recently accessed containers for given type. |
int |
getRecentlyVisitedContainerStackSize(String type)
Returns the setting for maximum number of conainers as part of stack of recently visited containers of given type. |
ObjectVisitedInfo |
getRecentlyVisitedObject()
Returns the most recently accessed object. |
Vector |
getRecentlyVisitedObjectStack()
Gets all the most recently accessed objects currently in the preference. |
int |
getRecentlyVisitedObjectStackSize()
Returns the setting for maximum number of objects as part of stack of recently visited objects. |
void |
setLastVisitedContainer(WTContainer wtc)
Sets the given container as the most recently accessed container. |
void |
setRecentlyVisitedContainerStackSize(int i,
String type)
Sets the maximum number of containers as part of stack of recently visited containers for given type. |
void |
setRecentlyVisitedObjectStackSize(int i)
Sets the maximum number of objects as part of stack of recently visited objects. |
| Methods inherited from class wt.services.StandardManager |
|---|
getManagerService, getManagerStatus, getName, getStartupType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void addRecentlyVisitedContainer(WTContainer wtc)
throws WTException
addRecentlyVisitedContainer in interface RecentlyVisitedServicewtc -
WTException
public void addRecentlyVisitedContainer(WTContainer wtc,
String type)
throws WTException
addRecentlyVisitedContainer in interface RecentlyVisitedServicewtc - type -
WTException
public void addRecentlyVisitedObject(WTObject a)
throws WTException
addRecentlyVisitedObject in interface RecentlyVisitedServicea -
WTException
public ObjectVisitedInfo getLastVisitedContainer()
throws WTException
getLastVisitedContainer in interface RecentlyVisitedServiceWTException
public ObjectVisitedInfo getRecentlyVisitedContainer(String type)
throws WTException
getRecentlyVisitedContainer in interface RecentlyVisitedServicetype -
WTException
public Vector getRecentlyVisitedContainerStack(String type)
throws WTException
getRecentlyVisitedContainerStack in interface RecentlyVisitedServicetype -
WTException
public ObjectVisitedInfo getRecentlyVisitedObject()
throws WTException
getRecentlyVisitedObject in interface RecentlyVisitedServiceWTException
public Vector getRecentlyVisitedObjectStack()
throws WTException
getRecentlyVisitedObjectStack in interface RecentlyVisitedServiceWTException
public void setLastVisitedContainer(WTContainer wtc)
throws WTException
setLastVisitedContainer in interface RecentlyVisitedServicewtc -
WTException
public void setRecentlyVisitedContainerStackSize(int i,
String type)
throws WTException
setRecentlyVisitedContainerStackSize in interface RecentlyVisitedServicei - type -
WTException
public void setRecentlyVisitedObjectStackSize(int i)
throws WTException
setRecentlyVisitedObjectStackSize in interface RecentlyVisitedServicei -
WTException
public int getRecentlyVisitedContainerStackSize(String type)
throws WTException
getRecentlyVisitedContainerStackSize in interface RecentlyVisitedServicetype -
WTException
public int getRecentlyVisitedObjectStackSize()
throws WTException
getRecentlyVisitedObjectStackSize in interface RecentlyVisitedServiceWTException
public void addRecentlyVisitedObjectByOid(ObjectIdentifier oid)
throws WTException
addRecentlyVisitedObjectByOid in interface RecentlyVisitedServiceoid -
WTException
public void addRecentlyVisitedContainerByOid(ObjectIdentifier oid)
throws WTException
addRecentlyVisitedContainerByOid in interface RecentlyVisitedServiceoid -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||