org.sandev.TaskHeap.structs
Class SystemStatusStruct

java.lang.Object
  extended by org.sandev.TaskHeap.structs.SystemStatusStruct
Direct Known Subclasses:
SystemStatus

public class SystemStatusStruct
extends java.lang.Object

A single instance to hold things like system announcements and other global site info we use for admin purposes.

This message is persistent.
This message is a tree of values.
summary fields: name accessLevel
This message has the following verb forms: update query collection

Field Summary
protected  int accessLevel
          The allowed access level for users.
protected  java.lang.String globalAnnouncement
          Anything we want printed out on the homepage for everyone to see.
protected  java.lang.String name
          A single identifier just for our own reference in the summary view.
 
Constructor Summary
SystemStatusStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
A single identifier just for our own reference in the summary view.

declared invalid value: "INVALID_NAME"
Length in characters, normal: 40 max: 60

globalAnnouncement

protected java.lang.String globalAnnouncement
Anything we want printed out on the homepage for everyone to see.

declared invalid value: "INVALID_ANNOUNCEMENT"
Length in characters, normal: 512 max: 2048

accessLevel

protected int accessLevel
The allowed access level for users. The admin is exempt.

declared default value: NORMAL

enumerated constant values:

  • NORMAL("Normal operation") = 0
  • READONLY("Read-only access") = 1
  • NOACCESS("No access") = 2
declared invalid value: -1
declared printname: access level
Constructor Detail

SystemStatusStruct

public SystemStatusStruct()