|
OBEROn SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oberon.ooql.sdk.OBBase
com.oberon.ooql.sdk.AdminBase
com.oberon.ooql.sdk.LinkType
public class LinkType
LinkType Admin Object: defines a type of relationship between OBEROn object [ObjectObj] instances.
| Field Summary | |
|---|---|
static int |
CARD_MULTIPLE
The cardinality multiple constant (N) |
static int |
CARD_SINGLE
The cardinality single constant (1) |
static int |
CLONE_DUPLICATE
All links are replicated to the new object during the clone operation |
static int |
CLONE_MOVE
All links are moved from the reference to the new object during the clone operation |
static int |
CLONE_NONE
Object clonation doesn't affect links |
static int |
REVISION_DUPLICATE
All links are replicated to the new object during the revision operation |
static int |
REVISION_MOVE
All links are moved from the reference to the new object during the revision operation |
static int |
REVISION_NONE
Object revision doesn't affect links |
| Fields inherited from class com.oberon.ooql.sdk.AdminBase |
|---|
bsOptions, HIDDEN_OPTION |
| Constructor Summary | |
|---|---|
LinkType()
|
|
LinkType(java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.lang.String |
accessToString(java.util.BitSet accessFlags,
java.lang.String delim)
Convert the access flags to the OOQL format |
void |
addClass(java.lang.String className,
boolean from)
Add a From/To Side Class to the LinkType. |
void |
addField(java.lang.String fieldName)
Add a Field to this LinkType |
void |
addFromSideClass(java.lang.String className)
Add a From Side Class to the LinkType. |
void |
addToSideClass(java.lang.String className)
Add a To Side Class to the LinkType. |
void |
addTrigger(Trigger trigger)
Add a Trigger to this LinkType |
java.lang.String |
compareUpdate(LinkType refLinkType,
boolean checkImage,
boolean overwrite,
boolean force,
Framework framework)
Return/apply the OOQL command to update this LinkType object and let it become equals to another reference object. |
void |
create(boolean force,
Framework framework)
Create a new LinkType object on the database |
void |
create(Framework framework)
Create a new LinkType object on the database |
void |
destroy(Framework framework)
Remove the LinkType object from the database |
void |
fromXML(org.jdom.Element rootElement)
Load the LinkType object properties from XML element tree |
ActorAccess |
getActorAccess(java.lang.String actorType,
java.lang.String actorName)
Get the Link accesses for a specific actor |
boolean |
getActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType)
Get actor access for a specific operation |
java.util.Vector<ActorAccess> |
getActorAccesses()
Get the all actor accesses for this LinkType |
java.util.Vector<java.lang.String> |
getActors()
Get the list of all actors for this LinkType |
java.util.Vector<java.lang.String> |
getActors(java.lang.String actorType)
Get the list of actors for this LinkType |
java.lang.String |
getCardinalityAsString(int cardinality)
Convert the cardinality to OOQL string |
java.lang.String |
getCloneAsString(int clone)
Convert the clone behavior to OOQL string |
java.util.BitSet |
getCommunityAccess()
Get the Link accesses for the community |
boolean |
getCommunityAccess(int accessType)
Get the community access for a specific operation |
java.lang.String |
getCreateCommand(boolean force)
Return the OOQL command to create this LinkType object with the settled properties |
java.lang.String |
getDefaultForm()
Get the default Form to edit Links of this LinkType. |
boolean |
getDuplicate()
Check if the LinkType allows duplicates. |
java.util.Vector<java.lang.String> |
getFields()
Return the list of Fields for this LinkType |
java.lang.String |
getFieldsAsString(java.lang.String delim)
Return the list of Fields, as a String |
int |
getFromSideCardinality()
Get the From side cardinality |
java.util.Vector<java.lang.String> |
getFromSideClasses()
Get the list of Classes that allow outgoing Links of this LinkType. |
java.lang.String |
getFromSideClassesAsString(java.lang.String delim)
Get the list of Classes that allow outgoing Links of this LinkType as a single String. |
int |
getFromSideClone()
Get the From side clone behavior. |
java.lang.String |
getFromSideNote()
Get the note that describes the From side |
int |
getFromSideRevision()
Get the From side revision behavior. |
java.util.BitSet |
getHistoryOption()
Get the events traced into the history table for Links of this LinkType |
boolean |
getHistoryOption(int event)
Check if a specific event is traced into the history table for Links with this LinkType |
java.lang.String |
getHistoryOptionsAsString(java.lang.String delim)
Get the events traced into the history table for Links of this LinkType as String |
java.util.BitSet |
getHolderAccess()
Get the Link accesses for the holder |
boolean |
getHolderAccess(int accessType)
Get the holder access for a specific operation |
java.lang.String |
getProperty(java.lang.String propertyName,
java.util.Vector<java.lang.Object> filterArgs,
java.lang.String token,
Framework framework)
Get a property for this LinkType object by its OOQL identifier |
java.lang.String |
getRevisionAsString(int revision)
Convert the revision behavior to OOQL string |
java.lang.String |
getSaveCommand(boolean force)
Return the OOQL command to update this LinkType object with the modified properties. |
boolean |
getSelfLink()
Check if the LinkType allows Self-Links. |
java.util.Vector<?> |
getTargetNames(java.lang.String composedName,
java.util.Vector<java.lang.Object> filterArgs,
Framework framework)
Return a Vector of administrative object names extracted by using an OOQL selector |
int |
getToSideCardinality()
Get the To side cardinality |
java.util.Vector<java.lang.String> |
getToSideClasses()
Get the list of Classes that allow incoming Links of this LinkType. |
java.lang.String |
getToSideClassesAsString(java.lang.String delim)
Get the list of Classes that allow incoming Links of this LinkType as a single String. |
int |
getToSideClone()
Get the To side clone behavior. |
java.lang.String |
getToSideNote()
Get the note that describes the To side |
int |
getToSideRevision()
Get the To side revision behavior. |
Trigger |
getTriggerByEvent(java.lang.String event)
Get the Program-Trigger for a specific event |
java.util.Vector<Trigger> |
getTriggers()
Return the list of Triggers defined for this LinkType |
java.lang.String |
getTriggersAsString(java.lang.String delim)
Return the list of Program-Triggers, as a String |
java.lang.String |
getWorkflowAsString(java.lang.String delim)
Return the list of Workflow-Triggers, as a String |
Trigger |
getWorkflowByEvent(java.lang.String event)
Get the Workflow-Trigger for a specific event |
org.jdom.Element |
getXMLAssignmentList(java.lang.String assignName)
Return the LinkType Assignment actor accesses as XML element tree |
org.jdom.Element |
getXMLCommunity()
Return the LinkType community accesses as XML element tree |
org.jdom.Element |
getXMLHistoryFlags()
Return the history flags as XML element tree |
org.jdom.Element |
getXMLHolder()
Return the LinkType holder accesses as XML element tree |
org.jdom.Element |
getXMLTeamList(java.lang.String teamName)
Return the LinkType Team actor accesses as XML element tree |
org.jdom.Element |
getXMLUserList(java.lang.String userName)
Return the LinkType User actor accesses as XML element tree |
boolean |
hasAccess(int accessType,
Framework framework)
Check if the current framework User has access for a specific operation (ignore holder access) |
boolean |
hasAccess(int accessType,
Link link,
Framework framework)
Check if the current framework User has access for a specific operation on a given Link |
boolean |
hasAccess(int accessType,
Link link,
java.lang.String userName,
Framework framework)
Check if a User has access for a specific operation on a given Link. |
boolean |
hasAccess(int accessType,
java.lang.String userName,
Framework framework)
Check if a User has access for a specific operation (ignore holder access). |
boolean |
isCheckUpdate()
Check if the checkUpdate option is active for this Linktype |
boolean |
isHistoryActive(int event)
Check if a specific event is traced into the history table for Links of this LinkType |
boolean |
isUndoEnabled()
Check if the Undo option is enabled for this Lifecycle |
void |
link(Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
Open the object: connect the memory instance with the database instance |
static LinkType |
open(java.lang.String name,
Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
Open an administrative object and read properties from the database or retrieve them from memory |
void |
removeActorAccess(java.lang.String actorType,
java.lang.String actorName)
Revoke the Link access to a specific actor |
void |
removeField(java.lang.String fieldName)
Remove a Field from this LinkType; values for all instantiated links will be lost |
void |
removeFromSideClass(java.lang.String className)
Remove a From Side Class from the LinkType. |
void |
removeToSideClass(java.lang.String className)
Remove a To Side Class from the LinkType. |
void |
removeTrigger(Trigger trigger)
Remove a Trigger from this LinkType |
void |
setActorAccess(java.lang.String actorType,
java.lang.String actorName,
java.util.BitSet accessFlags)
Set the Link accesses for a specific actor |
void |
setActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType,
boolean accessFlag)
Set the Link access for an actor user |
void |
setAllActorAccess(java.lang.String actorType,
java.lang.String actorName)
Give the full Link access to a specific actor |
void |
setAllCommunityAccess()
Give the full Link access to the community |
void |
setAllHistoryOption()
Active all events history trace for Links of this LinkType |
void |
setAllHolderAccess()
Give the full Link access to the holder |
void |
setCardinality(java.lang.String cardinality,
boolean from)
Set the From/To side cardinality |
void |
setCheckUpdate(boolean checkUpdate)
Set the checkUpdate option. |
void |
setClone(java.lang.String clone,
boolean from)
Set the From/To side clone behavior. |
void |
setCommunityAccess(java.util.BitSet accessFlags)
Set the Link accesses for the community |
void |
setCommunityAccess(int accessType,
boolean accessFlag)
Set the Link access for the community |
void |
setDefaultForm(java.lang.String defaultForm)
Set the default Form to edit Links of this LinkType. |
void |
setDuplicate(boolean duplicate)
Set the duplicate flag for this LinkType. |
void |
setFromSideCardinality(int cardinality)
Set the From side cardinality |
void |
setFromSideClone(int clone)
Set the From side clone behavior. |
void |
setFromSideNote(java.lang.String note)
Set a note to describe the From side |
void |
setFromSideRevision(int revision)
Set the From side revision behavior. |
void |
setHistoryOption(java.util.BitSet eventFlags)
Set the events to log into the history table for Links of this LinkType |
void |
setHistoryOption(int event,
boolean flag)
Set the events to log into the history table for Links of this LinkType |
void |
setHolderAccess(java.util.BitSet accessFlags)
Set the Link accesses for the holder |
void |
setHolderAccess(int accessType,
boolean accessFlag)
Set the Link access for the Link's holder |
void |
setNoCommunityAccess()
Revoke the Link access to the community |
void |
setNoHistoryOption()
Disable history trace for Links of this LinkType |
void |
setNoHolderAccess()
Revoke the Link access to the holder |
void |
setNote(java.lang.String note,
boolean from)
Set a note to describe the From/To side |
void |
setRevision(java.lang.String revision,
boolean from)
Set the From/To side revision behavior. |
void |
setSelfLink(boolean selflink)
Set the selflink flag for this LinkType. |
void |
setToSideCardinality(int cardinality)
Set the To side cardinality |
void |
setToSideClone(int clone)
Set the To side clone behavior. |
void |
setToSideNote(java.lang.String note)
Set a note to describe the To side |
void |
setToSideRevision(int revision)
Set the To side revision behavior. |
void |
setTriggers(java.util.Vector<Trigger> triggers)
Set Triggers for this LinkType |
void |
setUndoOption(boolean undoOption)
Set the Undo option. |
java.lang.String |
toString()
Return the LinkType object basic properties as a single String |
java.lang.String |
toString(Framework framework)
Return the LinkType object extended properties as a single String |
org.jdom.Element |
toXML(boolean getImage,
boolean fullDump,
Framework framework)
Return the LinkType object properties as XML element tree |
org.jdom.Element |
toXML(Framework framework)
Return the LinkType object properties as XML element tree |
void |
unlink(Framework framework)
Close the object: disconnect the memory instance from the database instance |
void |
updateActorAccess(java.util.Vector<ActorAccess> accesses)
Update the execute access on the basis of a given list |
void |
updateFields(java.util.Vector<java.lang.String> fields)
Update the fields on the basis of a given list |
void |
updateFromSideClasses(java.util.Vector<java.lang.String> classes)
Update the From Side classes on the basis of a given list |
void |
updateToSideClasses(java.util.Vector<java.lang.String> classes)
Update the To Side classes on the basis of a given list |
void |
updateTriggers(java.util.Vector<Trigger> triggers)
Update the triggers on the basis of a given list |
void |
write(boolean force,
Framework framework)
Update the LinkType object to the database |
void |
write(Framework framework)
Update the LinkType object to the database |
| Methods inherited from class com.oberon.ooql.sdk.OBBase |
|---|
addChange, addUniqueChange, ChangesFromXML, ChangesToXML, getChanges, getChangesAsString, getId, isLinked, removeChange, resetChanges, setId, setLinked |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CARD_MULTIPLE
public static final int CARD_SINGLE
public static final int CLONE_NONE
public static final int CLONE_MOVE
public static final int CLONE_DUPLICATE
public static final int REVISION_NONE
public static final int REVISION_MOVE
public static final int REVISION_DUPLICATE
| Constructor Detail |
|---|
public LinkType()
public LinkType(java.lang.String name)
throws OberonException
name - the name of the administrative object
OberonException - if the name contains invalid characters| Method Detail |
|---|
public static LinkType open(java.lang.String name,
Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
throws OberonException
name - the object nameframework - the current frameworkcounters - administrative object synch counters (if null read them from database)
OberonException - usually due to DB SQL exceptions
public void link(Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
throws OberonException
link in class AdminBaseframework - the current frameworkcounters - administrative object synch counters (if null read them from database)
OberonException - usually due to DB SQL exceptions
public void create(Framework framework)
throws OberonException
create in class AdminBaseframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rights
public void create(boolean force,
Framework framework)
throws OberonException
force - if true ignores optional featuresframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rights
public void write(Framework framework)
throws OberonException
write in class AdminBaseframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rights
public void write(boolean force,
Framework framework)
throws OberonException
force - if true ignores optional featuresframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rights
public void unlink(Framework framework)
throws OberonException
unlink in class AdminBaseframework - the current framework
OberonException - usually due to DB SQL exceptions
public void destroy(Framework framework)
throws OberonException
destroy in class AdminBaseframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rightspublic void setDuplicate(boolean duplicate)
ObjectObjs cannot be created.
duplicate - true to avoid Link duplicatespublic boolean getDuplicate()
public void setSelfLink(boolean selflink)
ObjectObj and itself
selflink - true to avoid Self-Linkspublic boolean getSelfLink()
public void setCheckUpdate(boolean checkUpdate)
checkUpdate - true to enable the optionpublic boolean isCheckUpdate()
public void setUndoOption(boolean undoOption)
undoOption - true to enable the Undo optionpublic boolean isUndoEnabled()
public void addField(java.lang.String fieldName)
fieldName - the name of the Field to addpublic void removeField(java.lang.String fieldName)
fieldName - the name of the Field to removepublic void updateFields(java.util.Vector<java.lang.String> fields)
fields - list of Field's namespublic java.util.Vector<java.lang.String> getFields()
Field namespublic java.lang.String getFieldsAsString(java.lang.String delim)
delim - the separator item
Field names separated by the delim characterspublic void setFromSideNote(java.lang.String note)
public java.lang.String getFromSideNote()
public void setToSideNote(java.lang.String note)
public java.lang.String getToSideNote()
public void setNote(java.lang.String note,
boolean from)
from - true to set the From note / false to set the To notepublic void setFromSideCardinality(int cardinality)
cardinality - the cardinality constant ( CARD_MULTIPLE / CARD_SINGLE)public int getFromSideCardinality()
public void setToSideCardinality(int cardinality)
cardinality - the cardinality constant ( CARD_MULTIPLE / CARD_SINGLE)public int getToSideCardinality()
public java.lang.String getCardinalityAsString(int cardinality)
public void setCardinality(java.lang.String cardinality,
boolean from)
cardinality - the OOQL cardinality string ( single / multiple )from - true to set the From cardinality / false to set the To cardinalitypublic void setFromSideRevision(int revision)
ObjectObj's outgoing links during the revise operation
revision - the revision behavior constant ( REVISION_NONE / REVISION_MOVE / REVISION_DUPLICATE)public int getFromSideRevision()
setFromSideRevision(int)public void setToSideRevision(int revision)
ObjectObj's incoming links during the revise operation
revision - the revision behavior constant ( REVISION_NONE / REVISION_MOVE / REVISION_DUPLICATE)public int getToSideRevision()
setToSideRevision(int)public java.lang.String getRevisionAsString(int revision)
public void setRevision(java.lang.String revision,
boolean from)
ObjectObj's links during the revise operation
revision - the OOQL revision behavior string ( none / move / duplicate )from - true to set the From revision behavior / false to set the To revision behaviorpublic void setFromSideClone(int clone)
ObjectObj's outgoing links during the clone operation
clone - the clone behavior constant ( CLONE_NONE / CLONE_MOVE / CLONE_DUPLICATE)public int getFromSideClone()
setFromSideClone(int)public void setToSideClone(int clone)
ObjectObj's incoming links during the clone operation
clone - the clone behavior constant ( CLONE_NONE / CLONE_MOVE / CLONE_DUPLICATE)public int getToSideClone()
setToSideClone(int)public java.lang.String getCloneAsString(int clone)
public void setClone(java.lang.String clone,
boolean from)
ObjectObj's links during the clone operation
clone - the OOQL clone behavior string ( none / move / duplicate )from - true to set the From clone behavior / false to set the To clone behaviorpublic void addFromSideClass(java.lang.String className)
className - the Class namepublic void removeFromSideClass(java.lang.String className)
ObjectObj instances of this Class (or its subClasses) cannot have outgoing Links of this LinkType.
className - the Class namepublic void updateFromSideClasses(java.util.Vector<java.lang.String> classes)
classes - list of Class's namespublic java.util.Vector<java.lang.String> getFromSideClasses()
Class namespublic java.lang.String getFromSideClassesAsString(java.lang.String delim)
delim - the Class name separatorpublic void addToSideClass(java.lang.String className)
className - the Class namepublic void removeToSideClass(java.lang.String className)
ObjectObj instances of this Class (or its subClasses) cannot have incoming Links of this LinkType.
className - the Class namepublic void updateToSideClasses(java.util.Vector<java.lang.String> classes)
classes - list of Class's namespublic java.util.Vector<java.lang.String> getToSideClasses()
Class namespublic java.lang.String getToSideClassesAsString(java.lang.String delim)
delim - the Class name separator
public void addClass(java.lang.String className,
boolean from)
className - the Class namefrom - true to add From class / false to add To classpublic void setDefaultForm(java.lang.String defaultForm)
Links of this LinkType.
defaultForm - the default edit Formpublic java.lang.String getDefaultForm()
Form to edit Links of this LinkType.
public void setHistoryOption(int event,
boolean flag)
Links of this LinkType
event - the history eventflag - if true the event will be traced into the historypublic void setAllHistoryOption()
Links of this LinkType
public void setNoHistoryOption()
Links of this LinkType
public void setHistoryOption(java.util.BitSet eventFlags)
Links of this LinkType
public boolean getHistoryOption(int event)
Links with this LinkType
event - the event codepublic boolean isHistoryActive(int event)
Links of this LinkType
event - the event codepublic java.util.BitSet getHistoryOption()
Links of this LinkType
public java.lang.String getHistoryOptionsAsString(java.lang.String delim)
Links of this LinkType as String
delim - the event name separator
public void setHolderAccess(int accessType,
boolean accessFlag)
Link access for the Link's holder
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllHolderAccess()
Link access to the holder
public void setNoHolderAccess()
Link access to the holder
public void setHolderAccess(java.util.BitSet accessFlags)
Link accesses for the holder
public boolean getHolderAccess(int accessType)
accessType - the access typepublic java.util.BitSet getHolderAccess()
Link accesses for the holder
public java.lang.String accessToString(java.util.BitSet accessFlags,
java.lang.String delim)
delim - the access separator string
public void setCommunityAccess(int accessType,
boolean accessFlag)
Link access for the community
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllCommunityAccess()
Link access to the community
public void setNoCommunityAccess()
Link access to the community
public void setCommunityAccess(java.util.BitSet accessFlags)
Link accesses for the community
public boolean getCommunityAccess(int accessType)
accessType - the access typepublic java.util.BitSet getCommunityAccess()
Link accesses for the community
public void setActorAccess(java.lang.String actorType,
java.lang.String actorName,
java.util.BitSet accessFlags)
Link accesses for a specific actor
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor name
public void setActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType,
boolean accessFlag)
Link access for an actor user
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor nameaccessType - the access typeaccessFlag - true to enable / false to disable the access
public void setAllActorAccess(java.lang.String actorType,
java.lang.String actorName)
Link access to a specific actor
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor name
public void removeActorAccess(java.lang.String actorType,
java.lang.String actorName)
Link access to a specific actor
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor namepublic void updateActorAccess(java.util.Vector<ActorAccess> accesses)
accesses - list of ActorAccesses
public boolean getActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType)
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor nameaccessType - the access type
public ActorAccess getActorAccess(java.lang.String actorType,
java.lang.String actorName)
Link accesses for a specific actor
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor namepublic java.util.Vector<java.lang.String> getActors(java.lang.String actorType)
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENT or empty
public java.util.Vector<java.lang.String> getActors()
public java.util.Vector<ActorAccess> getActorAccesses()
ActorAccesses
public boolean hasAccess(int accessType,
Link link,
Framework framework)
User has access for a specific operation on a given Link
accessType - the access Typelink - the specific Linkframework - the current frameworkhasAccess(int, Link, String, Framework)
public boolean hasAccess(int accessType,
Link link,
java.lang.String userName,
Framework framework)
User has access for a specific operation on a given Link.
Team enabled to perform the operationAssignment enabled to perform the operation
accessType - the access Typelink - the specific LinkuserName - the name of User to checkframework - the current framework
public boolean hasAccess(int accessType,
Framework framework)
User has access for a specific operation (ignore holder access)
accessType - the access Typeframework - the current frameworkhasAccess(int, String, Framework)
public boolean hasAccess(int accessType,
java.lang.String userName,
Framework framework)
User has access for a specific operation (ignore holder access).
Team enabled to perform the operationAssignment enabled to perform the operation
accessType - the access TypeuserName - the User nameframework - the current frameworkpublic void setTriggers(java.util.Vector<Trigger> triggers)
triggers - a vector of TriggersTrigger
public void addTrigger(Trigger trigger)
throws OberonException
trigger - the Trigger to add
OberonExceptionpublic void removeTrigger(Trigger trigger)
trigger - the Trigger to remove
public void updateTriggers(java.util.Vector<Trigger> triggers)
throws OberonException
triggers - list of Triggers
OberonExceptionpublic java.util.Vector<Trigger> getTriggers()
Triggerspublic java.lang.String getTriggersAsString(java.lang.String delim)
delim - the separator item
Triggers separated by the delim charactersTrigger.asString()public java.lang.String getWorkflowAsString(java.lang.String delim)
delim - the separator item
Triggers separated by the delim charactersTrigger.asString()public Trigger getTriggerByEvent(java.lang.String event)
event - the event name as defined by the OOQL syntax ( example: edit.check )
Trigger or null if the event is not associated to a Triggerpublic Trigger getWorkflowByEvent(java.lang.String event)
event - the event name as defined by the OOQL syntax ( example: edit )
Trigger or null if the event is not associated to a Trigger
public java.lang.String getProperty(java.lang.String propertyName,
java.util.Vector<java.lang.Object> filterArgs,
java.lang.String token,
Framework framework)
getProperty in class OBBasepropertyName - OOQL property identifier/name (example: duplicate , from.cardinality ...)filterArgs - extra arguments used to compute propertiestoken - separator token for complex propertiesframework - the current framework
public java.util.Vector<?> getTargetNames(java.lang.String composedName,
java.util.Vector<java.lang.Object> filterArgs,
Framework framework)
getTargetNames in class OBBasecomposedName - OOQL property identifier/name (example: field, from.class, program[update.action] .. )filterArgs - extra arguments used to compute propertiesframework - the current framework
public java.lang.String toString()
toString in class AdminBasepublic java.lang.String toString(Framework framework)
toString in class AdminBaseframework - the current frameworkpublic org.jdom.Element getXMLHolder()
public org.jdom.Element getXMLCommunity()
public org.jdom.Element getXMLUserList(java.lang.String userName)
userName - the User name (empty for all Users)public org.jdom.Element getXMLTeamList(java.lang.String teamName)
teamName - the Team name (empty for all Teams)public org.jdom.Element getXMLAssignmentList(java.lang.String assignName)
assignName - the Assignment name (empty for all Assignments)public org.jdom.Element getXMLHistoryFlags()
public org.jdom.Element toXML(Framework framework)
toXML in class AdminBaseframework - the current framework
public org.jdom.Element toXML(boolean getImage,
boolean fullDump,
Framework framework)
toXML in class AdminBasegetImage - true to include "imagedata" element with the base64 encoded image datafullDump - true to include detailed informationframework - the current frameworkpublic void fromXML(org.jdom.Element rootElement)
fromXML in class AdminBasepublic java.lang.String getCreateCommand(boolean force)
getCreateCommand in class AdminBaseforce - if true append the "force" options at the endpublic java.lang.String getSaveCommand(boolean force)
getSaveCommand in class AdminBaseforce - if true append the "force" options at the end
public java.lang.String compareUpdate(LinkType refLinkType,
boolean checkImage,
boolean overwrite,
boolean force,
Framework framework)
throws OberonException
refLinkType - the reference LinkType objectcheckImage - if true compare also the image iconoverwrite - if true update the database object instanceforce - if true ignores optional propertiesframework - the current framework
OberonExceptionfromXML(Element)
|
OBEROn SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||