CMObject
, Tickable
, CMLibrary
, WebMacroLibrary
, com.planet_ink.coffee_web.interfaces.HTTPOutputConverter
, com.planet_ink.coffee_web.interfaces.SimpleServlet
, java.lang.Cloneable
, java.lang.Comparable<CMObject>
public class WebMacroCreamer extends StdLibrary implements WebMacroLibrary, com.planet_ink.coffee_web.interfaces.SimpleServlet
Modifier and Type | Class | Description |
---|---|---|
protected static class |
WebMacroCreamer.JScriptablePage |
idConverter
isDebugging, name, serviceClient, tickStatus
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Constructor | Description |
---|---|
WebMacroCreamer() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
activate() |
Activates the library.
|
java.lang.String |
clearWebMacros(java.lang.String s) |
Searches for web-macro commands in the given string and, if found,
disables them and returns the modified string.
|
java.lang.String |
clearWebMacros(java.lang.StringBuffer s) |
Searches for web-macro commands in the given string and, if found,
disables them and returns the modified string.
|
java.util.Collection<Item> |
contributeItemsToWebCache(java.util.Collection<Item> items) |
Adds the given items to the web cache, if each one qualifies to
be so added.
|
java.util.Collection<MOB> |
contributeMOBsToWebCache(java.util.Collection<MOB> inhabs) |
Adds the given mobs to the web cache, if each one qualifies to
be so added.
|
java.nio.ByteBuffer |
convertOutput(com.planet_ink.coffee_web.util.CWConfig config,
com.planet_ink.coffee_web.interfaces.HTTPRequest request,
java.io.File pageFile,
com.planet_ink.coffee_web.http.HTTPStatus status,
java.nio.ByteBuffer buffer) |
Standard method for converting an intput buffer for writing to
the client.
|
void |
doGet(com.planet_ink.coffee_web.interfaces.SimpleServletRequest request,
com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) |
|
void |
doPost(com.planet_ink.coffee_web.interfaces.SimpleServletRequest request,
com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) |
|
Item |
findItemInAnything(java.lang.Object allitems,
java.lang.String MATCHING) |
Given some sort of item-finding code, including catalog codes,
item class ids, catalog codes, web cache codes, and general
canonical java class names, this will return the best item
match it can find.
|
Item |
findItemInWebCache(java.lang.String MATCHING) |
Given some sort of item-finding code, including catalog codes,
item class ids, catalog codes, web cache codes, and general
canonical java class names, this will return the best item
match it can find.
|
Item |
findItemMatchInWebCache(Item I) |
Searches the official item web cache for an item just
like the one given and, if found, returns the cache
object.
|
java.lang.String |
findItemWebCacheCode(Item I) |
Searches the official item web cache for this item, or
one just like it, and returns the code for it.
|
java.lang.String |
findItemWebCacheCode(Room R,
Item I) |
Given an item and its room owner, this will return the item web
cache code for the item.
|
java.lang.String |
findItemWebCacheCode(MOB M,
Item I) |
Given an item and its mob owner, this will return the item web
cache code for the item.
|
java.lang.String |
findItemWebCacheCode(java.util.Collection<Item> allitems,
Item I) |
Searches the given item web cache for this item, or
one just like it, and returns the code for it.
|
MOB |
findMOBMatchInWebCache(MOB M) |
Searches the official web cache for a mob like the
given one, and returns it if found.
|
java.lang.String |
findMOBWebCacheCode(Room R,
MOB M) |
Returns the room-context cache code for the given mob, if it
is really in the room.
|
java.lang.String |
findMOBWebCacheCode(MOB M) |
Searches for a mob in the web cache that is just like the given mob,
and returns the cache code.
|
java.lang.String |
findMOBWebCacheCode(java.util.Collection<MOB> mobs,
MOB M) |
Given your own mob cache, this will find the mob just like the given
one and return its code.
|
java.lang.String |
getAppropriateCode(PhysicalAgent E,
Physical RorM,
java.util.Collection classes) |
Given an item or mob, this will attempt to find its like or match
in the catalog, web caches, or the given item owner, or given
web cache.
|
Item |
getItemFromCatalog(java.lang.String MATCHING) |
Searches the catalog for the item with the matching
catalog code and, if found, returns it.
|
Item |
getItemFromWebCache(Room R,
java.lang.String code) |
Give a room item owner, and the item web cache code, this
will attempt to return the matching item.
|
Item |
getItemFromWebCache(MOB M,
java.lang.String code) |
Give a mob item owner, and the item web cache code, this
will attempt to return the matching item.
|
Item |
getItemFromWebCache(java.lang.String code) |
Searches the catalog and official item web cache for the
item with the given code and, if found, returns it.
|
Item |
getItemFromWebCache(java.util.Collection<Item> allitems,
java.lang.String code) |
Searches the catalog and given item web cache for the
item with the given code and, if found, returns it.
|
java.lang.Iterable<Item> |
getItemWebCacheIterable() |
Returns an iterable of the item web cache.
|
MOB |
getMOBFromAnywhere(java.lang.String MATCHING) |
Given some sort of mob-finding code, including catalog codes,
mob class ids, catalog codes, web cache codes, and general
canonical java class names, this will return the best mob
match it can find.
|
MOB |
getMOBFromCatalog(java.lang.String MATCHING) |
If the given mob cache code is a catalog code, this will return
the mob from the catalog, if found.
|
MOB |
getMOBFromWebCache(Room R,
java.lang.String code) |
Finds the mob in the given room with the given web cache code and
returns the mob object from the cache.
|
MOB |
getMOBFromWebCache(java.lang.String code) |
Searches the official mob web cache for the mob of the given code,
which might be a catalog code also.
|
MOB |
getMOBFromWebCache(java.util.Collection<MOB> allmobs,
java.lang.String code) |
Searches the given mob web cache for the mob of the given code,
which might be a catalog code also.
|
java.lang.Iterable<MOB> |
getMOBWebCacheIterable() |
Returns an iterator through the mob web cache.
|
TickClient |
getServiceClient() |
If this library has a service thread, this method returns the TickClient
object associated with that service.
|
int |
getTickStatus() |
A coded status for this object during the period where
its tick method is being called.
|
java.lang.String |
getWebCacheSuffix(Environmental E) |
Checks the expiration date of the given object, which
must be something from one of the web caches, as those are
the types that have their expiration date used FOR the cache.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
void |
init() |
|
boolean |
isAllNum(java.lang.String str) |
Returns whether the given string resembles a web cache
code, which consists of digits and dashes.
|
boolean |
isWebCachedItem(java.lang.Object I) |
Returns whether the given item is exactly in the
official item web cache.
|
boolean |
isWebCachedMOB(java.lang.Object M) |
Returns whether the given mob is in the web cache.
|
protected int |
myBack(java.lang.StringBuffer s,
int i,
java.lang.String[] lastFoundMacro) |
|
protected int |
myElse(java.lang.StringBuffer s,
int i,
int end,
java.lang.String[] lastFoundMacro) |
|
protected int |
myEndif(java.lang.StringBuffer s,
int i,
java.lang.String[] lastFoundMacro) |
|
protected int |
myNext(java.lang.StringBuffer s,
int i,
java.lang.String[] lastFoundMacro) |
|
java.lang.String |
parseFoundMacro(java.lang.StringBuffer s,
int i,
boolean lookOnly) |
Given a stringbuffer and an index into it where an
'@' sign was found, this method will identify a potential
web macro string, and return it, optionally
deleting the '@' characters on internal macros.
|
protected java.lang.String |
parseFoundMacro(java.lang.StringBuffer s,
int i,
java.lang.String[] lastFoundMacro,
boolean lookOnly) |
|
protected java.lang.String |
runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest request,
java.lang.String foundMacro,
java.lang.String[] lastFoundMacro,
boolean isAdminServer) |
|
void |
service(com.planet_ink.coffee_web.http.HTTPMethod method,
com.planet_ink.coffee_web.interfaces.SimpleServletRequest request,
com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) |
|
boolean |
shutdown() |
Shuts down the library.
|
boolean |
tick(Tickable ticking,
int tickID) |
this is the method which is called periodically by the threading engine.
|
byte[] |
virtualPageFilter(byte[] data) |
Does macro filtering on a fake web page by constructing a fake request
and calling the full page filter method.
|
java.lang.StringBuffer |
virtualPageFilter(com.planet_ink.coffee_web.interfaces.HTTPRequest request,
java.util.Map<java.lang.String,java.lang.Object> objects,
long[] processStartTime,
java.lang.String[] lastFoundMacro,
java.lang.StringBuffer s) |
The official web page filtering method for this output converter.
|
java.lang.String |
virtualPageFilter(java.lang.String data) |
Does macro filtering on a fake web page by constructing a fake request
and calling the full page filter method.
|
java.lang.StringBuffer |
virtualPageFilter(java.lang.StringBuffer data) |
Does macro filtering on a fake web page by constructing a fake request
and calling the full page filter method.
|
java.lang.StringBuffer |
virtualPageFilter(java.lang.StringBuffer data,
java.util.Map<java.lang.String,java.lang.String> parms,
java.util.Map<java.lang.String,java.lang.Object> objs) |
Does macro filtering on a fake web page by constructing a fake request
and calling the full page filter method.
|
L, propertiesLoaded
copyOf, initializeClass, name, newInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkDatabase, compareTo, copyOf, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdLibrary
public java.nio.ByteBuffer convertOutput(com.planet_ink.coffee_web.util.CWConfig config, com.planet_ink.coffee_web.interfaces.HTTPRequest request, java.io.File pageFile, com.planet_ink.coffee_web.http.HTTPStatus status, java.nio.ByteBuffer buffer) throws com.planet_ink.coffee_web.http.HTTPException
com.planet_ink.coffee_web.interfaces.HTTPOutputConverter
convertOutput
in interface com.planet_ink.coffee_web.interfaces.HTTPOutputConverter
config
- the http configurationrequest
- the http request bring processedpageFile
- the file whose data is being convertedstatus
- the status of the request (so far)buffer
- the input buffercom.planet_ink.coffee_web.http.HTTPException
- a generated http error to pass to the userpublic byte[] virtualPageFilter(byte[] data) throws HTTPRedirectException
WebMacroLibrary
virtualPageFilter
in interface WebMacroLibrary
data
- the fake page to filterHTTPRedirectException
- any redirect exceptions encounteredWebMacroLibrary.virtualPageFilter(String)
,
WebMacroLibrary.virtualPageFilter(StringBuffer)
,
WebMacroLibrary.virtualPageFilter(StringBuffer, Map, Map)
,
WebMacroLibrary.virtualPageFilter(HTTPRequest, Map, long[], String[], StringBuffer)
public java.lang.String virtualPageFilter(java.lang.String data) throws HTTPRedirectException
WebMacroLibrary
virtualPageFilter
in interface WebMacroLibrary
data
- the fake page to filterHTTPRedirectException
- any redirect exceptions encounteredWebMacroLibrary.virtualPageFilter(byte[])
,
WebMacroLibrary.virtualPageFilter(StringBuffer)
,
WebMacroLibrary.virtualPageFilter(StringBuffer, Map, Map)
,
WebMacroLibrary.virtualPageFilter(HTTPRequest, Map, long[], String[], StringBuffer)
public java.lang.StringBuffer virtualPageFilter(java.lang.StringBuffer data) throws HTTPRedirectException
WebMacroLibrary
virtualPageFilter
in interface WebMacroLibrary
data
- the fake page to filterHTTPRedirectException
- any redirect exceptions encounteredWebMacroLibrary.virtualPageFilter(byte[])
,
WebMacroLibrary.virtualPageFilter(String)
,
WebMacroLibrary.virtualPageFilter(StringBuffer, Map, Map)
,
WebMacroLibrary.virtualPageFilter(HTTPRequest, Map, long[], String[], StringBuffer)
public java.lang.StringBuffer virtualPageFilter(java.lang.StringBuffer data, java.util.Map<java.lang.String,java.lang.String> parms, java.util.Map<java.lang.String,java.lang.Object> objs) throws HTTPRedirectException
WebMacroLibrary
virtualPageFilter
in interface WebMacroLibrary
data
- the fake page to filterparms
- fake request parameters, which normally come from the request objectobjs
- the object cache for use by macrosHTTPRedirectException
- any redirect exceptions encounteredWebMacroLibrary.virtualPageFilter(byte[])
,
WebMacroLibrary.virtualPageFilter(String)
,
WebMacroLibrary.virtualPageFilter(StringBuffer)
,
WebMacroLibrary.virtualPageFilter(HTTPRequest, Map, long[], String[], StringBuffer)
public java.lang.String clearWebMacros(java.lang.String s)
WebMacroLibrary
clearWebMacros
in interface WebMacroLibrary
s
- the string to clear or webpublic java.lang.String parseFoundMacro(java.lang.StringBuffer s, int i, boolean lookOnly)
WebMacroLibrary
parseFoundMacro
in interface WebMacroLibrary
s
- the stringbuffer to match a webmacro ini
- the index to start looking atlookOnly
- FALSE to clear '@' on internal macrospublic java.lang.String clearWebMacros(java.lang.StringBuffer s)
WebMacroLibrary
clearWebMacros
in interface WebMacroLibrary
s
- the string to clear or webpublic java.lang.StringBuffer virtualPageFilter(com.planet_ink.coffee_web.interfaces.HTTPRequest request, java.util.Map<java.lang.String,java.lang.Object> objects, long[] processStartTime, java.lang.String[] lastFoundMacro, java.lang.StringBuffer s) throws HTTPRedirectException
WebMacroLibrary
virtualPageFilter
in interface WebMacroLibrary
request
- the web request that was madeobjects
- an empty 'sessions' object map for use by macros as a cacheprocessStartTime
- a 1-dimensional array with start time-ms, for timeoutslastFoundMacro
- a 1-dimensional array for storing the last found macros
- the page data, which will be modified and returned by the filterHTTPRedirectException
- an http redirect exception foundWebMacroLibrary.virtualPageFilter(byte[])
,
WebMacroLibrary.virtualPageFilter(String)
,
WebMacroLibrary.virtualPageFilter(StringBuffer)
,
WebMacroLibrary.virtualPageFilter(StringBuffer, Map, Map)
protected java.lang.String runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest request, java.lang.String foundMacro, java.lang.String[] lastFoundMacro, boolean isAdminServer) throws HTTPRedirectException, HTTPServerException
protected java.lang.String parseFoundMacro(java.lang.StringBuffer s, int i, java.lang.String[] lastFoundMacro, boolean lookOnly)
protected int myElse(java.lang.StringBuffer s, int i, int end, java.lang.String[] lastFoundMacro)
protected int myBack(java.lang.StringBuffer s, int i, java.lang.String[] lastFoundMacro)
protected int myNext(java.lang.StringBuffer s, int i, java.lang.String[] lastFoundMacro)
protected int myEndif(java.lang.StringBuffer s, int i, java.lang.String[] lastFoundMacro)
public void init()
init
in interface com.planet_ink.coffee_web.interfaces.SimpleServlet
public void doGet(com.planet_ink.coffee_web.interfaces.SimpleServletRequest request, com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) throws com.planet_ink.coffee_web.http.HTTPException
doGet
in interface com.planet_ink.coffee_web.interfaces.SimpleServlet
com.planet_ink.coffee_web.http.HTTPException
public void doPost(com.planet_ink.coffee_web.interfaces.SimpleServletRequest request, com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) throws com.planet_ink.coffee_web.http.HTTPException
doPost
in interface com.planet_ink.coffee_web.interfaces.SimpleServlet
com.planet_ink.coffee_web.http.HTTPException
public void service(com.planet_ink.coffee_web.http.HTTPMethod method, com.planet_ink.coffee_web.interfaces.SimpleServletRequest request, com.planet_ink.coffee_web.interfaces.SimpleServletResponse response) throws com.planet_ink.coffee_web.http.HTTPException
service
in interface com.planet_ink.coffee_web.interfaces.SimpleServlet
com.planet_ink.coffee_web.http.HTTPException
public boolean activate()
CMLibrary
activate
in interface CMLibrary
activate
in class StdLibrary
CMLibrary.shutdown()
public boolean shutdown()
CMLibrary
shutdown
in interface CMLibrary
shutdown
in class StdLibrary
CMLibrary.activate()
public TickClient getServiceClient()
CMLibrary
getServiceClient
in interface CMLibrary
getServiceClient
in class StdLibrary
TickClient
public int getTickStatus()
Tickable
getTickStatus
in interface Tickable
getTickStatus
in class StdLibrary
Tickable.tick(Tickable, int)
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
tick
in class StdLibrary
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in TickableTickable
,
ServiceEngine
,
TickableGroup
public java.lang.Iterable<MOB> getMOBWebCacheIterable()
WebMacroLibrary
getMOBWebCacheIterable
in interface WebMacroLibrary
WebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
public boolean isWebCachedMOB(java.lang.Object M)
WebMacroLibrary
isWebCachedMOB
in interface WebMacroLibrary
M
- the mob to look forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.getMOBWebCacheIterable()
public java.lang.Iterable<Item> getItemWebCacheIterable()
WebMacroLibrary
getItemWebCacheIterable
in interface WebMacroLibrary
WebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
public boolean isWebCachedItem(java.lang.Object I)
WebMacroLibrary
isWebCachedItem
in interface WebMacroLibrary
I
- the item to look forWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String findItemWebCacheCode(Room R, Item I)
WebMacroLibrary
findItemWebCacheCode
in interface WebMacroLibrary
R
- the room to find the item inI
- the item to get a code forWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String findItemWebCacheCode(Item I)
WebMacroLibrary
findItemWebCacheCode
in interface WebMacroLibrary
I
- the item to find likeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String findItemWebCacheCode(java.util.Collection<Item> allitems, Item I)
WebMacroLibrary
findItemWebCacheCode
in interface WebMacroLibrary
allitems
- the web item cache to useI
- the item to find likeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String findItemWebCacheCode(MOB M, Item I)
WebMacroLibrary
findItemWebCacheCode
in interface WebMacroLibrary
M
- the mob to find the item inI
- the item to get a code forWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String findMOBWebCacheCode(Room R, MOB M)
WebMacroLibrary
findMOBWebCacheCode
in interface WebMacroLibrary
R
- the room to look inM
- the mob to get a code forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public java.lang.String findMOBWebCacheCode(MOB M)
WebMacroLibrary
findMOBWebCacheCode
in interface WebMacroLibrary
M
- the mob to search forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public java.lang.String findMOBWebCacheCode(java.util.Collection<MOB> mobs, MOB M)
WebMacroLibrary
findMOBWebCacheCode
in interface WebMacroLibrary
mobs
- the mob cacheM
- the mob to look forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public Item getItemFromWebCache(MOB M, java.lang.String code)
WebMacroLibrary
getItemFromWebCache
in interface WebMacroLibrary
M
- the mob item ownercode
- the item codeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public Item getItemFromWebCache(Room R, java.lang.String code)
WebMacroLibrary
getItemFromWebCache
in interface WebMacroLibrary
R
- the room item ownercode
- the item codeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public Item getItemFromWebCache(java.lang.String code)
WebMacroLibrary
getItemFromWebCache
in interface WebMacroLibrary
code
- the item web cache code, or catalog codeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public Item getItemFromWebCache(java.util.Collection<Item> allitems, java.lang.String code)
WebMacroLibrary
getItemFromWebCache
in interface WebMacroLibrary
allitems
- the item web cache to usecode
- the item web cache code, or catalog codeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public MOB getMOBFromWebCache(Room R, java.lang.String code)
WebMacroLibrary
getMOBFromWebCache
in interface WebMacroLibrary
R
- the room the mob with the code must be incode
- the mob cache codeWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public MOB getMOBFromWebCache(java.lang.String code)
WebMacroLibrary
getMOBFromWebCache
in interface WebMacroLibrary
code
- the mob code to get a mob forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public MOB getMOBFromWebCache(java.util.Collection<MOB> allmobs, java.lang.String code)
WebMacroLibrary
getMOBFromWebCache
in interface WebMacroLibrary
allmobs
- your mob web cachecode
- the mob cache codeWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public MOB getMOBFromCatalog(java.lang.String MATCHING)
WebMacroLibrary
getMOBFromCatalog
in interface WebMacroLibrary
MATCHING
- the catalog cache codeWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public Item getItemFromCatalog(java.lang.String MATCHING)
WebMacroLibrary
getItemFromCatalog
in interface WebMacroLibrary
MATCHING
- the catalog item codeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String getAppropriateCode(PhysicalAgent E, Physical RorM, java.util.Collection classes)
WebMacroLibrary
getAppropriateCode
in interface WebMacroLibrary
E
- the object to get a code forRorM
- an item ownerclasses
- a web cachepublic Item findItemInWebCache(java.lang.String MATCHING)
WebMacroLibrary
findItemInWebCache
in interface WebMacroLibrary
MATCHING
- the item code to look forWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public Item findItemInAnything(java.lang.Object allitems, java.lang.String MATCHING)
WebMacroLibrary
findItemInAnything
in interface WebMacroLibrary
allitems
- a mob, a room, or an item cache, or nullMATCHING
- the item code to look forWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public MOB getMOBFromAnywhere(java.lang.String MATCHING)
WebMacroLibrary
getMOBFromAnywhere
in interface WebMacroLibrary
MATCHING
- the mob finding codeWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public MOB findMOBMatchInWebCache(MOB M)
WebMacroLibrary
findMOBMatchInWebCache
in interface WebMacroLibrary
M
- the mob to find a match forWebMacroLibrary.contributeMOBsToWebCache(Collection)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public Item findItemMatchInWebCache(Item I)
WebMacroLibrary
findItemMatchInWebCache
in interface WebMacroLibrary
I
- the item to look for likeWebMacroLibrary.contributeItemsToWebCache(Collection)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.util.Collection<MOB> contributeMOBsToWebCache(java.util.Collection<MOB> inhabs)
WebMacroLibrary
contributeMOBsToWebCache
in interface WebMacroLibrary
inhabs
- the mobs to add to the web cacheWebMacroLibrary.findMOBMatchInWebCache(MOB)
,
WebMacroLibrary.getMOBFromAnywhere(String)
,
WebMacroLibrary.getMOBFromCatalog(String)
,
WebMacroLibrary.getMOBFromWebCache(Collection, String)
,
WebMacroLibrary.getMOBFromWebCache(String)
,
WebMacroLibrary.getMOBFromWebCache(Room, String)
,
WebMacroLibrary.findMOBWebCacheCode(Collection, MOB)
,
WebMacroLibrary.findMOBWebCacheCode(MOB)
,
WebMacroLibrary.findMOBWebCacheCode(Room, MOB)
,
WebMacroLibrary.isWebCachedMOB(Object)
,
WebMacroLibrary.getMOBWebCacheIterable()
public boolean isAllNum(java.lang.String str)
WebMacroLibrary
isAllNum
in interface WebMacroLibrary
str
- the string to checkpublic java.util.Collection<Item> contributeItemsToWebCache(java.util.Collection<Item> items)
WebMacroLibrary
contributeItemsToWebCache
in interface WebMacroLibrary
items
- the collection of items to submitWebMacroLibrary.findItemMatchInWebCache(Item)
,
WebMacroLibrary.findItemInWebCache(String)
,
WebMacroLibrary.findItemInAnything(Object, String)
,
WebMacroLibrary.getItemFromCatalog(String)
,
WebMacroLibrary.getItemFromWebCache(Collection, String)
,
WebMacroLibrary.getItemFromWebCache(String)
,
WebMacroLibrary.getItemFromWebCache(Room, String)
,
WebMacroLibrary.getItemFromWebCache(MOB, String)
,
WebMacroLibrary.findItemWebCacheCode(MOB, Item)
,
WebMacroLibrary.findItemWebCacheCode(Collection, Item)
,
WebMacroLibrary.findItemWebCacheCode(Item)
,
WebMacroLibrary.findItemWebCacheCode(Room, Item)
,
WebMacroLibrary.isWebCachedItem(Object)
,
WebMacroLibrary.getItemWebCacheIterable()
public java.lang.String getWebCacheSuffix(Environmental E)
WebMacroLibrary
getWebCacheSuffix
in interface WebMacroLibrary
E
- the mob or item to get an expiration description for