org.okiproject.serviceimpl.mit.roles
Class Function

java.lang.Object
  |
  +--org.okiproject.serviceimpl.mit.roles.Function
All Implemented Interfaces:
org.okiproject.serviceapi.roles.Function, java.io.Serializable

public class Function
extends java.lang.Object
implements org.okiproject.serviceapi.roles.Function

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.

$Source: /cvs/oki/org/okiproject/serviceimpl/mit/doc/roles/org/okiproject/serviceimpl/mit/roles/Function.html,v $

See Also:
Serialized Form

Constructor Summary
Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory, java.lang.Object id, java.lang.String name, java.lang.String description, org.okiproject.serviceapi.roles.FunctionCategory functionCategory, org.okiproject.serviceapi.roles.QualifierType qualifierType)
           
Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory, java.util.Properties properties)
           
Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory, java.lang.String name, java.lang.String description, org.okiproject.serviceapi.roles.FunctionCategory functionCategory, org.okiproject.serviceapi.roles.QualifierType qualifierType)
           
 
Method Summary
static org.okiproject.serviceapi.roles.Function create(org.okiproject.serviceapi.roles.RolesFactory rolesFactory, java.lang.String name, java.lang.String description, org.okiproject.serviceapi.roles.FunctionCategory functionCategory, org.okiproject.serviceapi.roles.QualifierType qualifierType)
           
 void delete()
           
 java.lang.String getDescription()
           
static org.okiproject.serviceapi.roles.Function getFunction(org.okiproject.serviceapi.roles.RolesFactory rolesFactory, java.lang.String functionName, org.okiproject.serviceapi.roles.FunctionCategory functionCategory)
           
 org.okiproject.serviceapi.roles.FunctionCategory getFunctionCategory()
           
 java.lang.Object getId()
           
 java.lang.String getModifiedBy()
           
 java.sql.Timestamp getModifiedDate()
           
 java.lang.String getName()
           
 java.lang.String getPrimaryAuthorizable()
           
 java.util.Properties getProperties()
           
 org.okiproject.serviceapi.roles.QualifierType getQualifierType()
           
 RolesFactory getRolesFactory()
           
 java.lang.Boolean isFoundInRoles()
           
 void refresh()
           
 void setFunctionCategory(org.okiproject.serviceapi.roles.FunctionCategory functionCategory)
           
 void setId(java.lang.Object id)
           
 void setName(java.lang.String name)
           
 void setQualifierType(org.okiproject.serviceapi.roles.QualifierType qualifierType)
           
 void update(java.lang.String newName, java.lang.String newDescription, org.okiproject.serviceapi.roles.FunctionCategory newFunctionCategory, org.okiproject.serviceapi.roles.QualifierType newQualifierType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory,
                java.util.Properties properties)

Function

public Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory,
                java.lang.String name,
                java.lang.String description,
                org.okiproject.serviceapi.roles.FunctionCategory functionCategory,
                org.okiproject.serviceapi.roles.QualifierType qualifierType)

Function

public Function(org.okiproject.serviceapi.roles.RolesFactory rolesFactory,
                java.lang.Object id,
                java.lang.String name,
                java.lang.String description,
                org.okiproject.serviceapi.roles.FunctionCategory functionCategory,
                org.okiproject.serviceapi.roles.QualifierType qualifierType)
Method Detail

getRolesFactory

public RolesFactory getRolesFactory()

getProperties

public java.util.Properties getProperties()
Specified by:
getProperties in interface org.okiproject.serviceapi.roles.Function

getId

public java.lang.Object getId()
Specified by:
getId in interface org.okiproject.serviceapi.roles.Function

setId

public void setId(java.lang.Object id)
Specified by:
setId in interface org.okiproject.serviceapi.roles.Function

getName

public java.lang.String getName()
Specified by:
getName in interface org.okiproject.serviceapi.roles.Function

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.okiproject.serviceapi.roles.Function

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.okiproject.serviceapi.roles.Function

getFunctionCategory

public org.okiproject.serviceapi.roles.FunctionCategory getFunctionCategory()
Specified by:
getFunctionCategory in interface org.okiproject.serviceapi.roles.Function

setFunctionCategory

public void setFunctionCategory(org.okiproject.serviceapi.roles.FunctionCategory functionCategory)
Specified by:
setFunctionCategory in interface org.okiproject.serviceapi.roles.Function

getQualifierType

public org.okiproject.serviceapi.roles.QualifierType getQualifierType()
Specified by:
getQualifierType in interface org.okiproject.serviceapi.roles.Function

setQualifierType

public void setQualifierType(org.okiproject.serviceapi.roles.QualifierType qualifierType)
Specified by:
setQualifierType in interface org.okiproject.serviceapi.roles.Function

getPrimaryAuthorizable

public java.lang.String getPrimaryAuthorizable()

getModifiedBy

public java.lang.String getModifiedBy()
Specified by:
getModifiedBy in interface org.okiproject.serviceapi.roles.Function

getModifiedDate

public java.sql.Timestamp getModifiedDate()
Specified by:
getModifiedDate in interface org.okiproject.serviceapi.roles.Function

isFoundInRoles

public java.lang.Boolean isFoundInRoles()
                                 throws java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception

delete

public void delete()
            throws java.lang.Exception

update

public void update(java.lang.String newName,
                   java.lang.String newDescription,
                   org.okiproject.serviceapi.roles.FunctionCategory newFunctionCategory,
                   org.okiproject.serviceapi.roles.QualifierType newQualifierType)
            throws java.lang.Exception

create

public static org.okiproject.serviceapi.roles.Function create(org.okiproject.serviceapi.roles.RolesFactory rolesFactory,
                                                              java.lang.String name,
                                                              java.lang.String description,
                                                              org.okiproject.serviceapi.roles.FunctionCategory functionCategory,
                                                              org.okiproject.serviceapi.roles.QualifierType qualifierType)
                                                       throws java.lang.Exception

getFunction

public static org.okiproject.serviceapi.roles.Function getFunction(org.okiproject.serviceapi.roles.RolesFactory rolesFactory,
                                                                   java.lang.String functionName,
                                                                   org.okiproject.serviceapi.roles.FunctionCategory functionCategory)
                                                            throws java.lang.Exception