public interface SchemaConstants
This file defines known constants for pre-defined Schema object types, fields, and certain pre-defined objects that the server depends on for administering default permissions.
| Object Name | Object Type ID | Purpose |
|---|---|---|
| Owner Group | 0 | An association between a collection of admin personae and the collection of objects they own. |
| Admin Persona | 1 | A record of privileges and owner groups that can be associated with a user. |
| Role | 2 | A record of permissions by object and field type. Associated with admin personae. |
| User | 3 | A person who can log in to Ganymede. |
| System Event | 4 | A type of general system event that can be logged and for which mail can be sent to a list of addresses when it occurs. |
| Task | 5 | A schedulable work routine. |
| Object Event | 6 | A kind of event that can occur in relation to a specific database object, which can be logged and for which mail can be sent to a list of addresses. |
| Sync Channel | 7 | Definition for a synchronous sync channel that uses message queueing logic to send change deltas to external sync targets. |
| Field Name | Field ID | Field Type | Purpose |
|---|---|---|---|
| OwnerListField | 0 | InvidDBField |
List of owner groups with authority over this object |
| ExpirationField | 1 | DateDBField |
date that this object will expire |
| RemovalField | 2 | DateDBField |
date that this object will be removed |
| NotesField | 3 | StringDBField |
string field for notes for this object |
| CreationDateField | 4 | DateDBField |
date that this object was created |
| CreatorField | 5 | StringDBField |
string describing the creator of this object |
| ModificationDateField | 6 | DateDBField |
date that this object was last modified |
| ModifierField | 7 | StringDBField |
string describing the administrator who last modified this object |
This file contains lots of other constants for fields in the 8 mandatory object types, but I'm tired of typing, so I'm not going to try to document them in the javadoc class header right now.
| Modifier and Type | Field and Description |
|---|---|
static short |
BackLinksField
any miscellaneous pointers pointing to us are kept track of in
this field if we don't have an explicit back-link field.
|
static short |
ContainerField |
static short |
CreationDateField
date that this object was created
|
static short |
CreatorField
string describing the creator of this object
|
static short |
EventBase |
static short |
EventDescription
fuller description of this event class, suitable for an email
body (String field)
|
static short |
EventExternalMail
A list of external email addresses to send mail for this event to.
|
static short |
EventMailBoolean
if true, events of this type should be mailed (Boolean field)
|
static short |
EventMailOwners
if true, the owner groups owning the objects referenced in this
event will get a copy of any mail (Boolean field)
|
static short |
EventMailToSelf
if true, the admin performing the action will get a copy of any
mail (Boolean field)
|
static short |
EventName
Short name for this event class, suitable for an email message
title (String field)
|
static short |
EventToken
single-word token for this event class (String field)
|
static short |
ExpirationField
date that this object will expire
|
static short |
FinalBase
what's the last base we currently have defined as a mandatory base?
|
static short |
FinalSystemField
in case we add more system fields to objects
|
static short |
ModificationDateField
date that this object was last modified
|
static short |
ModifierField
string describing the administrator who last modified this object
|
static short |
NotesField
string field for notes for this object
|
static short |
ObjectEventBase |
static short |
ObjectEventDescription
fuller description of this event class, suitable for an email
body (String field)
|
static short |
ObjectEventExternalMail
A list of external email addresses to send mail for this event to.
|
static short |
ObjectEventLabel
Hidden label field used for synthesizing composite label from
the ObjectEventToken and ObjectEventObjectName fields.
|
static short |
ObjectEventMailOwners
if true, the owner groups owning objects affected by this event
will get a copy of the mail
|
static short |
ObjectEventMailToSelf
if true, the admin performing the action will get a copy of any
mail (Boolean field)
|
static short |
ObjectEventName
Short name for this event class, suitable for an email message
title (String field)
|
static short |
ObjectEventObjectName
the name of the object type that this event category applies to
|
static short |
ObjectEventObjectType
the short id of the object type that this event category applies
to
|
static short |
ObjectEventToken
single-word token for this event class (String field)
|
static short |
OwnerBase
all objects are owned by objects of type OwnerBase
|
static short |
OwnerCcAdmins
If true, all mail sent in care of this owner group will be
distributed to all admins on the list automatically
|
static short |
OwnerExternalMail
what external email addresses should be notified if objects owned change?
|
static short |
OwnerListField
list of owner groups with authority over this object
|
static short |
OwnerMembersField
what admin:role entities have privileges in this OwnerBase?
|
static short |
OwnerNameField
name of this owner set
|
static short |
OwnerObjectsOwned
what objects does this owner set own?
|
static short |
OwnerSupergash
the following is a fixed object id's
|
static short |
PersonaAdminConsole
boolean, does this role have access to the admin console?
|
static short |
PersonaAdminPower
boolean, does this role have *full* access to the admin console?
|
static short |
PersonaAssocUser
if associated with a user, here's the reference.
|
static short |
PersonaBase
an administrator privilege record
|
static short |
PersonaGroupsField
list of owner groups that this admin is a member of
|
static short |
PersonaInterpreterPower
boolean, does this role have access to the administrative interpreter?
|
static short |
PersonaLabelField
string, a hidden label field.
|
static short |
PersonaMailAddr
string, the mail address for this administrator, if not implicitly
extracted from their user name.
|
static short |
PersonaMonitorObj
Object number for a pre-defined object used by the server
|
static short |
PersonaNameField
what is this descriptive tag for this persona, not including the user name?
|
static short |
PersonaPasswordField
password for this admin account
|
static short |
PersonaPrivs
vector of permission invids for this admin account
|
static short |
PersonaSupergashObj
Object number for a pre-defined object used by the server
|
static short |
RemovalField
date that this object will be removed.
|
static short |
RoleBase
this base contains a set of permission bits constraining the
admin personae's power
|
static short |
RoleDefaultMatrix
permissions applying to all objects not owned by the relevant personae
|
static short |
RoleDefaultObj
Object number for a pre-defined object used by the server
|
static short |
RoleDelegatable
can this role be passed on to admins created by admins owning this role?
|
static short |
RoleMatrix
permissions applying to objects owned by admin personae
|
static short |
RoleName
The name of this Role (String)
|
static short |
RolePersonae
what admin personae are using this role?
|
static short |
SyncChannelBase
Records of synchronous message queue channels for delta change
transmissions.
|
static short |
SyncChannelClassName
If we're going to have a SyncMaster object injecting extra
information into the delta sync records produced for this Sync
Channel, we'll have a class name in this field.
|
static short |
SyncChannelDirectory
Directory to write sync records to
|
static short |
SyncChannelFields
What fields are we interested in syncing to this channel?
|
static short |
SyncChannelFullStateFile
If we're a full-state XML sync program, what file will we write to?
|
static short |
SyncChannelName
Name of this sync channel
|
static short |
SyncChannelPlaintextOK
Do we allow plaintext passwords on this channel?
|
static short |
SyncChannelServicer
External program to run to serve this sync channel.
|
static short |
SyncChannelTypeNum
Are we going to act as an incremental, full-state, or manual XML
sync channel?
|
static short |
SyncChannelTypeString
Are we going to act as an incremental, full-state, or manual XML
sync channel?
|
static short |
TaskBase
Records of task classes we want to attach to the server
|
static short |
TaskClass
what is the fully qualified classname for this builder task?
|
static short |
TaskName
name of this task (i.e., DNSBuilder, NISBuilder)
|
static short |
TaskOptionStrings
string: vector of option strings that can be interpreted by
a given builder task
|
static short |
TaskPeriodAnchor
date: anchor point used to determine time of day, week, etc.
|
static short |
TaskPeriodCount
numeric: how many period units between task execution?
|
static short |
TaskPeriodUnit
string: what is the inteval unit for periodic execution
|
static short |
TaskRunOnCommit
boolean: should this task be scheduled for execution when a transaction is committed
|
static short |
TaskRunPeriodically
boolean: should this task be scheduled for execution at regular intevals?
|
static short |
UserAdminPersonae
pointer to zero or more associated admin personae
|
static short |
UserBase |
static short |
UserPassword
password
|
static short |
UserUserName
username string
|
static final short OwnerListField
static final short ExpirationField
static final short RemovalField
static final short NotesField
static final short CreationDateField
static final short CreatorField
static final short ModificationDateField
static final short ModifierField
static final short BackLinksField
any miscellaneous pointers pointing to us are kept track of in this field if we don't have an explicit back-link field.
This field is DEPRECATED and RESERVED, and should only be encountered in ganymede.db files from old versions of the Ganymede server.
static final short FinalSystemField
static final short ContainerField
static final short OwnerBase
static final short OwnerNameField
static final short OwnerMembersField
static final short OwnerObjectsOwned
static final short OwnerCcAdmins
static final short OwnerExternalMail
static final short OwnerSupergash
static final short PersonaBase
static final short PersonaNameField
static final short PersonaPasswordField
static final short PersonaGroupsField
static final short PersonaAssocUser
static final short PersonaPrivs
static final short PersonaAdminConsole
static final short PersonaAdminPower
static final short PersonaMailAddr
static final short PersonaLabelField
static final short PersonaInterpreterPower
static final short PersonaSupergashObj
static final short PersonaMonitorObj
static final short RoleBase
static final short RoleName
static final short RoleMatrix
static final short RolePersonae
static final short RoleDefaultMatrix
static final short RoleDelegatable
static final short RoleDefaultObj
static final short UserBase
static final short UserUserName
static final short UserPassword
static final short UserAdminPersonae
static final short EventBase
static final short EventToken
static final short EventName
static final short EventDescription
static final short EventMailBoolean
static final short EventMailToSelf
static final short EventMailOwners
static final short EventExternalMail
static final short ObjectEventBase
static final short ObjectEventLabel
static final short ObjectEventToken
static final short ObjectEventName
static final short ObjectEventDescription
static final short ObjectEventMailToSelf
static final short ObjectEventObjectName
static final short ObjectEventMailOwners
static final short ObjectEventObjectType
static final short ObjectEventExternalMail
static final short TaskBase
static final short TaskName
static final short TaskClass
static final short TaskRunOnCommit
static final short TaskRunPeriodically
static final short TaskPeriodUnit
static final short TaskPeriodCount
static final short TaskPeriodAnchor
static final short TaskOptionStrings
static final short SyncChannelBase
static final short SyncChannelName
static final short SyncChannelDirectory
static final short SyncChannelServicer
static final short SyncChannelFields
static final short SyncChannelPlaintextOK
static final short SyncChannelTypeString
static final short SyncChannelFullStateFile
static final short SyncChannelTypeNum
static final short SyncChannelClassName
static final short FinalBase