|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.server.context.Mod
org.elkoserver.server.context.mods.Invisible
public class Invisible
Marker mod to indicate that an item should be hidden from clients. This mod only makes sense when attached to items, not to contexts or users. If this mod is attached to an item, that item and its contents will be omitted from the description of the containing context that is transmitted to users who enter that context.
| Method Summary | |
|---|---|
JSONLiteral |
encode(EncodeControl control)
Encode this mod for transmission or persistence. |
void |
objectIsComplete()
Mark the item as invisible, now that there's an item to mark. |
| Methods inherited from class org.elkoserver.server.context.Mod |
|---|
attachTo, clone, context, ensureHolding, ensureInContext, ensureReachable, ensureSameContext, ensureSameUser, holder, isEphemeral, markAsChanged, markAsEphemeral, object |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public JSONLiteral encode(EncodeControl control)
encode in interface Encodablecontrol - Encode control determining what flavor of encoding
should be done.
public void objectIsComplete()
Application code should not call this method.
objectIsComplete in interface ObjectCompletionWatcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||