|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.okiproject.serviceapi.roles.RolesFactory
Copyright (c) 2001 Massachusetts Institute of Technology
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The RolesFactory allows the application developer to create Roles objects in the Roles database, to get Roles objects from the Roles database given selection criteris, to ask questions of Roles such as who can do what with whom.
The key objects in Roles are Authorizations, Functions, People, and and Qualifiers. There are some other objects in Roles that play supporting roles. They are FunctionCatagory, QualifierType, Field, and FieldValue.
There are two methods to create Authorizations. One uses method uses Person, Function, and Qualifier. The other adds effective date and expiration date. For the method without the dates the effective date is today and there is no expiration date.
There are methods for getting Authorizations:
(1) getAuthsSimpleForm This method is overloaded to allow for combinations of filtering arguments to find matching Authorizations. (2) getAuthsForDoingFWithQ Given a Function and a Qualifier, finds a list of all Authorizations that would permit a person to do the Function with the Qualifier. This method is overloaded so that Authorizations for Functions within a FunctionCategory can be found. This uses a different algorithm than getAuthsSimpleForm. Note that the Qualifier in any found Authorization might be a parent of the Qualifier give as an argument. (3) getAuthsGeneralForm Give a set of criteria/value paris, this method finds all matching Authorizations. With the general form the application developer can do anything that the other two forms of getAuths can do and a lot more.
Authorization
,
Authorizations
,
Person
,
Agents
,
Function
,
Functions
,
FunctionCategory
,
Qualifier
,
Qualifiers
,
QualifierType
,
Field
,
FieldValue
,
$Source: /cvs/oki/org/okiproject/serviceapi/doc/roles/org/okiproject/serviceapi/roles/RolesFactory.html,v $
, Serialized FormConstructor Summary | |
RolesFactory()
|
Method Summary | |
Authorization |
createAuthorization(org.okiproject.serviceapi.roles.Person person,
Function function,
Qualifier qualifier,
GrantPrivilege grant,
java.lang.Boolean doFunction)
Method createAuthorization |
Authorization |
createAuthorization(org.okiproject.serviceapi.roles.Person person,
Function function,
Qualifier qualifier,
GrantPrivilege grant,
java.lang.Boolean doFunction,
java.sql.Timestamp effectiveDate,
java.sql.Timestamp expirationDate)
Method createAuthorization |
Function |
createFunction(java.lang.String name,
java.lang.String description,
FunctionCategory functionCategory,
QualifierType qualifierType)
Method createFunction |
FunctionCategory |
createFunctionCategory(java.lang.String category,
java.lang.String description)
Method createFunctionCategory |
Qualifier |
createQualifier(QualifierType qualifierType,
java.lang.String qualifierCode,
java.lang.String qualifierDescription,
Qualifier parent)
Method createQualifier |
QualifierType |
createQualifierType(java.lang.String type,
java.lang.String description)
Method createQualifierType |
void |
deleteAuthorization(Authorization authorization)
Method deleteAuthorization |
void |
deleteFunction(Function function)
Method deleteFunction |
void |
deleteFunctionCategory(FunctionCategory functionCategory)
Method deleteFunctionCategory |
void |
deleteQualifier(Qualifier qualifier)
Method deleteQualifier |
void |
deleteQualifierType(QualifierType qualifierType)
Method deleteQualifierType |
org.okiproject.serviceapi.common.Agent |
getAgent()
Method getAgent |
Authorizations |
getAuthsForDoingFWithQ(FunctionCategory functionCategory,
Qualifier qualifier,
java.lang.Boolean isActiveNow)
Method getAuthsForDoingFWithQ |
Authorizations |
getAuthsForDoingFWithQ(Function function,
Qualifier qualifier,
java.lang.Boolean isActiveNow)
Method getAuthsForDoingFWithQ |
Authorizations |
getAuthsGeneralForm(FieldValue[] selectionCriteria)
Method getAuthsGeneralForm |
Authorizations |
getAuthsSimpleForm(Function function,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(FunctionCategory functionCategory,
Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(Function function,
Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
Function function,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
FunctionCategory functionCategory,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
FunctionCategory functionCategory,
Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
Function function,
Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person,
Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Authorizations |
getAuthsSimpleForm(Qualifier qualifier,
java.lang.Boolean isActiveNow,
java.lang.Boolean expandFunctions,
java.lang.Boolean expandQualifiers)
Method getAuthsSimpleForm |
Field[] |
getCompleteAuthorizationFields()
Method getCompleteAuthorizationFields |
Field[] |
getCompleteFunctionFields()
Method getCompleteFunctionFields |
Field[] |
getCompletePersonFields()
Method getCompletePersonFields |
Field[] |
getCompleteQualifierFields()
Method getCompleteQualifierFields |
Field[] |
getCurrentAuthorizationFields()
Method getCurrentAuthorizationFields |
Field[] |
getCurrentFunctionFields()
Method getCurrentFunctionFields |
Field[] |
getCurrentPersonFields()
Method getCurrentPersonFields |
Field[] |
getCurrentQualifierFields()
Method getCurrentQualifierFields |
java.lang.String |
getDatabaseSymbolicName()
Method getDatabaseSymbolicName |
static java.lang.String[] |
getDatabaseSymbolicNames()
Method getDatabaseSymbolicNames |
Field[] |
getDefaultAuthorizationFields()
Method getDefaultAuthorizationFields |
Field[] |
getDefaultFunctionFields()
Method getDefaultFunctionFields |
Field[] |
getDefaultPersonFields()
Method getDefaultPersonFields |
Field[] |
getDefaultQualifierFields()
Method getDefaultQualifierFields |
static RolesFactory |
getDefaultRolesFactory(org.okiproject.serviceapi.common.Agent agent)
Method getDefaultRolesFactory |
FunctionCategory[] |
getFunctionCategories()
Method getFunctionCategories |
Functions |
getFunctionsGeneralForm(FieldValue[] selectionCriteria)
Method getFunctionsGeneralForm |
Functions |
getFunctionsInCategory(FunctionCategory functionCategory)
Method getFunctionsInCategory |
Field[] |
getMinimumAuthorizationFields()
Method getMinimumAuthorizationFields |
Field[] |
getMinimumFunctionFields()
Method getMinimumFunctionFields |
Field[] |
getMinimumPersonFields()
Method getMinimumPersonFields |
Field[] |
getMinimumQualifierFields()
Method getMinimumQualifierFields |
org.okiproject.serviceapi.common.Agents |
getPeopleGeneralForm(FieldValue[] selectionCriteria)
Method getPeopleGeneralForm |
java.util.Map |
getProperties()
Method getProperties |
Qualifiers |
getQualifierChildren(Qualifier qualifier)
Method getQualifierChildren |
Qualifiers |
getQualifiersGeneralForm(FieldValue[] selectionCriteria,
int start,
int number)
Method getQualifiersGeneralForm |
QualifierType[] |
getQualifierTypes()
Method getQualifierTypes |
static RolesFactory |
getRolesFactory(org.okiproject.serviceapi.common.Agent agent,
java.util.Map props)
Method getRolesFactory |
Qualifier |
getRootQualifier(QualifierType qualifierType)
Method getRootQualifier |
org.okiproject.serviceapi.common.Agents |
getWhoCanDo(Function function,
java.lang.Boolean isActiveNow)
Method getWhoCanDo |
org.okiproject.serviceapi.common.Agents |
getWhoCanDo(FunctionCategory functionCategory,
java.lang.Boolean isActiveNow)
Method getWhoCanDo |
org.okiproject.serviceapi.common.Agents |
getWhoCanDo(FunctionCategory functionCategory,
Qualifier qualifier,
java.lang.Boolean isActiveNow)
Method getWhoCanDo |
org.okiproject.serviceapi.common.Agents |
getWhoCanDo(Function function,
Qualifier qualifier,
java.lang.Boolean isActiveNow)
Method getWhoCanDo |
org.okiproject.serviceapi.common.Agents |
getWhoCanDo(Qualifier qualifier,
java.lang.Boolean isActiveNow)
Method getWhoCanDo |
java.lang.Boolean |
isAuthorized(org.okiproject.serviceapi.roles.Person person,
FunctionCategory functionCategory,
Qualifier qualifier)
Method isAuthorized |
java.lang.Boolean |
isAuthorized(org.okiproject.serviceapi.roles.Person person,
Function function,
Qualifier qualifier)
Method isAuthorized |
java.lang.Boolean |
isAuthorized(org.okiproject.serviceapi.roles.Person person,
Qualifier qualifier)
Method isAuthorized |
java.lang.Boolean |
isFunctionCategoryFoundInRoles(FunctionCategory functionCategory)
Method isFunctionCategoryFoundInRoles |
java.lang.Boolean |
isFunctionFoundInRoles(Function function)
Method isFunctionFoundInRoles |
java.lang.Boolean |
isPersonFoundInRoles(org.okiproject.serviceapi.roles.Person person)
Method isPersonFoundInRoles |
java.lang.Boolean |
isQualifierFoundInRoles(Qualifier qualifier)
Method isQualifierFoundInRoles |
java.lang.Boolean |
isQualifierTypeFoundInRoles(QualifierType qualifierType)
Method isQualifierTypeFoundInRoles |
Function |
newFunction(FunctionCategory functionCategory,
java.lang.String name)
Method newFunction |
Function |
newFunction(java.lang.String functionCategory,
java.lang.String name)
Method newFunction |
FunctionCategory |
newFunctionCategory(java.lang.String functionCategory)
Method newFunctionCategory |
GrantPrivilege |
newGrantPrivilege(java.lang.String grantPrivilege)
Method newGrantPrivilege |
org.okiproject.serviceapi.roles.Person |
newPerson(java.lang.Object key)
Method newPerson |
Qualifier |
newQualifier(QualifierType qualifierType,
java.lang.String qualifierCode)
Method newQualifier |
Qualifier |
newQualifier(java.lang.String qualifierType,
java.lang.String qualifierCode)
Method newQualifier |
QualifierType |
newQualifierType(java.lang.String qualifierType)
Method newQualifierType |
void |
refreshFunction(Function function)
Method refreshFunction |
void |
refreshFunctionCategory(FunctionCategory functionCategory)
Method refreshFunctionCategory |
void |
refreshPerson(org.okiproject.serviceapi.roles.Person person)
Method refreshPerson |
void |
refreshQualifier(Qualifier qualifier)
Method refreshQualifier |
void |
refreshQualifierType(QualifierType qualifierType)
Method refreshQualifierType |
void |
setAgent(org.okiproject.serviceapi.common.Agent agent)
Method setAgent |
void |
setCurrentAuthorizationFields(Field[] currentFields)
Method setCurrentAuthorizationFields |
void |
setCurrentFunctionFields(Field[] currentFields)
Method setCurrentFunctionFields |
void |
setCurrentPersonFields(Field[] currentFields)
Method setCurrentPersonFields |
void |
setCurrentQualifierFields(Field[] currentFields)
Method setCurrentQualifierFields |
void |
setDatabaseSymbolicName(java.lang.String databaseSymbolicName)
Method setDatabaseSymbolicName |
void |
setProperties(java.util.Map properties)
Method setProperties |
void |
updateAuthorization(Authorization authorization,
org.okiproject.serviceapi.roles.Person person,
Function function,
Qualifier qualifier,
GrantPrivilege grant,
java.lang.Boolean doFunction,
java.sql.Timestamp effectiveDate,
java.sql.Timestamp expirationDate)
Method updateAuthorization |
void |
updateFunction(Function function,
java.lang.String newName,
java.lang.String newDescription,
FunctionCategory newFunctionCategory,
QualifierType newQualifierType)
Method updateFunction |
void |
updateFunctionCategory(FunctionCategory functionCategory,
java.lang.String newDescription)
Method updateFunctionCategory |
void |
updateQualifier(Qualifier qualifier,
java.lang.String newQualifierCode,
java.lang.String newDescription)
Method updateQualifier |
void |
updateQualifierType(QualifierType qualifierType,
java.lang.String newDescription)
Method updateQualifierType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RolesFactory()
Method Detail |
public static RolesFactory getDefaultRolesFactory(org.okiproject.serviceapi.common.Agent agent) throws java.lang.Exception
agent
- java.lang.Exception
- public static RolesFactory getRolesFactory(org.okiproject.serviceapi.common.Agent agent, java.util.Map props) throws java.lang.Exception
agent
- props
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agent getAgent()
public void setAgent(org.okiproject.serviceapi.common.Agent agent)
agent
- public java.util.Map getProperties()
public void setProperties(java.util.Map properties)
properties
- public static java.lang.String[] getDatabaseSymbolicNames() throws java.lang.Exception
java.lang.Exception
- public java.lang.String getDatabaseSymbolicName() throws java.lang.Exception
java.lang.Exception
- public void setDatabaseSymbolicName(java.lang.String databaseSymbolicName) throws java.lang.Exception
databaseSymbolicName
- java.lang.Exception
- public Authorization createAuthorization(org.okiproject.serviceapi.roles.Person person, Function function, Qualifier qualifier, GrantPrivilege grant, java.lang.Boolean doFunction, java.sql.Timestamp effectiveDate, java.sql.Timestamp expirationDate) throws java.lang.Exception
person
- function
- qualifier
- grant
- doFunction
- effectiveDate
- expirationDate
- java.lang.Exception
- public Authorization createAuthorization(org.okiproject.serviceapi.roles.Person person, Function function, Qualifier qualifier, GrantPrivilege grant, java.lang.Boolean doFunction) throws java.lang.Exception
person
- function
- qualifier
- grant
- doFunction
- java.lang.Exception
- public void deleteAuthorization(Authorization authorization) throws java.lang.Exception
authorization
- java.lang.Exception
- public void updateAuthorization(Authorization authorization, org.okiproject.serviceapi.roles.Person person, Function function, Qualifier qualifier, GrantPrivilege grant, java.lang.Boolean doFunction, java.sql.Timestamp effectiveDate, java.sql.Timestamp expirationDate) throws java.lang.Exception
authorization
- person
- function
- qualifier
- grant
- doFunction
- effectiveDate
- expirationDate
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getWhoCanDo(Function function, Qualifier qualifier, java.lang.Boolean isActiveNow) throws java.lang.Exception
function
- qualifier
- isActiveNow
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getWhoCanDo(Function function, java.lang.Boolean isActiveNow) throws java.lang.Exception
function
- isActiveNow
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getWhoCanDo(FunctionCategory functionCategory, java.lang.Boolean isActiveNow) throws java.lang.Exception
functionCategory
- isActiveNow
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getWhoCanDo(FunctionCategory functionCategory, Qualifier qualifier, java.lang.Boolean isActiveNow) throws java.lang.Exception
functionCategory
- qualifier
- isActiveNow
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getWhoCanDo(Qualifier qualifier, java.lang.Boolean isActiveNow) throws java.lang.Exception
qualifier
- isActiveNow
- java.lang.Exception
- public Authorizations getAuthsForDoingFWithQ(Function function, Qualifier qualifier, java.lang.Boolean isActiveNow) throws java.lang.Exception
function
- qualifier
- isActiveNow
- java.lang.Exception
- public Authorizations getAuthsForDoingFWithQ(FunctionCategory functionCategory, Qualifier qualifier, java.lang.Boolean isActiveNow) throws java.lang.Exception
functionCategory
- qualifier
- isActiveNow
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, Function function, Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- function
- qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, FunctionCategory functionCategory, Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- functionCategory
- qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, Function function, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- function
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, FunctionCategory functionCategory, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- functionCategory
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(org.okiproject.serviceapi.roles.Person person, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
person
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(Function function, Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
function
- qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(FunctionCategory functionCategory, Qualifier qualifier, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
functionCategory
- qualifier
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsSimpleForm(Function function, java.lang.Boolean isActiveNow, java.lang.Boolean expandFunctions, java.lang.Boolean expandQualifiers) throws java.lang.Exception
function
- isActiveNow
- expandFunctions
- expandQualifiers
- java.lang.Exception
- public Authorizations getAuthsGeneralForm(FieldValue[] selectionCriteria) throws java.lang.Exception
selectionCriteria
- java.lang.Exception
- public Field[] getMinimumAuthorizationFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getDefaultAuthorizationFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCompleteAuthorizationFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCurrentAuthorizationFields() throws java.lang.Exception
java.lang.Exception
- public void setCurrentAuthorizationFields(Field[] currentFields) throws java.lang.Exception
currentFields
- java.lang.Exception
- public java.lang.Boolean isAuthorized(org.okiproject.serviceapi.roles.Person person, Function function, Qualifier qualifier) throws java.lang.Exception
person
- function
- qualifier
- java.lang.Exception
- public java.lang.Boolean isAuthorized(org.okiproject.serviceapi.roles.Person person, Qualifier qualifier) throws java.lang.Exception
person
- qualifier
- java.lang.Exception
- public java.lang.Boolean isAuthorized(org.okiproject.serviceapi.roles.Person person, FunctionCategory functionCategory, Qualifier qualifier) throws java.lang.Exception
person
- functionCategory
- qualifier
- java.lang.Exception
- public Function createFunction(java.lang.String name, java.lang.String description, FunctionCategory functionCategory, QualifierType qualifierType) throws java.lang.Exception
name
- description
- functionCategory
- qualifierType
- java.lang.Exception
- public void deleteFunction(Function function) throws java.lang.Exception
function
- java.lang.Exception
- public java.lang.Boolean isFunctionFoundInRoles(Function function) throws java.lang.Exception
function
- java.lang.Exception
- public void refreshFunction(Function function) throws java.lang.Exception
function
- java.lang.Exception
- public void updateFunction(Function function, java.lang.String newName, java.lang.String newDescription, FunctionCategory newFunctionCategory, QualifierType newQualifierType) throws java.lang.Exception
function
- newName
- newDescription
- newFunctionCategory
- newQualifierType
- java.lang.Exception
- public FunctionCategory createFunctionCategory(java.lang.String category, java.lang.String description) throws java.lang.Exception
category
- description
- java.lang.Exception
- public void deleteFunctionCategory(FunctionCategory functionCategory) throws java.lang.Exception
functionCategory
- java.lang.Exception
- public java.lang.Boolean isFunctionCategoryFoundInRoles(FunctionCategory functionCategory) throws java.lang.Exception
functionCategory
- java.lang.Exception
- public void refreshFunctionCategory(FunctionCategory functionCategory) throws java.lang.Exception
functionCategory
- java.lang.Exception
- public void updateFunctionCategory(FunctionCategory functionCategory, java.lang.String newDescription) throws java.lang.Exception
functionCategory
- newDescription
- java.lang.Exception
- public FunctionCategory[] getFunctionCategories() throws java.lang.Exception
java.lang.Exception
- public Functions getFunctionsInCategory(FunctionCategory functionCategory) throws java.lang.Exception
functionCategory
- java.lang.Exception
- public Functions getFunctionsGeneralForm(FieldValue[] selectionCriteria) throws java.lang.Exception
selectionCriteria
- java.lang.Exception
- public Field[] getMinimumFunctionFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getDefaultFunctionFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCompleteFunctionFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCurrentFunctionFields() throws java.lang.Exception
java.lang.Exception
- public void setCurrentFunctionFields(Field[] currentFields) throws java.lang.Exception
currentFields
- java.lang.Exception
- public Function newFunction(FunctionCategory functionCategory, java.lang.String name) throws java.lang.Exception
functionCategory
- name
- java.lang.Exception
- public Function newFunction(java.lang.String functionCategory, java.lang.String name) throws java.lang.Exception
functionCategory
- name
- java.lang.Exception
- public FunctionCategory newFunctionCategory(java.lang.String functionCategory) throws java.lang.Exception
functionCategory
- java.lang.Exception
- public GrantPrivilege newGrantPrivilege(java.lang.String grantPrivilege) throws java.lang.Exception
grantPrivilege
- java.lang.Exception
- public org.okiproject.serviceapi.common.Agents getPeopleGeneralForm(FieldValue[] selectionCriteria) throws java.lang.Exception
selectionCriteria
- java.lang.Exception
- public Field[] getMinimumPersonFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getDefaultPersonFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCompletePersonFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCurrentPersonFields() throws java.lang.Exception
java.lang.Exception
- public void setCurrentPersonFields(Field[] currentFields) throws java.lang.Exception
currentFields
- java.lang.Exception
- public org.okiproject.serviceapi.roles.Person newPerson(java.lang.Object key) throws java.lang.Exception
key
- java.lang.Exception
- public java.lang.Boolean isPersonFoundInRoles(org.okiproject.serviceapi.roles.Person person) throws java.lang.Exception
person
- java.lang.Exception
- public void refreshPerson(org.okiproject.serviceapi.roles.Person person) throws java.lang.Exception
person
- java.lang.Exception
- public Qualifier createQualifier(QualifierType qualifierType, java.lang.String qualifierCode, java.lang.String qualifierDescription, Qualifier parent) throws java.lang.Exception
qualifierType
- qualifierCode
- qualifierDescription
- parent
- java.lang.Exception
- public void deleteQualifier(Qualifier qualifier) throws java.lang.Exception
qualifier
- java.lang.Exception
- public java.lang.Boolean isQualifierFoundInRoles(Qualifier qualifier) throws java.lang.Exception
qualifier
- java.lang.Exception
- public void refreshQualifier(Qualifier qualifier) throws java.lang.Exception
qualifier
- java.lang.Exception
- public void updateQualifier(Qualifier qualifier, java.lang.String newQualifierCode, java.lang.String newDescription) throws java.lang.Exception
qualifier
- newQualifierCode
- newDescription
- java.lang.Exception
- public QualifierType createQualifierType(java.lang.String type, java.lang.String description) throws java.lang.Exception
type
- description
- java.lang.Exception
- public void deleteQualifierType(QualifierType qualifierType) throws java.lang.Exception
qualifierType
- java.lang.Exception
- public java.lang.Boolean isQualifierTypeFoundInRoles(QualifierType qualifierType) throws java.lang.Exception
qualifierType
- java.lang.Exception
- public void refreshQualifierType(QualifierType qualifierType) throws java.lang.Exception
qualifierType
- java.lang.Exception
- public void updateQualifierType(QualifierType qualifierType, java.lang.String newDescription) throws java.lang.Exception
qualifierType
- newDescription
- java.lang.Exception
- public QualifierType[] getQualifierTypes() throws java.lang.Exception
java.lang.Exception
- public Qualifier getRootQualifier(QualifierType qualifierType) throws java.lang.Exception
qualifierType
- java.lang.Exception
- public Qualifiers getQualifierChildren(Qualifier qualifier) throws java.lang.Exception
qualifier
- java.lang.Exception
- public Qualifiers getQualifiersGeneralForm(FieldValue[] selectionCriteria, int start, int number) throws java.lang.Exception
selectionCriteria
- start
- number
- java.lang.Exception
- public Field[] getMinimumQualifierFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getDefaultQualifierFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCompleteQualifierFields() throws java.lang.Exception
java.lang.Exception
- public Field[] getCurrentQualifierFields() throws java.lang.Exception
java.lang.Exception
- public void setCurrentQualifierFields(Field[] currentFields) throws java.lang.Exception
currentFields
- java.lang.Exception
- public Qualifier newQualifier(QualifierType qualifierType, java.lang.String qualifierCode) throws java.lang.Exception
qualifierType
- qualifierCode
- java.lang.Exception
- public Qualifier newQualifier(java.lang.String qualifierType, java.lang.String qualifierCode) throws java.lang.Exception
qualifierType
- qualifierCode
- java.lang.Exception
- public QualifierType newQualifierType(java.lang.String qualifierType) throws java.lang.Exception
qualifierType
- java.lang.Exception
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |