|
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.AdminComponent
com.oberon.ooql.sdk.Stage
public class Stage
Represents a Lifecycle stage.
| Field Summary | |
|---|---|
static int |
ADD_TO_RECENT_LIST_OPTION
The Add To Recent List flag index inside the Option Set |
static int |
AUTOPROGRESS_OPTION
The AutoProgress flag index inside the Option Set |
static int |
AUTORESET_OPTION
The AutoRest flag index inside the Option Set |
static int |
REVISIONABLE_OPTION
The Revisionable flag index inside the Option Set |
| Fields inherited from class com.oberon.ooql.sdk.AdminComponent |
|---|
bsOptions |
| Constructor Summary | |
|---|---|
Stage()
|
|
Stage(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addCommand(java.lang.String commandName)
Add an application Command for ObjectObj instances with this Lifecycle-Stage. |
void |
addCommandAfter(java.lang.String commandName,
java.lang.String refCommand)
Add an application Command after another reference command |
void |
addCommandBefore(java.lang.String commandName,
java.lang.String refCommand)
Add an application Command before another reference command |
void |
addTrigger(Trigger trigger)
Add a Trigger to this Stage; |
void |
addValidation(Validation validation)
Add a Validation to this Stage |
java.lang.String |
compareUpdate(Stage refStage,
boolean checkImage,
Framework framework)
Return the OOQL command to update this Lifecycle-Stage object and let it become
equals to another reference object. |
boolean |
equals(Stage stage)
Check if this Stage is equal to another |
void |
fromXML(org.jdom.Element rootElement)
Load the Stage object from XML element tree |
ActorAccess |
getActorAccess(java.lang.String actorType,
java.lang.String actorName)
Get the ObjectObj accesses for a specific actor at this Stage |
boolean |
getActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType)
Get actor access at this Stage for a specific operation |
java.lang.String |
getActorAccessAsString(java.lang.String actorType,
java.lang.String actorName,
java.lang.String delim)
Get the ObjectObj accesses for a specific actor at this Stage in OOQL format |
java.util.Vector<ActorAccess> |
getActorAccesses()
Get the all actor accesses for this Stage |
java.util.Vector<java.lang.String> |
getActors()
Get the list of all actors for this Stage |
java.util.Vector<java.lang.String> |
getActors(java.lang.String actorType)
Get the list of actors for this Stage |
java.lang.String |
getApplication()
Get the application Menu name. |
java.lang.String |
getChangeCommand()
Return the OOQL command to update this Lifecycle-Stage with the settled properties |
java.util.Vector<java.lang.String> |
getCommands()
Get the list of application Commands available for ObjectObj instances with this Lifecycle-Stage
included the Lifecycle common commands |
java.lang.String |
getCommandsAsString(java.lang.String delim)
Get the list of application Commands included the Lifecycle common Commands as a single String. |
java.util.BitSet |
getCommunityAccess()
Get the ObjectObj accesses for the community at this Stage |
boolean |
getCommunityAccess(int accessType)
Get the community access at this Stage for a specific operation |
java.lang.String |
getCommunityAccessAsString(java.lang.String delim)
Get the ObjectObj accesses for the community at this Stage in OOQL format |
java.lang.String |
getCreateCommand(boolean force)
[Inherited but not used] |
java.lang.String |
getCreateCommand(java.lang.String operator,
java.lang.String stageName)
Return the OOQL command to add this Stage with the settled properties to a Lifecycle |
java.util.BitSet |
getHistoryOption()
Get the events traced into the history table for ObjectObjs with this Stage |
boolean |
getHistoryOption(int event)
Check if a specific event is traced into the history table for ObjectObjs with this Stage |
java.lang.String |
getHistoryOptionsAsString(java.lang.String delim)
Get the events traced into the history table for ObjectObjs with this Stage as String |
java.util.BitSet |
getHolderAccess()
Get the ObjectObj accesses for the holder at this Stage |
boolean |
getHolderAccess(int accessType)
Get the holder access at this Stage for a specific operation |
java.lang.String |
getHolderAccessAsString(java.lang.String delim)
Get the ObjectObj accesses for the holder at this Stage in OOQL format |
Lifecycle |
getLifecycle()
Get the related Lifecycle |
java.util.Vector<java.lang.String> |
getOwnCommands()
Get the list of application Commands available for ObjectObj instances with this Lifecycle-Stage |
java.lang.String |
getOwnCommandsAsString(java.lang.String delim)
Get the list of application Commands as a single String. |
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 Lifecycle-Stage object by its OOQL identifier |
java.lang.String |
getSaveCommand(boolean force)
[Inherited but not used] |
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 |
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 Stage |
java.lang.String |
getTriggersAsString(java.lang.String delim)
Return the list of Program-Triggers, as a String |
Validation |
getValidation(java.lang.String validationName)
Get a Validation for this Stage |
java.util.Vector<java.lang.String> |
getValidationIDs()
Get Validation internal ids for this Stage |
java.util.Vector<java.lang.String> |
getValidationNames()
Get Validation names for this Stage |
int |
getValidationPos(Validation validation)
Return the Validation position into the Stage-Validation list |
java.util.Vector<Validation> |
getValidations()
Get Validations for this Stage |
java.lang.String |
getValidationsAsString(java.lang.String delim)
Get Validation names for this Stage as 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 Stage Assignment actor accesses as XML element tree |
org.jdom.Element |
getXMLCommunity()
Return the Stage community accesses as XML element tree |
org.jdom.Element |
getXMLHistoryFlags()
Return the history flags as XML element tree |
org.jdom.Element |
getXMLHolder()
Return the Stage holder accesses as XML element tree |
org.jdom.Element |
getXMLTeamList(java.lang.String teamName)
Return the Stage Team actor accesses as XML element tree |
org.jdom.Element |
getXMLUserList(java.lang.String userName)
Return the Stage 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 delegations and holder access) |
boolean |
hasAccess(int accessType,
Framework framework,
java.lang.String holderName)
Deprecated. |
boolean |
hasAccess(int accessType,
Framework framework,
java.lang.String holderName,
java.lang.String objectID)
Deprecated. |
boolean |
hasAccess(int accessType,
ObjectObj objectobj,
Framework framework)
Check if the current framework User has access for a specific operation on a given ObjectObj |
boolean |
hasAccess(int accessType,
ObjectObj objectobj,
java.lang.String userName,
Framework framework)
Check if a User has access for a specific operation on a given ObjectObj. |
boolean |
hasAccess(int accessType,
java.lang.String userName,
Framework framework)
Check if a User has access for a specific operation (ignore delegations and holder access). |
boolean |
hasAccess(int accessType,
java.lang.String userName,
Framework framework,
java.lang.String holderName)
Deprecated. |
boolean |
hasAccess(int accessType,
java.lang.String userName,
Framework framework,
java.lang.String holderName,
java.lang.String objectID)
Deprecated. |
boolean |
isAddToRecentList()
Get the "add object to (user) recent list" option. |
boolean |
isAutoProgress()
Check if the autoProgress option is active for this Stage |
boolean |
isAutoReset()
Check if the autoReset option is active for this Stage |
boolean |
isHistoryActive(int event)
Check if a specific event is traced into the history table for ObjectObjs with this Stage
taking into account also the common settings in the Lifecycle |
boolean |
isImageChanged()
Check if Stage image was updated |
boolean |
isRevisionable()
Check if the revisionable option is active for this Stage |
void |
moveCommand(java.lang.String commandName,
boolean after)
Move an application Command for ObjectObj instances with this Lifecycle-Stage. |
void |
removeActorAccess(java.lang.String actorType,
java.lang.String actorName)
Revoke the ObjectObj access to a specific actor at this Stage |
void |
removeCommand(java.lang.String commandName)
Remove an application Command for ObjectObj instances with this Lifecycle-Stage. |
void |
removeTrigger(Trigger trigger)
Remove a Trigger from this Stage |
void |
removeValidation(Validation validation)
Remove a Validation from this Stage |
void |
setActorAccess(java.lang.String actorType,
java.lang.String actorName,
java.util.BitSet accessFlags)
Set the ObjectObj accesses for a specific actor at this Stage |
void |
setActorAccess(java.lang.String actorType,
java.lang.String actorName,
int accessType,
boolean accessFlag)
Set the ObjectObj access for an actor user at this Stage |
void |
setAddToRecentList(boolean addObject)
Set the "add object to (user) recent list" option. |
void |
setAllActorAccess(java.lang.String actorType,
java.lang.String actorName)
Give the full ObjectObj access to a specific actor at this Stage |
void |
setAllCommunityAccess()
Give the full ObjectObj access to the community at this Stage |
void |
setAllHistoryOption()
Active all events history trace for ObjectObjs with this Stage |
void |
setAllHolderAccess()
Give the full ObjectObj access to the holder at this Stage |
void |
setAutoProgress(boolean autoProgress)
Set the autoProgress option. |
void |
setAutoReset(boolean autoReset)
Set the autoReset option. |
void |
setCommunityAccess(java.util.BitSet accessFlags)
Set the ObjectObj accesses for the community at this Stage |
void |
setCommunityAccess(int accessType,
boolean accessFlag)
Set the ObjectObj access for the community at this Stage |
void |
setHistoryOption(java.util.BitSet eventFlags)
Set the events to log into the history table for ObjectObjs with this Stage |
void |
setHistoryOption(int event,
boolean flag)
Set the events to log into the history table for ObjectObjs with this Stage |
void |
setHolderAccess(java.util.BitSet accessFlags)
Set the ObjectObj accesses for the holder at this Stage |
void |
setHolderAccess(int accessType,
boolean accessFlag)
Set the ObjectObj access for the ObjectObj's holder at this Stage |
void |
setLifeCycle(Lifecycle lifecycle)
Link the Stage with the related Lifecycle |
void |
setNoCommunityAccess()
Revoke the ObjectObj access to the community at this Stage |
void |
setNoHistoryOption()
Disable history trace for ObjectObjs with this Stage |
void |
setNoHolderAccess()
Revoke the ObjectObj access to the holder at this Stage |
void |
setOwnCommands(java.util.Vector<java.lang.String> commands)
Set application Commands for ObjectObj instances with this Lifecycle-Stage. |
void |
setRevisionable(boolean revisionable)
Set the revisionable option. |
void |
setTriggers(java.util.Vector<Trigger> triggers)
Set Triggers for this Stage |
void |
setValidations(java.util.Vector<Validation> validations)
Set Validations for this Stage |
java.lang.String |
toString()
Return the Stage object basic properties as a single String |
org.jdom.Element |
toXML(boolean getImage,
boolean fullDump,
Framework framework)
Return the Stage properties as XML element tree |
org.jdom.Element |
toXML(Framework framework)
Return the Stage properties as XML element tree |
void |
updateActorAccess(java.util.Vector<ActorAccess> accesses)
Update the execute access on the basis of a given list |
void |
updateCommands(java.util.Vector<java.lang.String> commands)
Update the commands 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 |
updateValidations(java.util.Vector<Validation> validations)
Update the validations on the basis of a given list |
| Methods inherited from class com.oberon.ooql.sdk.AdminComponent |
|---|
checkChangeName, getAdminType, getCommonProperty, getCommonTargetNames, getCrtDate, getDescription, getEditBasicCommand, getImage, getImageData, getImageFile, getModDate, getModUser, getName, getOldName, hasImage, setCrtDate, setDescription, setImage, setImageData, setImageFile, setModDate, setModUser, setName, toCommonXML, toXML |
| 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 AUTOPROGRESS_OPTION
public static final int REVISIONABLE_OPTION
public static final int AUTORESET_OPTION
public static final int ADD_TO_RECENT_LIST_OPTION
| Constructor Detail |
|---|
public Stage()
public Stage(java.lang.String name)
throws OberonException
name - the name of the administrative object
OberonException - if the name contains invalid characters| Method Detail |
|---|
public boolean isImageChanged()
public void setLifeCycle(Lifecycle lifecycle)
Lifecycle
public Lifecycle getLifecycle()
Lifecycle
public java.lang.String getApplication()
Menu name.
public void setAutoProgress(boolean autoProgress)
ObjectObj status is automatically forwarded to
the fork Stage as soon as all validations are satisfied
public boolean isAutoProgress()
public void setAutoReset(boolean autoReset)
ObjectObj reaches this stage
public boolean isAutoReset()
public void setRevisionable(boolean revisionable)
ObjectObj at this Stage can be revised only if this flag is true
public boolean isRevisionable()
public void setAddToRecentList(boolean addObject)
ObjectObjs in this stage will be added to the user recent opened list if this flag is true
public boolean isAddToRecentList()
public void setHistoryOption(int event,
boolean flag)
ObjectObjs with this Stage
event - the history eventflag - if true the event will be traced into the historypublic void setAllHistoryOption()
ObjectObjs with this Stage
public void setNoHistoryOption()
ObjectObjs with this Stage
public void setHistoryOption(java.util.BitSet eventFlags)
ObjectObjs with this Stage
public boolean getHistoryOption(int event)
ObjectObjs with this Stage
event - the event codepublic boolean isHistoryActive(int event)
ObjectObjs with this Stage
taking into account also the common settings in the Lifecycle
event - the event codepublic java.util.BitSet getHistoryOption()
ObjectObjs with this Stage
public java.lang.String getHistoryOptionsAsString(java.lang.String delim)
ObjectObjs with this Stage as String
delim - the event name separator
public void setHolderAccess(int accessType,
boolean accessFlag)
ObjectObj access for the ObjectObj's holder at this Stage
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllHolderAccess()
ObjectObj access to the holder at this Stage
public void setNoHolderAccess()
ObjectObj access to the holder at this Stage
public void setHolderAccess(java.util.BitSet accessFlags)
ObjectObj accesses for the holder at this Stage
public boolean getHolderAccess(int accessType)
accessType - the access typepublic java.util.BitSet getHolderAccess()
ObjectObj accesses for the holder at this Stage
public java.lang.String getHolderAccessAsString(java.lang.String delim)
ObjectObj accesses for the holder at this Stage in OOQL format
delim - the access separator string
public void setCommunityAccess(int accessType,
boolean accessFlag)
ObjectObj access for the community at this Stage
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllCommunityAccess()
ObjectObj access to the community at this Stage
public void setNoCommunityAccess()
ObjectObj access to the community at this Stage
public void setCommunityAccess(java.util.BitSet accessFlags)
ObjectObj accesses for the community at this Stage
public boolean getCommunityAccess(int accessType)
accessType - the access typepublic java.util.BitSet getCommunityAccess()
ObjectObj accesses for the community at this Stage
public java.lang.String getCommunityAccessAsString(java.lang.String delim)
ObjectObj accesses for the community at this Stage in OOQL format
delim - the access separator string
public void setActorAccess(java.lang.String actorType,
java.lang.String actorName,
java.util.BitSet accessFlags)
ObjectObj accesses for a specific actor at this Stage
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)
ObjectObj access for an actor user at this Stage
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)
ObjectObj access to a specific actor at this Stage
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)
ObjectObj access to a specific actor at this Stage
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)
ObjectObj accesses for a specific actor at this Stage
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 java.lang.String getActorAccessAsString(java.lang.String actorType,
java.lang.String actorName,
java.lang.String delim)
ObjectObj accesses for a specific actor at this Stage in OOQL format
actorType - the actor type: can be ActorAccess.USER , ActorAccess.TEAM , ActorAccess.ASSIGNMENTactorName - the actor namedelim - the access separator stringpublic 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 Triggerpublic void addCommand(java.lang.String commandName)
Command for ObjectObj instances with this Lifecycle-Stage.
public void addCommandBefore(java.lang.String commandName,
java.lang.String refCommand)
throws OberonException
commandName - the Command namerefCommand - the reference Command name
OberonException - when the reference Command is not found
public void addCommandAfter(java.lang.String commandName,
java.lang.String refCommand)
throws OberonException
commandName - the Command namerefCommand - the reference Command name
OberonException - when the reference Command is not foundpublic void removeCommand(java.lang.String commandName)
Command for ObjectObj instances with this Lifecycle-Stage.
public void moveCommand(java.lang.String commandName,
boolean after)
ObjectObj instances with this Lifecycle-Stage.
commandName - the Command nameafter - if true move the Command after else move it before the current positionpublic void updateCommands(java.util.Vector<java.lang.String> commands)
commands - list of Commandspublic void setOwnCommands(java.util.Vector<java.lang.String> commands)
ObjectObj instances with this Lifecycle-Stage.
commands - vector of Command namespublic java.util.Vector<java.lang.String> getOwnCommands()
ObjectObj instances with this Lifecycle-Stage
Command namespublic java.lang.String getOwnCommandsAsString(java.lang.String delim)
delim - the Command name separatorgetCommands()public java.util.Vector<java.lang.String> getCommands()
ObjectObj instances with this Lifecycle-Stage
included the Lifecycle common commands
Command namespublic java.lang.String getCommandsAsString(java.lang.String delim)
Lifecycle common Commands as a single String.
delim - the Command name separatorgetCommands()public void addValidation(Validation validation)
Validation to this Stage
public void removeValidation(Validation validation)
Validation from this Stage
public void setValidations(java.util.Vector<Validation> validations)
validations - vector of Validations
public void updateValidations(java.util.Vector<Validation> validations)
throws OberonException
validations - list of Validations
OberonExceptionpublic java.util.Vector<Validation> getValidations()
Validationspublic Validation getValidation(java.lang.String validationName)
validationName - the Validation name
public java.util.Vector<java.lang.String> getValidationNames()
Validation namespublic java.util.Vector<java.lang.String> getValidationIDs()
Validation idspublic java.lang.String getValidationsAsString(java.lang.String delim)
Validation names for this Stage as String
delim - the name separatorpublic int getValidationPos(Validation validation)
Validation position into the Stage-Validation list
public boolean equals(Stage stage)
stage - the Stage to compare with this Stage
public boolean hasAccess(int accessType,
ObjectObj objectobj,
Framework framework)
User has access for a specific operation on a given ObjectObj
accessType - the access Typeobjectobj - the specific ObjectObjframework - the current frameworkhasAccess(int, ObjectObj, String, Framework)
public boolean hasAccess(int accessType,
ObjectObj objectobj,
java.lang.String userName,
Framework framework)
User has access for a specific operation on a given ObjectObj.
Team enabled to perform the operationAssignment enabled to perform the operationObjectDelegation(s) to perform the operation
accessType - the access Typeobjectobj - the specific ObjectObjuserName - the name of User to checkframework - the current framework
@Deprecated
public boolean hasAccess(int accessType,
Framework framework,
java.lang.String holderName,
java.lang.String objectID)
User has access for a specific operation on a specific ObjectObj
accessType - the access Typeframework - the current frameworkholderName - the ObjectObj's holder nameobjectID - the ObjectObj's IDhasAccess(int, String, Framework, String, String)
@Deprecated
public boolean hasAccess(int accessType,
java.lang.String userName,
Framework framework,
java.lang.String holderName,
java.lang.String objectID)
User has access for a specific operation on a specific ObjectObj.
Team enabled to perform the operationAssignment enabled to perform the operationObjectDelegation(s) to perform the operation
accessType - the access Typeframework - the current frameworkuserName - the User nameholderName - the ObjectObj's holder nameobjectID - the ObjectObj's ID
@Deprecated
public boolean hasAccess(int accessType,
Framework framework,
java.lang.String holderName)
User has access for a specific operation (ignore delegations)
accessType - the access Typeframework - the current frameworkholderName - the ObjectObj's holder namehasAccess(int, String, Framework, String)
@Deprecated
public boolean hasAccess(int accessType,
java.lang.String userName,
Framework framework,
java.lang.String holderName)
User has access for a specific operation (ignore delegations).
Team enabled to perform the operationAssignment enabled to perform the operation
accessType - the access TypeuserName - the User nameframework - the current frameworkholderName - the ObjectObj's holder namehasAccess(int, String, Framework, String)
public boolean hasAccess(int accessType,
Framework framework)
User has access for a specific operation (ignore delegations and 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 delegations and holder access).
Team enabled to perform the operationAssignment enabled to perform the operation
accessType - the access TypeuserName - the User nameframework - the current frameworkhasAccess(int, String, Framework, String)
public java.lang.String getProperty(java.lang.String propertyName,
java.util.Vector<java.lang.Object> filterArgs,
java.lang.String token,
Framework framework)
Lifecycle-Stage object by its OOQL identifier
getProperty in class OBBasepropertyName - OOQL property identifier/name (example: autoprogress , community ...)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: validation, owncommand, .. )filterArgs - extra arguments used to compute propertiesframework - the current framework
public java.lang.String toString()
toString in class java.lang.Objectpublic 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)
framework - the current framework
public org.jdom.Element toXML(boolean getImage,
boolean fullDump,
Framework framework)
fullDump - true to include detailed informationframework - the current frameworkpublic void fromXML(org.jdom.Element rootElement)
fromXML in class AdminComponentpublic java.lang.String getCreateCommand(boolean force)
public java.lang.String getSaveCommand(boolean force)
public java.lang.String getCreateCommand(java.lang.String operator,
java.lang.String stageName)
Lifecycle
operator - OOQL syntax position (example: "append" , "addbefore" ....)stageName - the name of the reference Stagepublic java.lang.String getChangeCommand()
Lifecycle-Stage with the settled properties
public java.lang.String compareUpdate(Stage refStage,
boolean checkImage,
Framework framework)
throws OberonException
Lifecycle-Stage object and let it become
equals to another reference object.
refStage - the reference Stage objectframework - the current framework
OberonExceptionfromXML(Element)
|
OBEROn SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||