|
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.User
public class User
User Admin Object: defines a OBEROn User
| Field Summary | |
|---|---|
static java.lang.String |
ACCESS_ALL
Full access constant |
static java.lang.String |
ACCESS_NONE
No access constant |
static int |
ACTIVEPWD_OPTION
The Active Password flag index inside the Option Set |
static int |
ADMIN
|
static int |
ADMIN_ASSIGNMENT
Administrative access: manage Assignment admin objects) |
static int |
ADMIN_AUTONUMBER
Administrative access: manage AutoNumber admin objects) |
static int |
ADMIN_CLASS
Administrative access: manage Class admin objects) |
static int |
ADMIN_COMMAND
Administrative access: manage Command admin objects) |
static int |
ADMIN_DICTIONARY
Administrative access: manage Dictionary translations) |
static int |
ADMIN_DUMP
Administrative access: perform data extractions [ Dump]) |
static int |
ADMIN_FEATURE
Administrative access: manage Feature admin objects) |
static int |
ADMIN_FIELD
Administrative access: manage Field admin objects) |
static int |
ADMIN_FILETYPE
Administrative access: manage FileType admin objects) |
static int |
ADMIN_FORM
Administrative access: manage Form admin objects) |
static int |
ADMIN_GRAPH
Administrative access: manage Graph admin objects) |
static int |
ADMIN_Length
Number of Administrative access flags |
static int |
ADMIN_LIFECYCLE
Administrative access: manage Lifecycle admin objects) |
static int |
ADMIN_LINKTYPE
Administrative access: manage LinkType admin objects) |
static int |
ADMIN_MENU
Administrative access: manage Menu admin objects) |
static int |
ADMIN_METRICSYSTEM
Administrative access: manage MetricSystem admin objects) |
static int |
ADMIN_PROGRAM
Administrative access: manage Program admin objects) |
static int |
ADMIN_QUERY
Administrative access: manage Query admin objects) |
static int |
ADMIN_TEAM
Administrative access: manage Team admin objects) |
static int |
ADMIN_UNITMEASURE
Administrative access: manage UnitMeasure admin objects) |
static int |
ADMIN_USER
Administrative access: manage User admin objects) |
static int |
ADMIN_VIEW
Administrative access: manage View admin objects) |
static int |
ADMIN_WEBSERVICE
Administrative access: manage WebService admin objects) |
static int |
ADMIN_WORKFLOW
Administrative access: manage Workflow admin objects) |
static int |
BASIC
|
static int |
BASIC_ADDLINKFROM
Basic (object) access: Add (out) Link from a given object to another |
static int |
BASIC_ADDLINKTO
Basic (object) access: Add (in) Link to a given object from another |
static int |
BASIC_CHANGECLASS
Basic (object) access: Change the object Class |
static int |
BASIC_CHANGEHOLDER
Basic (object) access: Change the object holder |
static int |
BASIC_CHANGELIFECYCLE
Basic (object) access: Change the object Lifecycle |
static int |
BASIC_CHANGENAME
Basic (object) access: Change the object name / revision |
static int |
BASIC_CHANGESPACE
Basic (object) access: Move the Object between two ObjectSpaces |
static int |
BASIC_CLONE
Basic (object) access: Clone an Object |
static int |
BASIC_CREATE
Basic (object) access: Create new Object |
static int |
BASIC_DELEGATE
Basic (object) access: Delegate access to a object |
static int |
BASIC_DESTROY
Basic (object) access: Destroy an object |
static int |
BASIC_EDIT
Basic (object) access: Edit object Field values |
static int |
BASIC_EXECUTE
Basic (object) access: Execute a object method |
static int |
BASIC_FILEDELETE
Basic (object) access: Remove file from an object |
static int |
BASIC_FILEGET
Basic (object) access: Extract a file from an object |
static int |
BASIC_FILEPUT
Basic (object) access: Attach new file to an object |
static int |
BASIC_FILERENAME
Basic (object) access: Rename an object file |
static int |
BASIC_Length
Number of Basic (object) access flags |
static int |
BASIC_LINK_CHANGEHOLDER
Basic (link) access: Change the link holder |
static int |
BASIC_LINK_CHANGETYPE
Basic (link) access: Change the link LinkType |
static int |
BASIC_LINK_CREATE
Basic (link) access: Create new Link |
static int |
BASIC_LINK_DESTROY
Basic (link) access: Destroy a link |
static int |
BASIC_LINK_EDIT
Basic (link) access: Edit link Field values |
static int |
BASIC_LINK_Length
Number of Basic (object) access flags |
static int |
BASIC_LINK_READ
Basic (link) access: Read link properties |
static int |
BASIC_LINK_UNDO
Basic (link) access: Undo latest edit operation |
static int |
BASIC_LOCK
Basic (object) access: Lock an object |
static int |
BASIC_PROGRESS
Basic (object) access: Progress object to the next Stage |
static int |
BASIC_READ
Basic (object) access: Read object properties |
static int |
BASIC_REGRESS
Basic (object) access: Regress object to the previous Stage |
static int |
BASIC_REMOVELINKFROM
Basic (object) access: Remove (out) Link from a given object to another |
static int |
BASIC_REMOVELINKTO
Basic (object) access: Remove (in) Link to a given object from another |
static int |
BASIC_REVISE
Basic (object) access: Revise an object |
static int |
BASIC_REVOKE
Basic (object) access: Revoke delegation for a object |
static int |
BASIC_UNDO
Basic (object) access: Undo latest edit operation |
static int |
BASIC_UNLOCK
Basic (object) access: Remove the lock from an object |
static java.lang.String |
COMMUNITY
Community constant |
static int |
ENABLEDPWD_OPTION
The Enabled Password Mail flag index inside the Option Set |
static int |
EXTMAIL_OPTION
The External Mail flag index inside the Option Set |
static java.lang.String |
HOLDER
Holder constant |
static int |
INTMAIL_OPTION
The Internal Mail flag index inside the Option Set |
java.lang.String |
sLastAccess
|
static int |
SUPERUSER_OPTION
The SuperUser flag index inside the Option Set |
static int |
SYSTEM
|
static int |
SYSTEM_FILESPACE
System access: manage FileSpace system/admin objects) |
static int |
SYSTEM_Length
Number of System access flags |
static int |
SYSTEM_LOCALAREA
System access: manage LocalArea system/admin objects) |
static int |
SYSTEM_OBJECTSPACE
System access: manage ObjectSpace system/admin objects) |
| Fields inherited from class com.oberon.ooql.sdk.AdminBase |
|---|
bsOptions, HIDDEN_OPTION |
| Constructor Summary | |
|---|---|
User()
|
|
User(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addAssignment(java.lang.String assignmentName)
Add a Assignment to this User; the User will gain the access rights defined for the role |
void |
addTeam(java.lang.String teamName)
Add this User to a Team; the User will gain the access rights defined for the Team |
java.lang.String |
compareUpdate(User refUser,
boolean checkImage,
boolean overwrite,
boolean force,
Framework framework)
Return/apply the OOQL command to update this User object and let it become equals to another reference object. |
void |
create(boolean force,
Framework framework)
Create a new User object on the database |
void |
create(Framework framework)
Create a new User object on the database |
void |
destroy(Framework framework)
Remove the User object from the database. |
void |
destroy(java.lang.String newHolder,
Framework framework)
Remove the User object from the database and reassign objects/link to the new holder |
void |
fromXML(org.jdom.Element rootElement)
Load the User object from XML element tree |
java.lang.String |
getAddress()
Get the User address. |
java.util.BitSet |
getAdminAccess()
Get the access for administrative object manipulation |
boolean |
getAdminAccess(int accessType)
Check the access status for a administrative object |
static java.lang.String |
getAdminAccessAsString(int accessType)
Convert administrative object access to OOQL equivalent String |
java.lang.String |
getAdminAccessAsString(java.lang.String delim)
Get the administrative object accesses as OOQL equivalent String |
static int |
getAdminAccessId(java.lang.String access)
Get the administrative access type from the equivalent OOQL String |
java.util.Vector<java.lang.String> |
getAssignments(Framework framework)
Return the list of Assignment associated directly or indirectly to this User. |
java.lang.String |
getAssignmentsAsString(java.lang.String delim,
Framework framework)
Return the list of Assignment associated directly or indirectly to this User. |
java.util.BitSet |
getBasicAccess()
Get the global access for ObjectObj and Link manipulation. |
boolean |
getBasicAccess(int accessType)
Check the access status for a specific ObjectObj or Link manipulation |
static java.lang.String |
getBasicAccessAsString(int accessType)
Convert ObjectObj manipulation access to OOQL equivalent String |
java.lang.String |
getBasicAccessAsString(java.lang.String delim)
Get the ObjectObj and Link manipulation accesses as OOQL equivalent String |
static int |
getBasicAccessId(java.lang.String access)
Get the ObjectObj manipulation access type from the equivalent OOQL String |
static java.lang.String |
getBasicLinkAccessAsString(int accessType)
Convert Link manipulation access to OOQL equivalent String |
static int |
getBasicLinkAccessId(java.lang.String access)
Get the Link manipulation access type from the equivalent OOQL String |
java.lang.String |
getCreateCommand(boolean force)
Return the OOQL command to create this User object with the settled properties |
java.lang.String |
getFax()
Get the User fax number. |
java.lang.String |
getLanguage()
Get the Language for this User |
java.lang.String |
getLastAccess()
Return the last access date |
java.lang.String |
getLocalArea()
Get the default LocalArea for this User |
java.lang.String |
getMailAddress()
Get the mail address for this User |
java.lang.String |
getMailTypeAsString(java.lang.String delim)
Get the mail type for this User as OOQL String |
java.lang.String |
getMetricSystem()
Get the MetricSystem for this User |
java.lang.String |
getObjectSpace()
Set the default ObjectSpace for this User. |
java.util.Vector<java.lang.String> |
getOwnAssignments()
Return the list of Assignment associated directly to this User |
java.lang.String |
getOwnAssignmentsAsString(java.lang.String delim)
Return the list of Assignment associated directly to this User |
java.util.Vector<java.lang.String> |
getOwnTeams()
Return the list of Teams to which the User directly belong |
java.lang.String |
getOwnTeamsAsString(java.lang.String delim)
Return the list of Teams to which the User directly belong as String |
java.lang.String |
getPassword()
Get the User password (MD5 encrypted) |
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 User object by its OOQL identifier |
java.lang.String |
getSaveCommand(boolean force)
Return the OOQL command to update this User object with the modified properties. |
java.util.BitSet |
getSystemAccess()
Get the access for system/administrative object manipulation |
boolean |
getSystemAccess(int accessType)
Check the access status for a system/administrative object |
static java.lang.String |
getSystemAccessAsString(int accessType)
Convert system/administrative object access to OOQL equivalent String |
java.lang.String |
getSystemAccessAsString(java.lang.String delim)
Get the system/administrative object accesses as OOQL equivalent String |
static int |
getSystemAccessId(java.lang.String access)
Get the system/administrative access type from the equivalent OOQL String |
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 |
java.util.Vector<java.lang.String> |
getTeams(Framework framework)
Return the list of Teams to which the User directly or indirectly belong |
java.lang.String |
getTeamsAsString(java.lang.String delim,
Framework framework)
Return the list of Teams to which the User directly or indirectly belong as String |
java.lang.String |
getTelephone()
Get the User telephone number. |
org.jdom.Element |
getXMLAdminAccess()
Return the admin access as XML element tree |
org.jdom.Element |
getXMLBasicAccess()
Return the basic access as XML element tree |
org.jdom.Element |
getXMLSystemAccess()
Return the system access as XML element tree |
boolean |
isExternalMail()
Check if the external java mail is enabled |
boolean |
isInternalMail()
Check if the internal OBEROn mail is enabled |
boolean |
isPasswordActive()
Check if the password is active |
boolean |
isPasswordEnabled()
Check if the password is enabled |
boolean |
isSuperUser()
Check if the User is a super-User |
void |
link(Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
Open the User object: connect the memory instance with the database instance |
static User |
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 |
removeAssignment(java.lang.String assignmentName)
Remove a Assignment for this User; the User will loose the access rights defined for the role |
void |
removeTeam(java.lang.String teamName)
Remove the User from a Team; the User will loose the access rights defined for the Team |
void |
setAddress(java.lang.String address)
Set the User address. |
void |
setAdminAccess(java.util.BitSet accessFlags)
Set the access for administrative object manipulation |
void |
setAdminAccess(int accessType,
boolean accessFlag)
Set the access for administrative object manipulation |
void |
setAllAdminAccess()
Give the full access to all administrative objects |
void |
setAllBasicAccess()
Set the global access for all ObjectObj and Link operations. |
void |
setAllSystemAccess()
Give the full access to all system/administrative objects |
void |
setBasicAccess(java.util.BitSet accessFlags)
Set the global access for ObjectObj and Link manipulation. |
void |
setBasicAccess(int accessType,
boolean accessFlag)
Set the global access for ObjectObj and Link manipulation. |
void |
setFax(java.lang.String fax)
Set the User fax. |
void |
setLanguage(java.lang.String language)
Set the default Language for this User |
void |
setLocalArea(java.lang.String localAreaName)
Set the default LocalArea for this User |
void |
setMailAddress(java.lang.String emailAddress)
Set the mail address for this User. |
void |
setMailType(boolean internal,
boolean external)
Set the mail type for this User. |
void |
setMailType(java.lang.String mailType)
Set the mail type for this User. |
void |
setMD5Password(java.lang.String password)
Set the User password for the OBEROn login in MD5 format |
void |
setMetricSystem(java.lang.String metricSystemName)
Set the default Metric System for this User |
void |
setNoAdminAccess()
Revoke access to all administrative objects |
void |
setNoBasicAccess()
Remove the global access for all ObjectObj and Link operations. |
void |
setNoSystemAccess()
Revoke access to all system/administrative objects |
void |
setObjectSpace(java.lang.String objectSpaceName)
Set the default ObjectSpace for this User. |
void |
setPassword(java.lang.String password)
Set the User password for the OBEROn login The password is encrypted in MD5 format |
void |
setPasswordActive(boolean active)
Active the password |
void |
setPasswordEnabled(boolean enable)
Enable/disable the password |
void |
setSuperUser(boolean superUser)
Set the User as super-User |
void |
setSystemAccess(java.util.BitSet accessFlags)
Set the access for system/administrative object manipulation |
void |
setSystemAccess(int accessType,
boolean accessFlag)
Set the access for system/administrative object manipulation |
void |
setTelephone(java.lang.String telephone)
Set the User telephone. |
void |
show(Selector selector,
java.io.DataOutputStream outStream,
Framework framework)
Show the User object properties |
java.lang.String |
toString()
Return the User object basic properties as a single String |
java.lang.String |
toString(Framework framework)
Return the User object extended properties as a single String |
org.jdom.Element |
toXML(boolean getImage,
boolean fullDump,
Framework framework)
Return the User object properties as XML element tree |
org.jdom.Element |
toXML(Framework framework)
Return the User object properties as XML element tree |
void |
unlink(Framework framework)
Close the object: disconnect the memory instance from the database instance |
void |
updateAssignments(java.util.Vector<java.lang.String> assignments)
Update the assignments on the basis of a given list |
void |
updateTeams(java.util.Vector<java.lang.String> teams)
Update the teams on the basis of a given list |
void |
write(boolean force,
Framework framework)
Update the User object to the database |
void |
write(Framework framework)
Update the User 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 BASIC
public static final int SYSTEM
public static final int ADMIN
public static final int BASIC_CREATE
public static final int BASIC_CLONE
public static final int BASIC_REVISE
public static final int BASIC_DESTROY
public static final int BASIC_EDIT
Field values
public static final int BASIC_CHANGESPACE
ObjectSpaces
public static final int BASIC_CHANGECLASS
Class
public static final int BASIC_CHANGENAME
public static final int BASIC_CHANGEHOLDER
public static final int BASIC_CHANGELIFECYCLE
Lifecycle
public static final int BASIC_READ
public static final int BASIC_FILEPUT
public static final int BASIC_FILEGET
public static final int BASIC_FILERENAME
public static final int BASIC_FILEDELETE
public static final int BASIC_EXECUTE
public static final int BASIC_LOCK
public static final int BASIC_UNLOCK
public static final int BASIC_PROGRESS
Stage
public static final int BASIC_REGRESS
Stage
public static final int BASIC_ADDLINKTO
Link to a given object from another
public static final int BASIC_ADDLINKFROM
Link from a given object to another
public static final int BASIC_REMOVELINKTO
Link to a given object from another
public static final int BASIC_REMOVELINKFROM
Link from a given object to another
public static final int BASIC_DELEGATE
public static final int BASIC_REVOKE
public static final int BASIC_UNDO
public static final int BASIC_Length
public static final int BASIC_LINK_CREATE
public static final int BASIC_LINK_DESTROY
public static final int BASIC_LINK_EDIT
Field values
public static final int BASIC_LINK_CHANGETYPE
LinkType
public static final int BASIC_LINK_CHANGEHOLDER
public static final int BASIC_LINK_READ
public static final int BASIC_LINK_UNDO
public static final int BASIC_LINK_Length
public static final int ADMIN_FIELD
Field admin objects)
public static final int ADMIN_CLASS
Class admin objects)
public static final int ADMIN_LINKTYPE
LinkType admin objects)
public static final int ADMIN_USER
public static final int ADMIN_TEAM
Team admin objects)
public static final int ADMIN_ASSIGNMENT
Assignment admin objects)
public static final int ADMIN_FILETYPE
FileType admin objects)
public static final int ADMIN_PROGRAM
Program admin objects)
public static final int ADMIN_LIFECYCLE
Lifecycle admin objects)
public static final int ADMIN_FEATURE
Feature admin objects)
public static final int ADMIN_MENU
Menu admin objects)
public static final int ADMIN_COMMAND
Command admin objects)
public static final int ADMIN_DUMP
Dump])
public static final int ADMIN_AUTONUMBER
AutoNumber admin objects)
public static final int ADMIN_DICTIONARY
Dictionary translations)
public static final int ADMIN_GRAPH
Graph admin objects)
public static final int ADMIN_FORM
Form admin objects)
public static final int ADMIN_WEBSERVICE
WebService admin objects)
public static final int ADMIN_VIEW
View admin objects)
public static final int ADMIN_WORKFLOW
Workflow admin objects)
public static final int ADMIN_QUERY
Query admin objects)
public static final int ADMIN_METRICSYSTEM
MetricSystem admin objects)
public static final int ADMIN_UNITMEASURE
UnitMeasure admin objects)
public static final int ADMIN_Length
public static final int SYSTEM_OBJECTSPACE
ObjectSpace system/admin objects)
public static final int SYSTEM_FILESPACE
FileSpace system/admin objects)
public static final int SYSTEM_LOCALAREA
LocalArea system/admin objects)
public static final int SYSTEM_Length
public static final int INTMAIL_OPTION
public static final int EXTMAIL_OPTION
public static final int ACTIVEPWD_OPTION
public static final int ENABLEDPWD_OPTION
public static final int SUPERUSER_OPTION
public static final java.lang.String ACCESS_ALL
public static final java.lang.String ACCESS_NONE
public static final java.lang.String COMMUNITY
public static final java.lang.String HOLDER
public java.lang.String sLastAccess
| Constructor Detail |
|---|
public User()
public User(java.lang.String name)
throws OberonException
name - the name of the administrative object
OberonException - if the name contains invalid characters| Method Detail |
|---|
public static User 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 show(Selector selector,
java.io.DataOutputStream outStream,
Framework framework)
throws java.io.IOException,
OberonException
show in class AdminBaseselector - selection parameters (if null return all the object properties)outStream - the stream for the results (if null the result is stored into the framework)framework - the current framework
java.io.IOException - when the output stream return an exception
OberonException - for all other problemsFramework.getResult()
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 rights
public void destroy(java.lang.String newHolder,
Framework framework)
throws OberonException
newHolder - new holder nameframework - the current framework
OberonException - usually due to DB SQL exceptions or to limited user access rightspublic void setAddress(java.lang.String address)
address - the User addresspublic java.lang.String getAddress()
public void setTelephone(java.lang.String telephone)
telephone - the telephone numberpublic java.lang.String getTelephone()
public void setFax(java.lang.String fax)
fax - the fax numberpublic java.lang.String getFax()
public void setObjectSpace(java.lang.String objectSpaceName)
ObjectObjs and Links created by this User are stored here if the ObjectSpace is not specified
objectSpaceName - the ObjectSpace namepublic java.lang.String getObjectSpace()
ObjectSpace for this User.
public void setLocalArea(java.lang.String localAreaName)
localAreaName - the LocalArea namepublic java.lang.String getLocalArea()
LocalArea for this User
public void setMetricSystem(java.lang.String metricSystemName)
metricSystemName - the MetricSystem namepublic java.lang.String getMetricSystem()
MetricSystem for this User
public void setMailType(boolean internal,
boolean external)
internal - if true enable the internal OBEROn mailexternal - if true enable the java mail to send mail to external addressespublic void setMailAddress(java.lang.String emailAddress)
emailAddress - the email addressMail.send(Framework)public boolean isInternalMail()
public boolean isExternalMail()
public void setMailType(java.lang.String mailType)
mailType - OOQL mail type ( "internal" / "external" )public java.lang.String getMailTypeAsString(java.lang.String delim)
public java.lang.String getMailAddress()
public void setPassword(java.lang.String password)
public void setMD5Password(java.lang.String password)
public java.lang.String getPassword()
public void setPasswordEnabled(boolean enable)
public boolean isPasswordEnabled()
public void setPasswordActive(boolean active)
public boolean isPasswordActive()
public java.lang.String getLastAccess()
public void setSuperUser(boolean superUser)
public boolean isSuperUser()
public void setLanguage(java.lang.String language)
language - the language abbreviation (max 3 chars)public java.lang.String getLanguage()
public void setSystemAccess(int accessType,
boolean accessFlag)
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllSystemAccess()
public void setNoSystemAccess()
public void setSystemAccess(java.util.BitSet accessFlags)
public boolean getSystemAccess(int accessType)
accessType - the access typepublic java.util.BitSet getSystemAccess()
public static java.lang.String getSystemAccessAsString(int accessType)
public java.lang.String getSystemAccessAsString(java.lang.String delim)
delim - the access string separatorpublic static int getSystemAccessId(java.lang.String access)
public void setAdminAccess(int accessType,
boolean accessFlag)
accessType - the access typeaccessFlag - true to enable / false to disable the accesspublic void setAllAdminAccess()
public void setNoAdminAccess()
public void setAdminAccess(java.util.BitSet accessFlags)
public boolean getAdminAccess(int accessType)
accessType - the access typepublic java.util.BitSet getAdminAccess()
public static java.lang.String getAdminAccessAsString(int accessType)
public java.lang.String getAdminAccessAsString(java.lang.String delim)
delim - the access string separatorpublic static int getAdminAccessId(java.lang.String access)
public void setBasicAccess(int accessType,
boolean accessFlag)
ObjectObj and Link manipulation.
If the access is disabled the User can never perform the related operation
accessType - the basic access typeaccessFlag - true to enable / false to disable the accesspublic void setAllBasicAccess()
ObjectObj and Link operations.
public void setNoBasicAccess()
ObjectObj and Link operations.
The User cannot perform any type of operation in the OBEROn environment.
public void setBasicAccess(java.util.BitSet accessFlags)
ObjectObj and Link manipulation.
public boolean getBasicAccess(int accessType)
ObjectObj or Link manipulation
accessType - the basic access typepublic java.util.BitSet getBasicAccess()
ObjectObj and Link manipulation.
public static java.lang.String getBasicAccessAsString(int accessType)
ObjectObj manipulation access to OOQL equivalent String
public static java.lang.String getBasicLinkAccessAsString(int accessType)
Link manipulation access to OOQL equivalent String
public java.lang.String getBasicAccessAsString(java.lang.String delim)
ObjectObj and Link manipulation accesses as OOQL equivalent String
delim - the access string separatorpublic static int getBasicAccessId(java.lang.String access)
ObjectObj manipulation access type from the equivalent OOQL String
public static int getBasicLinkAccessId(java.lang.String access)
Link manipulation access type from the equivalent OOQL String
public void addTeam(java.lang.String teamName)
teamName - the name of the Teampublic void removeTeam(java.lang.String teamName)
teamName - the name of the Teampublic void updateTeams(java.util.Vector<java.lang.String> teams)
teams - list of Team's namespublic java.util.Vector<java.lang.String> getOwnTeams()
Team namespublic java.lang.String getOwnTeamsAsString(java.lang.String delim)
delim - the separator item
Team names separated by the delim characterspublic java.util.Vector<java.lang.String> getTeams(Framework framework)
Team names
public java.lang.String getTeamsAsString(java.lang.String delim,
Framework framework)
delim - the separator item
Team names separated by the delim characterspublic void addAssignment(java.lang.String assignmentName)
assignmentName - the name of the Assignmentpublic void removeAssignment(java.lang.String assignmentName)
assignmentName - the name of the Assignmentpublic void updateAssignments(java.util.Vector<java.lang.String> assignments)
assignments - list of Assignment's namespublic java.util.Vector<java.lang.String> getOwnAssignments()
Assignment namespublic java.lang.String getOwnAssignmentsAsString(java.lang.String delim)
delim - the separator item
Assignment names separated by the delim characterspublic java.util.Vector<java.lang.String> getAssignments(Framework framework)
Teams
Assignment names
public java.lang.String getAssignmentsAsString(java.lang.String delim,
Framework framework)
Teams
delim - the separator item
Assignment names separated by the delim characters
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: address , fax ...)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: ownteam, assignment, .. )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 getXMLSystemAccess()
public org.jdom.Element getXMLAdminAccess()
public org.jdom.Element getXMLBasicAccess()
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(User refUser,
boolean checkImage,
boolean overwrite,
boolean force,
Framework framework)
throws OberonException
refUser - the reference User 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 | |||||||||