|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.kpat.tunnel.TunnelClient
public class TunnelClient
Field Summary | |
---|---|
protected java.util.Hashtable |
_userRegisteredList
|
Constructor Summary | |
---|---|
TunnelClient(java.lang.String url)
|
Method Summary | |
---|---|
void |
addFilteredNamespace(java.lang.String namespace)
This method add a nemaspace to the set of urls depicting ontology namespaces concept of which are filtered out when returned by methods of this repository. |
void |
addFilteredNamespace(java.lang.String namespace,
javax.swing.ProgressMonitor pm)
|
void |
addLogin(java.lang.String userid,
java.lang.String password)
|
void |
addPolicies(java.util.Vector policies)
Each element of the Vector is an instance of a Msg class specifying an individual policy fields |
void |
addPolicies(java.util.Vector policies,
javax.swing.ProgressMonitor pm)
|
void |
addPolicy(Msg policy)
|
void |
addPolicy(Msg policy,
javax.swing.ProgressMonitor pm)
|
void |
addPolicySet(Msg policySet)
|
void |
addPolicySet(Msg policySet,
javax.swing.ProgressMonitor pm)
|
void |
addPolicySets(java.util.Vector policySets)
Each element of the Vector is an instance of a Msg class specifying an individual policy set fields |
void |
addPolicySets(java.util.Vector policySets,
javax.swing.ProgressMonitor pm)
|
java.lang.String |
analyzeWorkflow(java.lang.String owlsWorkflow,
javax.swing.ProgressMonitor pm)
Modify the given OWL-S workflow based on policies that apply the actions in workflow. |
java.lang.String |
analyzeWorkflow(java.net.URL owlsWorkflow,
javax.swing.ProgressMonitor pm)
Modify the given OWL-S workflow based on policies that apply the actions in workflow. |
boolean |
areClassesDisjoint(java.lang.String firstClass,
java.lang.String secondClass)
Test if two provided classes are disjoint |
boolean |
areClassesDisjoint(java.lang.String firstClass,
java.lang.String secondClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
askQuery(java.lang.String variableName,
java.lang.String multiplyVariablesQuery)
Get values of the selected variable satisfing the KIF query with possibly many variable. |
java.util.Set |
askQuery(java.lang.String variableName,
java.lang.String multiplyVariablesQuery,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
changeComponentEnabledStatus(java.lang.String repType,
java.lang.String associatedOntType,
java.lang.Boolean state,
java.lang.String guardRepMgrID)
Changes the 'enabled' status of the given component. |
java.util.Vector |
changeComponentEnabledStatus(java.lang.String repType,
java.lang.String associatedOntType,
java.lang.Boolean state,
java.lang.String guardRepMgrID,
javax.swing.ProgressMonitor pm)
|
void |
changedPriority(java.lang.String policyId,
int newPriority)
Method allowing to modify priority of a policy to either eliminate conflict or to alter policy precedence relation |
void |
changedPriority(java.lang.String policyId,
int newPriority,
javax.swing.ProgressMonitor pm)
|
void |
changePolicies(java.util.Vector policies)
|
void |
changePolicies(java.util.Vector policies,
javax.swing.ProgressMonitor pm)
|
void |
changePolicy(Msg policy)
|
void |
changePolicy(Msg policy,
javax.swing.ProgressMonitor pm)
|
void |
changePolicySet(Msg policySet)
|
void |
changePolicySet(Msg policySet,
javax.swing.ProgressMonitor pm)
|
void |
changePolicySets(java.util.Vector policySets)
|
void |
changePolicySets(java.util.Vector policySets,
javax.swing.ProgressMonitor pm)
|
void |
checkDeepPermission(java.security.Permission perm,
java.lang.Object context)
The method checks if the given action is permitted according to the current set of policies. |
void |
checkDeepPermission(java.security.Permission perm,
java.lang.Object context,
javax.swing.ProgressMonitor pm)
|
void |
checkPermission(java.security.Permission perm,
java.lang.Object context)
The method check if the given action is permitted according to the current set of policies |
void |
checkPermission(java.security.Permission perm,
java.lang.Object context,
javax.swing.ProgressMonitor pm)
|
AgentDescription |
createAgentDescription()
javax.agent.service.directory.AgentDirectoryService interface implementation - begin |
void |
declareInstance(java.lang.String instanceName,
java.lang.String className)
|
void |
deleteAllLogs(java.lang.String historyMonitorID)
|
void |
deleteAllLogs(java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
deleteLogsforActionType(java.lang.String actionType,
java.lang.String historyMonitorID)
|
java.util.Vector |
deleteLogsforActionType(java.lang.String actionType,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
deleteLogsforActor(java.lang.String actorID,
java.lang.String historyMonitorID)
|
java.util.Vector |
deleteLogsforActor(java.lang.String actorID,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
deleteSpecifiedLogs(java.lang.String actionType,
java.lang.String actorID,
java.lang.String startTime,
java.lang.String endTime,
java.lang.Boolean latest,
java.lang.String historyMonitorID)
|
java.util.Vector |
deleteSpecifiedLogs(java.lang.String actionType,
java.lang.String actorID,
java.lang.String startTime,
java.lang.String endTime,
java.lang.Boolean latest,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
void |
deregister(AgentDescription desc)
|
void |
deregister(AgentDescription desc,
javax.swing.ProgressMonitor pm)
|
java.util.List |
findConflictingPolicies(java.lang.String policyId)
Method find all the policies conflicting with the specified policy |
java.util.List |
findConflictingPolicies(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
java.util.List |
findPoliciesMadeRedundant(java.lang.String policyId)
Method find all the policies with higher priority making the specified policy redundant |
java.util.List |
findPoliciesMadeRedundant(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
java.util.List |
findPoliciesMakingRedundant(java.lang.String policyId)
Method find all the policies with higher priority making the specified policy redundant |
java.util.List |
findPoliciesMakingRedundant(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
findPolicyDecision(java.security.Permission perm,
java.lang.Object context)
The method checks if the given action is permitted according to the current set of policies, or if the given action is a trigger for some obligation policy. |
java.util.Vector |
findPolicyDecision(java.security.Permission perm,
java.lang.Object context,
javax.swing.ProgressMonitor pm)
For Policy Disclosure |
java.util.Set |
getActions(java.lang.String forActor)
Get descriptions of the Action classes the specified Actor class or instance can perfom based on its class. |
java.util.Set |
getActions(java.lang.String forActor,
javax.swing.ProgressMonitor pm)
|
java.util.List |
getAllAgentsInDirectory()
Get a Vector of descriptions of all agents in the directory. |
java.util.List |
getAllAgentsInDirectory(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getAllAgentsInDomain(java.lang.String domainName)
Get a Vector of descriptions of all of the agents in a domain. |
java.util.Vector |
getAllAgentsInDomain(java.lang.String domainName,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getAllDomainsInDirectory()
Get a Vector of descriptions of all of the domains in a directory. |
java.util.Vector |
getAllDomainsInDirectory(javax.swing.ProgressMonitor pm)
|
java.util.List |
getAllGuardsInDirectory()
Get a Vector of descriptions of all guards in the directory. |
java.util.Vector |
getAllLogs(java.lang.String historyMonitorID)
|
java.util.Vector |
getAllLogs(java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getAllNamespaces()
This method returns a set of urls depicting ontologies loaded into the JTP as well namespaces used internally by KAoS. |
java.util.Set |
getAllNamespaces(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc)
In this case, there are NO properties specified. |
java.util.Vector |
getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getAllowableValuesForActionProperties(java.util.Vector propertyNames,
ActionInstanceDescription actionDesc,
boolean tight)
This function is used when the agent/enforcer has only partial information about an action and would like to determine what range of properties can be allowed by the policy set. |
java.util.Vector |
getAllowableValuesForActionProperties(java.util.Vector propertyNames,
ActionInstanceDescription actionDesc,
boolean tight,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getAllowableValuesForActionProperty(java.lang.String origPropertyName,
ActionInstanceDescription origActionDesc,
java.util.Set allTargetValues,
boolean tight)
This function is used when the enforcer has only partial information about an action and needs to determine what range of a property can be allowed by the policy. |
java.util.Set |
getAllowableValuesForActionProperty(java.lang.String origPropertyName,
ActionInstanceDescription origActionDesc,
java.util.Set allTargetValues,
boolean tight,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getAllPolicies(java.lang.String policyDBManagerID)
kaos.policy.information.PolicyDBManagerForwarder interface implementation - begin Important: please note that all forwarded methods have to call the invokeForwardingMethod, not invokeMethod! |
java.util.Vector |
getAllPolicies(java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
java.util.List |
getAllSchema()
to retrieve all schemas in the repositiry. |
java.util.List |
getAllSchema(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getApplicablePoliciesForEntity(java.lang.String entityId)
Obtain the set of policies directly and indirectly applicable to a specified entity. |
java.util.Set |
getClassesDefInNamespace(java.lang.String namespaceName)
Get set of classes defined in the given namespace. |
java.util.Set |
getClassesDefInNamespace(java.lang.String namespaceName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getClassesOfActors(java.lang.String baseActorClass)
Get names of the Actors classes known to the ontology repository being a subclass of the specified base class. |
java.util.Set |
getClassesOfActors(java.lang.String baseActorClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getClassesOfActorsCapableOfPerformingActions(java.lang.String actionClass)
Get names of Actor classes capable to perform a given action, without taking into consideration policy restrictions |
java.util.Set |
getClassesOfActorsCapableOfPerformingActions(java.lang.String actionClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getClassesOfGroups(java.lang.String baseGroupClass)
Get names of the Group classes known to the ontology repository being a subclass of the specified base class. |
java.util.Set |
getClassesOfGroups(java.lang.String baseGroupClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getClassesOfPlaces(java.lang.String basePlaceClass)
Get names of the Places classes known to the ontology repository being a subclass of the specified base class. |
java.util.Set |
getClassesOfPlaces(java.lang.String basePlaceClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getClassesOfTargets(java.lang.String baseTargetClass)
Get names of the targets (Actors or Entities) classes known to the ontology repository being a subclass of the specified base class. |
java.util.Set |
getClassesOfTargets(java.lang.String baseTargetClass,
javax.swing.ProgressMonitor pm)
|
java.lang.Boolean |
getComponentEnabledStatus(java.lang.String repType,
java.lang.String associatedOntType,
java.lang.String guardRepMgrID)
Get the 'enabled' status of the given component. |
java.lang.Boolean |
getComponentEnabledStatus(java.lang.String repType,
java.lang.String associatedOntType,
java.lang.String guardRepMgrID,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getConditionalPolicies()
|
java.util.Vector |
getConditionalPolicies(javax.swing.ProgressMonitor pm)
|
java.util.List |
getConstructedOntologyStructures()
This method retrieves all user defined ontlogy structures in the repositiry. |
java.util.List |
getConstructedOntologyStructures(javax.swing.ProgressMonitor pm)
|
DomainDescription |
getDomainDescription(java.lang.String domainName)
Get the description of a domain |
DomainDescription |
getDomainDescription(java.lang.String domainName,
javax.swing.ProgressMonitor pm)
|
java.util.List |
getDomainDescriptionsForGuard(java.lang.String guardGUID)
Obtain a List containing DomainDescriptions of all domains the guard, whose GUID is specified, registered in. |
java.util.Map |
getDomainStructure(java.lang.String domainName)
Obtain a Map containing the structure of a domain. |
java.util.Map |
getDomainStructure(java.lang.String domainName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getFilteredNamespaces()
This method returns a set of urls depicting ontology namespaces concept of which are filtered out when returned by methods of this repository. |
java.util.Set |
getFilteredNamespaces(javax.swing.ProgressMonitor pm)
|
GuardState |
getGuardStateFor(java.lang.String guardID)
method for getting the current state of a guard |
GuardState |
getGuardStateFor(java.lang.String guardID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getIndividualActors(java.lang.String baseActorClass)
Get names of the individual Actors known to the ontology repository being an instance of the specified base class. |
java.util.Set |
getIndividualActors(java.lang.String baseActorClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getIndividualGroups(java.lang.String baseGroupClass)
Get names of the individual Groups known to the ontology repository being an instance of the specified base class. |
java.util.Set |
getIndividualGroups(java.lang.String baseGroupClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getIndividualPlaces(java.lang.String basePlaceClass)
Get names of the individual Places known to the ontology repository being an instance of the specified base class. |
java.util.Set |
getIndividualPlaces(java.lang.String basePlaceClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getIndividualTargets(java.lang.String baseTargetClass)
Get names of the individual targets (Actors or Entities) known to the ontology repository being an instance of the specified base class. |
java.util.Set |
getIndividualTargets(java.lang.String baseTargetClass,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getInstancesDefInNamespace(java.lang.String namespaceName)
Get set of instances defined in the given namespace. |
java.util.Set |
getInstancesDefInNamespace(java.lang.String namespaceName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getInstancesOf(java.lang.String conceptName)
Get set of instances of the given concept; if the concept is an instance itself the set contains just this instance. |
java.util.Set |
getInstancesOf(java.lang.String conceptName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getListOfLoadedOntologies()
This method returns a set of urls depicting ontologies loaded into the JTP. |
java.util.Set |
getListOfLoadedOntologies(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getLogsforActionType(java.lang.String actionType,
java.lang.String historyMonitorID)
|
java.util.Vector |
getLogsforActionType(java.lang.String actionType,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getLogsforActor(java.lang.String actorID,
java.lang.String historyMonitorID)
|
java.util.Vector |
getLogsforActor(java.lang.String actorID,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getNamspacesImportedByNamespace(java.lang.String namespaceName)
Get set of namspaces imported by the given namespace. |
java.util.Set |
getNamspacesImportedByNamespace(java.lang.String namespaceName,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getObligationsForTriggerCondition(ActionInstanceDescription triggerAID)
Based on the specified trigger ActionInstanceDescription, select all matching control BasicActionDescription, which define the obligations for the trigger. |
java.util.Vector |
getObligationsForTriggerCondition(ActionInstanceDescription triggerAID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getOntologyDefinitionForConcept(java.lang.String conceptName)
Get set of namspaces imported by the given namespace. |
java.util.Set |
getOntologyDefinitionForConcept(java.lang.String conceptName,
javax.swing.ProgressMonitor pm)
|
java.util.List |
getPolicies()
Obtain an List over all policies. |
java.util.List |
getPolicies(javax.swing.ProgressMonitor pm)
|
java.util.Map |
getPoliciesByEntities()
Obtain a table of all original policies (pre-deconfliction and OWL->XML conversion) in the system, indexed by the id(s) of the entity(s) to which they apply |
java.util.Map |
getPoliciesByEntities(javax.swing.ProgressMonitor pm)
|
java.util.List |
getPoliciesForActionType(java.lang.String actionType)
Get policies for the specified action type. |
java.util.List |
getPoliciesForActionType(java.lang.String actionType,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getPoliciesForEntity(java.lang.String entityId)
Obtain the original (pre-deconfliction and OWL->XML conversion) policies directly applicable to the specified entity This method does not return all policies applicable to the entity (e.g., if you specified the id of an agent, it would only return policies for that agent, *not* including policies for the agent container, exec env, host, domain, which apply to the agent) |
java.util.Vector |
getPoliciesForEntity(java.lang.String entityId,
javax.swing.ProgressMonitor pm)
|
Msg |
getPolicy(java.lang.String policyId)
|
Msg |
getPolicy(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
PolicyInformation |
getPolicyInformation(java.lang.String policyID,
java.lang.String policyDBManagerID)
|
PolicyInformation |
getPolicyInformation(java.lang.String policyID,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
PolicySetMsg |
getPolicySet(java.lang.String policySetId)
|
PolicySetMsg |
getPolicySet(java.lang.String policySetId,
javax.swing.ProgressMonitor pm)
|
java.util.List |
getPolicySets()
Obtain an Vector over all policy sets. |
java.util.List |
getPolicySets(javax.swing.ProgressMonitor pm)
|
java.lang.Integer |
getPolicyUpdateCount()
Returns count of the number of times the policy has been updated. |
java.lang.Integer |
getPolicyUpdateCount(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getPropertiesApplicableTo(java.lang.String className)
Get set of properties defined in the given namespace. |
java.util.Vector |
getPropertiesApplicableTo(java.lang.String className,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getPropertiesDefInNamespace(java.lang.String namespaceName)
Get set of properties defined in the given namespace. |
java.util.Set |
getPropertiesDefInNamespace(java.lang.String namespaceName,
javax.swing.ProgressMonitor pm)
|
java.lang.String |
getRangeOnPropertyForClass(java.lang.String className,
java.lang.String propertyName)
Get the name of the class defining the range of the specified property for the given class. |
java.lang.String |
getRangeOnPropertyForClass(java.lang.String className,
java.lang.String propertyName,
javax.swing.ProgressMonitor pm)
|
java.util.Hashtable |
getRepositoryTableInformation(java.lang.String repType,
java.lang.String guardRepMgrID)
This method returns the concepts names and their corresponding component names in a Hashtable. |
java.util.Hashtable |
getRepositoryTableInformation(java.lang.String repType,
java.lang.String guardRepMgrID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getResourcesWithValueForProperty(java.lang.String property,
java.lang.String value)
Get values of the variable satisfing the KIF query: (property ?subject value). |
java.util.Vector |
getRootDomains()
Obtain a Vector of the names of the root domains (domains with no parent) |
java.util.Vector |
getRootDomains(javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getSchema(java.lang.String dataName)
Get XML schema of the given concept if such a schema is available |
java.util.Vector |
getSchema(java.lang.String dataName,
javax.swing.ProgressMonitor pm)
|
ServiceProperties |
getServiceProperties()
javax.agent.service.Service interface implementation - begin |
java.util.Vector |
getSpecifiedLogs(java.lang.String actionType,
java.lang.String actorID,
java.lang.String startTime,
java.lang.String endTime,
java.lang.Boolean latest,
java.lang.String historyMonitorID)
|
java.util.Vector |
getSpecifiedLogs(java.lang.String actionType,
java.lang.String actorID,
java.lang.String startTime,
java.lang.String endTime,
java.lang.Boolean latest,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getSubClassesOf(java.lang.String className)
Get set of subclasses of the given class. |
java.util.Set |
getSubClassesOf(java.lang.String className,
javax.swing.ProgressMonitor pm)
|
java.util.Vector |
getSubdomains(java.lang.String domainName)
Obtain a Vector of the names of subdomains of a particular domain (returns immediate children only) |
java.util.Vector |
getSubdomains(java.lang.String domainName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getSubPropertiesOf(java.lang.String propertyName)
Get set of subproperties of the given property. |
java.util.Set |
getSubPropertiesOf(java.lang.String propertyName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getSuperClassesOf(java.lang.String className)
Get set of superclasses of the given class. |
java.util.Set |
getSuperClassesOf(java.lang.String className,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getSuperPropertiesOf(java.lang.String propertyName)
Get set of superproperties of the given property. |
java.util.Set |
getSuperPropertiesOf(java.lang.String propertyName,
javax.swing.ProgressMonitor pm)
|
java.util.Set |
getUltimateOntologyTypesOfIndividual(java.lang.String individualName)
Finds the ultimate Ontology type of the provided individual |
java.util.Set |
getUltimateOntologyTypesOfIndividual(java.lang.String individualName,
javax.swing.ProgressMonitor pm)
|
java.lang.String |
getUniqueValueForProperty(java.lang.String property,
java.lang.String subject)
Get a single value of the variable satisfing the KIF query: (property subject ?val). |
java.util.Set |
getValuesForProperty(java.lang.String property,
java.lang.String subject)
Get values of the variable satisfing the KIF query: (property subject ?val). |
java.util.List |
harmonizePolicy(java.lang.String harmonizedPolicy,
java.lang.String harmonizingPolicy)
Method deconflicting the added policy with policies currently in the Policy Directory |
java.util.List |
harmonizePolicy(java.lang.String harmonizedPolicy,
java.lang.String harmonizingPolicy,
javax.swing.ProgressMonitor pm)
|
boolean |
isEntityInDomain(java.lang.String domainName,
java.lang.String id)
Search for the domain entity with the specified id. |
boolean |
isEntityInDomain(java.lang.String domainName,
java.lang.String id,
javax.swing.ProgressMonitor pm)
kaos.domain.management.DomainDirectoryService interface implementation - begin |
boolean |
isFullyOverlappedBySecondPolicy(java.lang.String firstPolicyId,
java.lang.String secondPolicyId)
Method finds out if the specified policy is fully overlapped by the second specified policy, the necessary condition is that the two policies have the same modality |
boolean |
isFullyOverlappedBySecondPolicy(java.lang.String firstPolicyId,
java.lang.String secondPolicyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isFullyOverlappedByUnionOfPolicies(java.lang.String firstPolicyId,
java.util.List listOfPolicies)
Method finds out if the specified policy is fully overlapped by the union of specified policies, the necessary condition is that the all policies have the same modality |
boolean |
isFullyOverlappedByUnionOfPolicies(java.lang.String firstPolicyId,
java.util.List listOfPolicies,
javax.swing.ProgressMonitor pm)
|
java.lang.Boolean |
isGuardLoggingActive(java.lang.String historyMonitorID)
|
java.lang.Boolean |
isGuardLoggingActive(java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
boolean |
isMadeFullyRedundantByPolicyUnion(java.lang.String firstPolicyId,
java.util.List listOfPolicies)
Method finds out if the specified policy is beign made redundant (fully coverd) by the union of specified policies with higher priority in the repository |
boolean |
isMadeFullyRedundantByPolicyUnion(java.lang.String firstPolicyId,
java.util.List listOfPolicies,
javax.swing.ProgressMonitor pm)
|
boolean |
isMadeFullyRedundantBySecond(java.lang.String firstPolicyId,
java.lang.String secondPolicyId)
Method finds out if the specified policy is beign made redundant (fully coverd) by the second specified policy with higher priority in the repository |
boolean |
isMadeFullyRedundantBySecond(java.lang.String firstPolicyId,
java.lang.String secondPolicyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isMadeParitallyRedundantBySecond(java.lang.String firstPolicyId,
java.lang.String secondPolicyId)
Method finds out if the specified policy is beign made partially redundant (partially coverd) by the second specified policy with higher priority in the repository |
boolean |
isMadeParitallyRedundantBySecond(java.lang.String firstPolicyId,
java.lang.String secondPolicyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isPartiallyOverlappedBySecondPolicy(java.lang.String firstPolicyId,
java.lang.String secondPolicyId)
Method finds out if the specified policy is partially overlapped by the second specified policy, the necessary condition is that the two policies have the same modality |
boolean |
isPartiallyOverlappedBySecondPolicy(java.lang.String firstPolicyId,
java.lang.String secondPolicyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isPolicyInConflict(java.lang.String policyId)
Method finds out if the specified policy is in conflict with some policies with the same priority in the repository |
boolean |
isPolicyInConflict(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isPolicyMakingRedundantSomeOtherPolicy(java.lang.String policyId)
Method finds out if the specified policy makes redundant (fully or partially) some policies with lower priority in the repository |
boolean |
isPolicyMakingRedundantSomeOtherPolicy(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
boolean |
isPolicyRedundant(java.lang.String policyId)
Method finds out if the specified policy is beign made redundant (fully or partially) by some policies with higher priority in the repository |
boolean |
isPolicyRedundant(java.lang.String policyId,
javax.swing.ProgressMonitor pm)
|
void |
loadOntology(SerializableOntModelImpl myDAMLModel,
boolean recursiveLoad)
Adds ontology included in the provide objects into the ontology repository. |
void |
loadOntology(SerializableOntModelImpl myDAMLModel,
boolean recursiveLoad,
javax.swing.ProgressMonitor pm)
|
void |
loadOntology(java.lang.String myURL,
boolean recursiveLoad)
Loads ontology from the provided url. |
void |
loadOntology(java.lang.String myURL,
boolean recursiveLoad,
javax.swing.ProgressMonitor pm)
|
void |
loadSchema(java.lang.String fileName)
to load schema definitions of data types from a file. |
void |
modify(AgentDescription desc)
|
void |
putConstructedOntologyStructures(java.util.List ontologyStructureList)
This method stores multiple ontology structures in the repositiry. |
void |
putConstructedOntologyStructures(java.util.List ontologyStructureList,
javax.swing.ProgressMonitor pm)
|
void |
putMultipleSchema(java.util.List schemaList)
to store multiple schemas in the repositiry. |
void |
putMultipleSchema(java.util.List schemaList,
javax.swing.ProgressMonitor pm)
|
void |
putSchema(java.lang.String dataName,
java.lang.String dataSchema)
to store the given schema definition under the name of that user defined data type |
void |
putSchema(java.lang.String dataName,
java.lang.String dataSchema,
javax.swing.ProgressMonitor pm)
|
void |
refreshAllPoliciesComplete(java.lang.String policyDBManagerID)
|
void |
refreshAllPoliciesComplete(java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
refreshAllPoliciesPartial(java.util.Vector properties,
java.lang.String policyDBManagerID)
|
void |
refreshAllPoliciesPartial(java.util.Vector properties,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
refreshPolicyComplete(java.lang.String policyID,
java.lang.String policyDBManagerID)
|
void |
refreshPolicyComplete(java.lang.String policyID,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
refreshPolicyPartial(java.lang.String policyID,
java.util.Vector properties,
java.lang.String policyDBManagerID)
|
void |
refreshPolicyPartial(java.lang.String policyID,
java.util.Vector properties,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs,
java.lang.String policyDBManagerID)
|
void |
refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs,
java.util.Vector properties,
java.lang.String policyDBManagerID)
|
void |
refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs,
java.util.Vector properties,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
register(AgentDescription desc)
|
void |
register(AgentDescription desc,
javax.swing.ProgressMonitor pm)
|
void |
removeAllPolicies(java.lang.String policyDBManagerID)
|
void |
removeAllPolicies(java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
removeExecEnv(java.lang.String execEnvID)
Remove ExecutionEnvironment with the specified ID from the domain structure. |
void |
removeExecEnv(java.lang.String execEnvID,
javax.swing.ProgressMonitor pm)
|
void |
removeFilteredNamespace(java.lang.String namespace)
This method remove a nemaspace from the set of urls depicting ontology namespaces concept of which are filtered out when returned by methods of this repository. |
void |
removeFilteredNamespace(java.lang.String namespace,
javax.swing.ProgressMonitor pm)
|
void |
removePolicies(java.util.List policies)
|
void |
removePolicies(java.util.List policies,
javax.swing.ProgressMonitor pm)
|
void |
removePolicy(Msg policy)
|
void |
removePolicy(Msg policy,
javax.swing.ProgressMonitor pm)
|
PolicyInformation |
removePolicyInformation(java.lang.String policyID,
java.lang.String policyDBManagerID)
|
PolicyInformation |
removePolicyInformation(java.lang.String policyID,
java.lang.String policyDBManagerID,
javax.swing.ProgressMonitor pm)
|
void |
removePolicySet(Msg policySet)
|
void |
removePolicySet(Msg policySet,
javax.swing.ProgressMonitor pm)
|
void |
removePolicySets(java.util.Vector policySets)
|
void |
removePolicySets(java.util.Vector policySets,
javax.swing.ProgressMonitor pm)
|
void |
removeSchema(java.lang.String dataName)
to remove the schema for the given data type from this repository. |
AgentDescription[] |
search(AgentDescription desc)
|
AgentDescription[] |
search(AgentDescription desc,
int maxResults,
javax.swing.ProgressMonitor pm)
|
javax.agent.service.directory.AgentDescription[] |
search(javax.agent.service.directory.AgentDescription agentDescription,
int param)
|
void |
setConditionalPolicies(java.util.Vector condPols)
|
void |
setConditionalPolicies(java.util.Vector condPols,
javax.swing.ProgressMonitor pm)
|
void |
setGuardLoggingState(java.lang.Boolean logging,
java.lang.String historyMonitorID)
kaos.policy.history.HistoryMonitorForwarder interface implementation - begin Important: please note that all forwarded methods have to call the invokeForwardingMethod, not invokeMethod! |
void |
setGuardLoggingState(java.lang.Boolean logging,
java.lang.String historyMonitorID,
javax.swing.ProgressMonitor pm)
|
void |
setServiceProperties(ServiceProperties props)
|
java.util.List |
splitPolicy(java.lang.String spliPolicy,
java.lang.String secondPolicy)
Method spliting the controlled action of the selected policy one part that overlaps with the second policy and the other part which does not. |
java.util.List |
splitPolicy(java.lang.String splitPolicy,
java.lang.String secondPolicy,
javax.swing.ProgressMonitor pm)
|
boolean |
testTrue(java.lang.String statement)
Test if the KIF statemant is true according to the ontologies in the ontology repository. |
boolean |
testTrue(java.lang.String statement,
javax.swing.ProgressMonitor pm)
|
void |
updatePolicies(java.util.List addedPolicies,
java.util.List changedPolicies,
java.util.List removedPolicies)
|
void |
updatePolicies(java.util.List addedPolicies,
java.util.List changedPolicies,
java.util.List removedPolicies,
javax.swing.ProgressMonitor pm)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Hashtable _userRegisteredList
Constructor Detail |
---|
public TunnelClient(java.lang.String url) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public ServiceProperties getServiceProperties() throws ServiceException, ServiceFailure
ServiceException
ServiceFailure
public void setServiceProperties(ServiceProperties props) throws ServiceException, ServiceFailure
ServiceException
ServiceFailure
public AgentDescription createAgentDescription()
public void deregister(AgentDescription desc) throws NotRegisteredException, DirectoryFailure
NotRegisteredException
DirectoryFailure
public void deregister(AgentDescription desc, javax.swing.ProgressMonitor pm) throws NotRegisteredException, DirectoryFailure
NotRegisteredException
DirectoryFailure
public void modify(AgentDescription desc) throws NotRegisteredException, DirectoryFailure
NotRegisteredException
DirectoryFailure
public void register(AgentDescription desc) throws AlreadyRegisteredException, DirectoryFailure
AlreadyRegisteredException
DirectoryFailure
public void register(AgentDescription desc, javax.swing.ProgressMonitor pm) throws AlreadyRegisteredException, DirectoryFailure
AlreadyRegisteredException
DirectoryFailure
public AgentDescription[] search(AgentDescription desc) throws SearchException, DirectoryFailure
SearchException
DirectoryFailure
public AgentDescription[] search(AgentDescription desc, int maxResults, javax.swing.ProgressMonitor pm) throws SearchException, DirectoryFailure
SearchException
DirectoryFailure
public boolean isEntityInDomain(java.lang.String domainName, java.lang.String id, javax.swing.ProgressMonitor pm)
public java.util.Vector getAllAgentsInDomain(java.lang.String domainName, javax.swing.ProgressMonitor pm)
public java.util.Map getDomainStructure(java.lang.String domainName) throws DirectoryFailure
DomainDirectoryService
getDomainStructure
in interface DomainDirectoryService
domainName
- name of the domain to map
DirectoryFailure
public java.util.Map getDomainStructure(java.lang.String domainName, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void removeExecEnv(java.lang.String execEnvID, javax.swing.ProgressMonitor pm)
public java.util.Vector getRootDomains() throws DirectoryFailure
DomainDirectoryService
getRootDomains
in interface DomainDirectoryService
DirectoryFailure
public java.util.Vector getRootDomains(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getAllAgentsInDirectory() throws DirectoryFailure
DomainDirectoryService
getAllAgentsInDirectory
in interface DomainDirectoryService
DirectoryFailure
public java.util.List getAllAgentsInDirectory(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getAllDomainsInDirectory() throws DirectoryFailure
DomainDirectoryService
getAllDomainsInDirectory
in interface DomainDirectoryService
DirectoryFailure
public java.util.Vector getAllDomainsInDirectory(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getSubdomains(java.lang.String domainName) throws DirectoryFailure
DomainDirectoryService
getSubdomains
in interface DomainDirectoryService
DirectoryFailure
public java.util.Vector getSubdomains(java.lang.String domainName, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public DomainDescription getDomainDescription(java.lang.String domainName) throws DirectoryFailure
DomainDirectoryService
getDomainDescription
in interface DomainDirectoryService
domainName
- the name of the domain
DirectoryFailure
public DomainDescription getDomainDescription(java.lang.String domainName, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Map getPoliciesByEntities() throws DirectoryFailure
PolicyDirectory
getPoliciesByEntities
in interface PolicyDirectory
DirectoryFailure
public java.util.Map getPoliciesByEntities(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getPoliciesForEntity(java.lang.String entityId) throws DirectoryFailure
PolicyDirectory
getPoliciesForEntity
in interface PolicyDirectory
entityId
- id of the entity
DirectoryFailure
public java.util.Vector getPoliciesForEntity(java.lang.String entityId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public Msg getPolicy(java.lang.String policyId) throws DirectoryFailure
getPolicy
in interface PolicyDirectory
DirectoryFailure
public Msg getPolicy(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getPolicies() throws DirectoryFailure
PolicyDirectory
getPolicies
in interface PolicyDirectory
DirectoryFailure
public java.util.List getPolicies(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void addPolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
addPolicy
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void addPolicy(Msg policy, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void addPolicies(java.util.Vector policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
PolicyDirectory
addPolicies
in interface PolicyDirectory
policies
- The Vector of policies to be added to the collection of all policies.
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void addPolicies(java.util.Vector policies, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void changePolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
changePolicy
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void changePolicy(Msg policy, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void changePolicies(java.util.Vector policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
changePolicies
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void changePolicies(java.util.Vector policies, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void removePolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
removePolicy
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void removePolicy(Msg policy, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void removePolicies(java.util.List policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
removePolicies
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void removePolicies(java.util.List policies, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void updatePolicies(java.util.List addedPolicies, java.util.List changedPolicies, java.util.List removedPolicies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
updatePolicies
in interface PolicyDirectory
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public void updatePolicies(java.util.List addedPolicies, java.util.List changedPolicies, java.util.List removedPolicies, javax.swing.ProgressMonitor pm) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
public java.util.Vector getConditionalPolicies() throws DirectoryFailure
getConditionalPolicies
in interface PolicyDirectory
DirectoryFailure
public java.util.Vector getConditionalPolicies(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void setConditionalPolicies(java.util.Vector condPols) throws DirectoryFailure
setConditionalPolicies
in interface PolicyDirectory
DirectoryFailure
public void setConditionalPolicies(java.util.Vector condPols, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void addPolicySet(Msg policySet) throws DirectoryFailure
addPolicySet
in interface PolicySetDirectory
DirectoryFailure
public void addPolicySet(Msg policySet, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void addPolicySets(java.util.Vector policySets) throws DirectoryFailure
PolicySetDirectory
addPolicySets
in interface PolicySetDirectory
policySets
- The Vector of policies set to be added to the collection of all policies.
DirectoryFailure
public void addPolicySets(java.util.Vector policySets, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void removePolicySet(Msg policySet) throws DirectoryFailure
removePolicySet
in interface PolicySetDirectory
DirectoryFailure
public void removePolicySet(Msg policySet, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void removePolicySets(java.util.Vector policySets) throws DirectoryFailure
removePolicySets
in interface PolicySetDirectory
DirectoryFailure
public void removePolicySets(java.util.Vector policySets, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void changePolicySet(Msg policySet) throws DirectoryFailure
changePolicySet
in interface PolicySetDirectory
DirectoryFailure
public void changePolicySet(Msg policySet, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void changePolicySets(java.util.Vector policySets) throws DirectoryFailure
changePolicySets
in interface PolicySetDirectory
DirectoryFailure
public void changePolicySets(java.util.Vector policySets, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getPolicySets() throws DirectoryFailure
PolicySetDirectory
getPolicySets
in interface PolicySetDirectory
DirectoryFailure
public java.util.List getPolicySets(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public PolicySetMsg getPolicySet(java.lang.String policySetId) throws DirectoryFailure
getPolicySet
in interface PolicySetDirectory
DirectoryFailure
public PolicySetMsg getPolicySet(java.lang.String policySetId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public boolean isPolicyInConflict(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
isPolicyInConflict
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public boolean isPolicyInConflict(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List findConflictingPolicies(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
findConflictingPolicies
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public java.util.List findConflictingPolicies(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public boolean isFullyOverlappedBySecondPolicy(java.lang.String firstPolicyId, java.lang.String secondPolicyId) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isFullyOverlappedBySecondPolicy
in interface PolicyAnalyzes
firstPolicyId
- id of the policysecondPolicyId
- id of the policy
DirectoryFailure
PriorityConditionNotMet
public boolean isFullyOverlappedBySecondPolicy(java.lang.String firstPolicyId, java.lang.String secondPolicyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public boolean isPartiallyOverlappedBySecondPolicy(java.lang.String firstPolicyId, java.lang.String secondPolicyId) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isPartiallyOverlappedBySecondPolicy
in interface PolicyAnalyzes
firstPolicyId
- id of the policysecondPolicyId
- id of the policy
DirectoryFailure
PriorityConditionNotMet
public boolean isPartiallyOverlappedBySecondPolicy(java.lang.String firstPolicyId, java.lang.String secondPolicyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public boolean isFullyOverlappedByUnionOfPolicies(java.lang.String firstPolicyId, java.util.List listOfPolicies) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isFullyOverlappedByUnionOfPolicies
in interface PolicyAnalyzes
firstPolicyId
- id of the policylistOfPolicies
- list of policies
DirectoryFailure
PriorityConditionNotMet
public boolean isFullyOverlappedByUnionOfPolicies(java.lang.String firstPolicyId, java.util.List listOfPolicies, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public boolean isPolicyRedundant(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
isPolicyRedundant
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public boolean isPolicyRedundant(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List findPoliciesMakingRedundant(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
findPoliciesMakingRedundant
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public java.util.List findPoliciesMakingRedundant(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public boolean isPolicyMakingRedundantSomeOtherPolicy(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
isPolicyMakingRedundantSomeOtherPolicy
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public boolean isPolicyMakingRedundantSomeOtherPolicy(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List findPoliciesMadeRedundant(java.lang.String policyId) throws DirectoryFailure
PolicyAnalyzes
findPoliciesMadeRedundant
in interface PolicyAnalyzes
policyId
- id of the policy
DirectoryFailure
public java.util.List findPoliciesMadeRedundant(java.lang.String policyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public boolean isMadeFullyRedundantBySecond(java.lang.String firstPolicyId, java.lang.String secondPolicyId) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isMadeFullyRedundantBySecond
in interface PolicyAnalyzes
firstPolicyId
- id of the policysecondPolicyId
- id of the policy
DirectoryFailure
PriorityConditionNotMet
public boolean isMadeFullyRedundantBySecond(java.lang.String firstPolicyId, java.lang.String secondPolicyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public boolean isMadeParitallyRedundantBySecond(java.lang.String firstPolicyId, java.lang.String secondPolicyId) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isMadeParitallyRedundantBySecond
in interface PolicyAnalyzes
firstPolicyId
- id of the policysecondPolicyId
- id of the policy
DirectoryFailure
PriorityConditionNotMet
public boolean isMadeParitallyRedundantBySecond(java.lang.String firstPolicyId, java.lang.String secondPolicyId, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public boolean isMadeFullyRedundantByPolicyUnion(java.lang.String firstPolicyId, java.util.List listOfPolicies) throws DirectoryFailure, PriorityConditionNotMet
PolicyAnalyzes
isMadeFullyRedundantByPolicyUnion
in interface PolicyAnalyzes
firstPolicyId
- id of the policylistOfPolicies
- list of policies
DirectoryFailure
PriorityConditionNotMet
public boolean isMadeFullyRedundantByPolicyUnion(java.lang.String firstPolicyId, java.util.List listOfPolicies, javax.swing.ProgressMonitor pm) throws DirectoryFailure, PriorityConditionNotMet
DirectoryFailure
PriorityConditionNotMet
public void changedPriority(java.lang.String policyId, int newPriority) throws DirectoryFailure
PolicyModification
changedPriority
in interface PolicyModification
policyId
- id of the policynewPriority
- new priority of the policy
DirectoryFailure
public void changedPriority(java.lang.String policyId, int newPriority, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List harmonizePolicy(java.lang.String harmonizedPolicy, java.lang.String harmonizingPolicy) throws DirectoryFailure
PolicyModification
harmonizePolicy
in interface PolicyModification
harmonizedPolicy
- id of the policy to be harmonized.harmonizingPolicy
- id of the policy harmonizing the first policy
DirectoryFailure
public java.util.List harmonizePolicy(java.lang.String harmonizedPolicy, java.lang.String harmonizingPolicy, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List splitPolicy(java.lang.String spliPolicy, java.lang.String secondPolicy) throws DirectoryFailure
PolicyModification
splitPolicy
in interface PolicyModification
spliPolicy
- id of the policy to be split.secondPolicy
- id of the policy splitting the first policy
DirectoryFailure
public java.util.List splitPolicy(java.lang.String splitPolicy, java.lang.String secondPolicy, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.lang.Integer getPolicyUpdateCount() throws ServiceFailure
PolicyDisclosure
getPolicyUpdateCount
in interface PolicyDisclosure
ServiceFailure
public java.lang.Integer getPolicyUpdateCount(javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public void checkPermission(java.security.Permission perm, java.lang.Object context) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
AuthorizationPolicyDisclosure
checkPermission
in interface AuthorizationPolicyDisclosure
perm
- Permission to be checked by the Guard in order to allow/disallow
an action.context
- An Object describing the context of the action.
KAoSSecurityException
- if the action is not allowed.
java.lang.NullPointerException
- if the Permission argument is null.
ServiceFailure
public void checkPermission(java.security.Permission perm, java.lang.Object context, javax.swing.ProgressMonitor pm) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
KAoSSecurityException
java.lang.NullPointerException
ServiceFailure
public java.util.List getPoliciesForActionType(java.lang.String actionType) throws ServiceFailure
AuthorizationPolicyDisclosure
getPoliciesForActionType
in interface AuthorizationPolicyDisclosure
actionType
- String specifying the action type for the requested policies.
ServiceFailure
public java.util.List getPoliciesForActionType(java.lang.String actionType, javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public java.util.Vector getAllowableValuesForActionProperties(java.util.Vector propertyNames, ActionInstanceDescription actionDesc, boolean tight) throws ServiceFailure
AuthorizationPolicyDisclosure
getAllowableValuesForActionProperties
in interface AuthorizationPolicyDisclosure
actionDesc
- ActionInstanceDescription object which will
be used to find applicable policies.tight
- boolean, if set to 'true', will result in returning
only these values for the missing specified property
which would satisfy some policy if used alone.
ServiceFailure
public java.util.Vector getAllowableValuesForActionProperties(java.util.Vector propertyNames, ActionInstanceDescription actionDesc, boolean tight, javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public java.util.Vector getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc) throws ServiceFailure
AuthorizationPolicyDisclosure
getAllowableValuesForActionProperties
in interface AuthorizationPolicyDisclosure
actionDesc
- ActionInstanceDescription object which will
be used to find applicable policies.
ServiceFailure
public java.util.Vector getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc, javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public java.util.Set getAllowableValuesForActionProperty(java.lang.String origPropertyName, ActionInstanceDescription origActionDesc, java.util.Set allTargetValues, boolean tight) throws ServiceFailure
AuthorizationPolicyDisclosure
getAllowableValuesForActionProperty
in interface AuthorizationPolicyDisclosure
allTargetValues
- Set of possible property values - now it is a fake argument,
which should really be calculated by the directory service
and passed to the entity disclosing the policy (PolicyDisclosure).tight
- boolean, if set to 'true', will result in returning
only these values for the missing specified property
which would satisfy some policy if used alone.
ServiceFailure
public java.util.Set getAllowableValuesForActionProperty(java.lang.String origPropertyName, ActionInstanceDescription origActionDesc, java.util.Set allTargetValues, boolean tight, javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public java.util.Vector getObligationsForTriggerCondition(ActionInstanceDescription triggerAID) throws ServiceFailure
ObligationPolicyDisclosure
getObligationsForTriggerCondition
in interface ObligationPolicyDisclosure
ServiceFailure
public java.util.Vector getObligationsForTriggerCondition(ActionInstanceDescription triggerAID, javax.swing.ProgressMonitor pm) throws ServiceFailure
ServiceFailure
public java.util.Set getIndividualActors(java.lang.String baseActorClass) throws DirectoryFailure, UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getIndividualActors
in interface KAoSOntologyQueryService
baseActorClass
- The name of the Actor class which the return elements have to be an instance of
If the name is empty uses Actor as a base class
UnknownConceptException
- if baseActorClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getIndividualActors(java.lang.String baseActorClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getClassesOfActors(java.lang.String baseActorClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getClassesOfActors
in interface KAoSOntologyQueryService
baseActorClass
- The name of the Actor class which the return classes have to be a subclass of
If the name is empty uses Actor as a base class
UnknownConceptException
- if baseActorClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesOfActors(java.lang.String baseActorClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getIndividualPlaces(java.lang.String basePlaceClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getIndividualPlaces
in interface KAoSOntologyQueryService
basePlaceClass
- The name of the Place class which the return elements have to be an instance of
If the name is empty uses Place as a base class
UnknownConceptException
- if basePlaceClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getIndividualPlaces(java.lang.String basePlaceClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getClassesOfPlaces(java.lang.String basePlaceClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getClassesOfPlaces
in interface KAoSOntologyQueryService
basePlaceClass
- The name of the Place class which the return classes have to be a subclass of
If the name is empty uses Place as a base class
UnknownConceptException
- if basePlaceClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesOfPlaces(java.lang.String basePlaceClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getIndividualGroups(java.lang.String baseGroupClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getIndividualGroups
in interface KAoSOntologyQueryService
baseGroupClass
- The name of the Group class which the return elements have to be an instance of
If the name is empty uses Group as a base class
UnknownConceptException
- if baseGroupClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getIndividualGroups(java.lang.String baseGroupClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getClassesOfGroups(java.lang.String baseGroupClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getClassesOfGroups
in interface KAoSOntologyQueryService
baseGroupClass
- The name of the Group class which the return elements have to be an instance of
If the name is empty uses Group as a base class
UnknownConceptException
- if baseGroupClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesOfGroups(java.lang.String baseGroupClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getIndividualTargets(java.lang.String baseTargetClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getIndividualTargets
in interface KAoSOntologyQueryService
baseTargetClass
- The name of the targets (Actor
or Entity) class which the return classes have to be a subclass of
UnknownConceptException
- if baseTargetClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getIndividualTargets(java.lang.String baseTargetClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getClassesOfTargets(java.lang.String baseTargetClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getClassesOfTargets
in interface KAoSOntologyQueryService
baseTargetClass
- The name of the targets (Actor
or Entity) class which the return classes have to be a subclass of
UnknownConceptException
- if baseTargetClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesOfTargets(java.lang.String baseTargetClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Vector getPropertiesApplicableTo(java.lang.String className) throws QueryFailure, UnknownConceptException, DirectoryFailure
OntologyRepositoryService
getPropertiesApplicableTo
in interface OntologyRepositoryService
getPropertiesApplicableTo
in interface OntologyInterfaces
className
- the name of the class
UnknownConceptException
- if className is unknow for the ontology repository
QueryFailure
DirectoryFailure
public java.util.Vector getPropertiesApplicableTo(java.lang.String className, javax.swing.ProgressMonitor pm) throws QueryFailure, UnknownConceptException, DirectoryFailure
QueryFailure
UnknownConceptException
DirectoryFailure
public java.lang.String getRangeOnPropertyForClass(java.lang.String className, java.lang.String propertyName) throws UnknownConceptException, QueryFailure, DirectoryFailure
OntologyRepositoryService
getRangeOnPropertyForClass
in interface OntologyRepositoryService
getRangeOnPropertyForClass
in interface OntologyInterfaces
className
- the name of the classpropertyName
- the name of the property
UnknownConceptException
- if reasoning failed.
QueryFailure
DirectoryFailure
public java.lang.String getRangeOnPropertyForClass(java.lang.String className, java.lang.String propertyName, javax.swing.ProgressMonitor pm) throws UnknownConceptException, QueryFailure, DirectoryFailure
UnknownConceptException
QueryFailure
DirectoryFailure
public void declareInstance(java.lang.String instanceName, java.lang.String className) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getActions(java.lang.String forActor) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getActions
in interface KAoSOntologyQueryService
forActor
- The name of the Actor class or instance
UnknownConceptException
- if forActor is unknow for the ontology repository
DirectoryFailure
public java.util.Set getActions(java.lang.String forActor, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getClassesOfActorsCapableOfPerformingActions(java.lang.String actionClass) throws UnknownConceptException, DirectoryFailure
KAoSOntologyQueryService
getClassesOfActorsCapableOfPerformingActions
in interface KAoSOntologyQueryService
actionClass
- The name of the Action class
UnknownConceptException
- if actionClass is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesOfActorsCapableOfPerformingActions(java.lang.String actionClass, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getListOfLoadedOntologies() throws DirectoryFailure
OntologyRepositoryService
getListOfLoadedOntologies
in interface OntologyRepositoryService
DirectoryFailure
public java.util.Set getListOfLoadedOntologies(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Set getAllNamespaces() throws DirectoryFailure
OntologyRepositoryService
getAllNamespaces
in interface OntologyRepositoryService
DirectoryFailure
public java.util.Set getAllNamespaces(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Set getFilteredNamespaces() throws DirectoryFailure
OntologyRepositoryService
getFilteredNamespaces
in interface OntologyRepositoryService
DirectoryFailure
public java.util.Set getFilteredNamespaces(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void addFilteredNamespace(java.lang.String namespace) throws DirectoryFailure
OntologyRepositoryService
addFilteredNamespace
in interface OntologyRepositoryService
namespace
- The name of the namespace
DirectoryFailure
public void addFilteredNamespace(java.lang.String namespace, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void removeFilteredNamespace(java.lang.String namespace) throws DirectoryFailure
OntologyRepositoryService
removeFilteredNamespace
in interface OntologyRepositoryService
namespace
- The name of the namespace
DirectoryFailure
public void removeFilteredNamespace(java.lang.String namespace, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getConstructedOntologyStructures() throws DirectoryFailure
OntologyRepositoryService
getConstructedOntologyStructures
in interface OntologyRepositoryService
DirectoryFailure
public java.util.List getConstructedOntologyStructures(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void putConstructedOntologyStructures(java.util.List ontologyStructureList) throws ReasoningException, java.io.IOException, DirectoryFailure
OntologyRepositoryService
putConstructedOntologyStructures
in interface OntologyRepositoryService
ontologyStructureList
- a list containing SerializableOntModelImpl objects.
ReasoningException
java.io.IOException
DirectoryFailure
public void putConstructedOntologyStructures(java.util.List ontologyStructureList, javax.swing.ProgressMonitor pm) throws ReasoningException, java.io.IOException, DirectoryFailure
ReasoningException
java.io.IOException
DirectoryFailure
public void loadOntology(java.lang.String myURL, boolean recursiveLoad) throws ReasoningException, java.io.IOException, DirectoryFailure
OntologyRepositoryService
loadOntology
in interface OntologyRepositoryService
myURL
- The url to the ontologyrecursiveLoad
- Indicates if the imported ontologies (by the ontology depicted by myURL) should also be recursively loaded.
ReasoningException
java.io.IOException
DirectoryFailure
public void loadOntology(java.lang.String myURL, boolean recursiveLoad, javax.swing.ProgressMonitor pm) throws ReasoningException, java.io.IOException, DirectoryFailure
ReasoningException
java.io.IOException
DirectoryFailure
public void loadOntology(SerializableOntModelImpl myDAMLModel, boolean recursiveLoad) throws ReasoningException, java.io.IOException, DirectoryFailure
OntologyRepositoryService
loadOntology
in interface OntologyRepositoryService
myDAMLModel
- The object of type com.hp.hpl.jena.daml.DAMLModel (actually SerializableOntModelImpl) containing the added ontologyrecursiveLoad
- Indicates if the imported ontologies (by the ontology contained in myDAMLModel) should also be recursively loaded.
ReasoningException
java.io.IOException
DirectoryFailure
public void loadOntology(SerializableOntModelImpl myDAMLModel, boolean recursiveLoad, javax.swing.ProgressMonitor pm) throws ReasoningException, java.io.IOException, DirectoryFailure
ReasoningException
java.io.IOException
DirectoryFailure
public java.util.Set getInstancesOf(java.lang.String conceptName) throws UnknownConceptException, DirectoryFailure
OntologyRepositoryService
getInstancesOf
in interface OntologyRepositoryService
getInstancesOf
in interface OntologyInterfaces
conceptName
- The name of the concept in the Jena format
UnknownConceptException
- if conceptName is unknow for the ontology repository
DirectoryFailure
public java.util.Set getInstancesOf(java.lang.String conceptName, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getUltimateOntologyTypesOfIndividual(java.lang.String individualName) throws DirectoryFailure, UnknownConceptException
OntologyRepositoryService
getUltimateOntologyTypesOfIndividual
in interface OntologyRepositoryService
individualName
- the name of the individual
UnknownConceptException
- if concept unknow or any problem with JTP approached
DirectoryFailure
public java.util.Set getUltimateOntologyTypesOfIndividual(java.lang.String individualName, javax.swing.ProgressMonitor pm) throws DirectoryFailure, UnknownConceptException
DirectoryFailure
UnknownConceptException
public java.util.Set getSuperClassesOf(java.lang.String className) throws UnknownConceptException, DirectoryFailure
OntologyRepositoryService
getSuperClassesOf
in interface OntologyRepositoryService
className
- The name of the class in the Jena format
UnknownConceptException
- if className is unknow for the ontology repository
DirectoryFailure
public java.util.Set getSuperClassesOf(java.lang.String className, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getSubClassesOf(java.lang.String className) throws UnknownConceptException, DirectoryFailure
OntologyRepositoryService
getSubClassesOf
in interface OntologyRepositoryService
getSubClassesOf
in interface OntologyInterfaces
className
- The name of the class in Jena format
UnknownConceptException
- if className is unknow for the ontology repository
DirectoryFailure
public java.util.Set getSubClassesOf(java.lang.String className, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getSuperPropertiesOf(java.lang.String propertyName) throws UnknownConceptException, DirectoryFailure
OntologyRepositoryService
getSuperPropertiesOf
in interface OntologyRepositoryService
getSuperPropertiesOf
in interface OntologyInterfaces
propertyName
- The name of the property in Jena format
UnknownConceptException
DirectoryFailure
public java.util.Set getSuperPropertiesOf(java.lang.String propertyName, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public java.util.Set getSubPropertiesOf(java.lang.String propertyName) throws UnknownConceptException, DirectoryFailure
OntologyInterfaces
getSubPropertiesOf
in interface OntologyInterfaces
propertyName
- The name of the property in Jena format
UnknownConceptException
DirectoryFailure
public java.util.Set getSubPropertiesOf(java.lang.String propertyName, javax.swing.ProgressMonitor pm) throws UnknownConceptException, DirectoryFailure
UnknownConceptException
DirectoryFailure
public boolean testTrue(java.lang.String statement) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
testTrue
in interface OntologyRepositoryService
testTrue
in interface OntologyInterfaces
statement
- the object of type com.hp.hpl.jena.daml.DAMLModel containing the added ontology
QueryFailure
- if reasoning failed.
DirectoryFailure
public boolean testTrue(java.lang.String statement, javax.swing.ProgressMonitor pm) throws QueryFailure, DirectoryFailure
QueryFailure
DirectoryFailure
public java.util.Set askQuery(java.lang.String variableName, java.lang.String multiplyVariablesQuery) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
askQuery
in interface OntologyRepositoryService
variableName
- the neame ofthe selected variablemultiplyVariablesQuery
- the query
QueryFailure
- if reasoning failed.
DirectoryFailure
public java.util.Set askQuery(java.lang.String variableName, java.lang.String multiplyVariablesQuery, javax.swing.ProgressMonitor pm) throws QueryFailure, DirectoryFailure
QueryFailure
DirectoryFailure
public boolean areClassesDisjoint(java.lang.String firstClass, java.lang.String secondClass) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
areClassesDisjoint
in interface OntologyRepositoryService
firstClass
- the name of the first classsecondClass
- the name of the second class
QueryFailure
- if reasoning failed.
DirectoryFailure
public boolean areClassesDisjoint(java.lang.String firstClass, java.lang.String secondClass, javax.swing.ProgressMonitor pm) throws QueryFailure, DirectoryFailure
QueryFailure
DirectoryFailure
public java.util.Set getClassesDefInNamespace(java.lang.String namespaceName) throws UnknownNamespaceException, DirectoryFailure
OntologyRepositoryService
getClassesDefInNamespace
in interface OntologyRepositoryService
namespaceName
- The name of the namespace in the Jena format
UnknownNamespaceException
- if namespaceName is unknow for the ontology repository
DirectoryFailure
public java.util.Set getClassesDefInNamespace(java.lang.String namespaceName, javax.swing.ProgressMonitor pm) throws UnknownNamespaceException, DirectoryFailure
UnknownNamespaceException
DirectoryFailure
public java.util.Set getPropertiesDefInNamespace(java.lang.String namespaceName) throws UnknownNamespaceException, DirectoryFailure
OntologyRepositoryService
getPropertiesDefInNamespace
in interface OntologyRepositoryService
namespaceName
- The name of the namespace in the Jena format
UnknownNamespaceException
- if namespaceName is unknow for the ontology repository
DirectoryFailure
public java.util.Set getPropertiesDefInNamespace(java.lang.String namespaceName, javax.swing.ProgressMonitor pm) throws UnknownNamespaceException, DirectoryFailure
UnknownNamespaceException
DirectoryFailure
public java.util.Set getInstancesDefInNamespace(java.lang.String namespaceName) throws UnknownNamespaceException, DirectoryFailure
OntologyRepositoryService
getInstancesDefInNamespace
in interface OntologyRepositoryService
namespaceName
- The name of the namespace in the Jena format
UnknownNamespaceException
- if namespaceName is unknow for the ontology repository
DirectoryFailure
public java.util.Set getInstancesDefInNamespace(java.lang.String namespaceName, javax.swing.ProgressMonitor pm) throws UnknownNamespaceException, DirectoryFailure
UnknownNamespaceException
DirectoryFailure
public java.util.Set getNamspacesImportedByNamespace(java.lang.String namespaceName) throws UnknownNamespaceException, DirectoryFailure
OntologyRepositoryService
getNamspacesImportedByNamespace
in interface OntologyRepositoryService
namespaceName
- The name of the namespace in the Jena format
UnknownNamespaceException
- if namespaceName is unknow for the ontology repository
DirectoryFailure
public java.util.Set getNamspacesImportedByNamespace(java.lang.String namespaceName, javax.swing.ProgressMonitor pm) throws UnknownNamespaceException, DirectoryFailure
UnknownNamespaceException
DirectoryFailure
public java.util.Set getOntologyDefinitionForConcept(java.lang.String conceptName) throws DirectoryFailure
OntologyInterfaces
getOntologyDefinitionForConcept
in interface OntologyInterfaces
conceptName
- The name of the namespace in the Jena format
DirectoryFailure
public java.util.Set getOntologyDefinitionForConcept(java.lang.String conceptName, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void putSchema(java.lang.String dataName, java.lang.String dataSchema) throws DirectoryFailure
XMLRepository
putSchema
in interface XMLRepository
dataName
- the name of the defined data type
DirectoryFailure
public void putSchema(java.lang.String dataName, java.lang.String dataSchema, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getSchema(java.lang.String dataName) throws DirectoryFailure
OntologyInterfaces
getSchema
in interface OntologyInterfaces
getSchema
in interface XMLRepository
dataName
- The name of the concept in the Jena format
DirectoryFailure
public java.util.Vector getSchema(java.lang.String dataName, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void putMultipleSchema(java.util.List schemaList) throws DirectoryFailure
XMLRepository
putMultipleSchema
in interface XMLRepository
schemaList
- a list containing XMLSchemaContainer objects.
DirectoryFailure
public void putMultipleSchema(java.util.List schemaList, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getAllSchema() throws DirectoryFailure
XMLRepository
getAllSchema
in interface XMLRepository
DirectoryFailure
public java.util.List getAllSchema(javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.List getAllGuardsInDirectory() throws DirectoryFailure
DomainDirectoryService
getAllGuardsInDirectory
in interface DomainDirectoryService
DirectoryFailure
public java.util.Vector findPolicyDecision(java.security.Permission perm, java.lang.Object context, javax.swing.ProgressMonitor pm) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
KAoSSecurityException
java.lang.NullPointerException
ServiceFailure
public void checkDeepPermission(java.security.Permission perm, java.lang.Object context, javax.swing.ProgressMonitor pm) throws java.lang.NullPointerException, ServiceFailure, KAoSSecurityException
java.lang.NullPointerException
ServiceFailure
KAoSSecurityException
public java.lang.String analyzeWorkflow(java.lang.String owlsWorkflow, javax.swing.ProgressMonitor pm) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
owlsWorkflow
- - the OWL-S workflow to analyze/modify (xml text)
KAoSSecurityException
java.lang.NullPointerException
ServiceFailure
public java.lang.String analyzeWorkflow(java.net.URL owlsWorkflow, javax.swing.ProgressMonitor pm) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
owlsWorkflow
- - URL to the OWL-S workflow to analyze/modify
KAoSSecurityException
java.lang.NullPointerException
ServiceFailure
public void addLogin(java.lang.String userid, java.lang.String password) throws NotRegisteredException, DirectoryFailure
NotRegisteredException
DirectoryFailure
public java.util.Vector getAllAgentsInDomain(java.lang.String domainName) throws DirectoryFailure
DomainDirectoryService
getAllAgentsInDomain
in interface DomainDirectoryService
domainName
- Name of the domain to query
DirectoryFailure
public java.util.Vector getApplicablePoliciesForEntity(java.lang.String entityId) throws DirectoryFailure
PolicyDirectory
getApplicablePoliciesForEntity
in interface PolicyDirectory
entityId
- id of the entity
DirectoryFailure
public java.util.List getDomainDescriptionsForGuard(java.lang.String guardGUID) throws DirectoryFailure
DomainDirectoryService
getDomainDescriptionsForGuard
in interface DomainDirectoryService
guardGUID
- GUID of the guard registered in all domains, whose
descriptions are requested
DirectoryFailure
public java.util.Set getResourcesWithValueForProperty(java.lang.String property, java.lang.String value) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
getResourcesWithValueForProperty
in interface OntologyRepositoryService
property
- the name of the property in the Jena formatvalue
- the value as a string in th Jena format
QueryFailure
- if reasoning failed.
DirectoryFailure
public java.lang.String getUniqueValueForProperty(java.lang.String property, java.lang.String subject) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
getUniqueValueForProperty
in interface OntologyRepositoryService
property
- the name of the property in the Jena formatsubject
- the name of the subject in the Jena format
QueryFailure
- if reasoning failed.
DirectoryFailure
public java.util.Set getValuesForProperty(java.lang.String property, java.lang.String subject) throws QueryFailure, DirectoryFailure
OntologyRepositoryService
getValuesForProperty
in interface OntologyRepositoryService
property
- the name of the property in the Jena formatsubject
- the name of the subject in the Jena format
QueryFailure
- if reasoning failed.
DirectoryFailure
public boolean isEntityInDomain(java.lang.String domainName, java.lang.String id) throws DirectoryFailure
DomainDirectoryService
isEntityInDomain
in interface DomainDirectoryService
domainName
- The name of the domain to queryid
- The id of an entity to be searched in this domain's directory.
DirectoryFailure
public void removeExecEnv(java.lang.String execEnvID) throws DirectoryFailure
DomainDirectoryService
removeExecEnv
in interface DomainDirectoryService
DirectoryFailure
public javax.agent.service.directory.AgentDescription[] search(javax.agent.service.directory.AgentDescription agentDescription, int param) throws javax.agent.service.directory.SearchException, javax.agent.service.directory.DirectoryFailure
javax.agent.service.directory.SearchException
javax.agent.service.directory.DirectoryFailure
public void loadSchema(java.lang.String fileName) throws DirectoryFailure
XMLRepository
loadSchema
in interface XMLRepository
fileName
- the name of the file or the url
that stores schema definitions
DirectoryFailure
public void removeSchema(java.lang.String dataName) throws DirectoryFailure
XMLRepository
removeSchema
in interface XMLRepository
dataName
- the name of the data type to be
removed.
DirectoryFailure
public java.util.Vector getAllPolicies(java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getAllPolicies(java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public PolicyInformation getPolicyInformation(java.lang.String policyID, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public PolicyInformation getPolicyInformation(java.lang.String policyID, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector findPolicyDecision(java.security.Permission perm, java.lang.Object context) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
PolicyDisclosure
findPolicyDecision
in interface PolicyDisclosure
perm
- Permission to be checked by the Guard in order to allow/disallow
an action; or the trigger to be checked for obligation policies.context
- An Object describing the context of the action.
KAoSSecurityException
- if the action is not allowed.
java.lang.NullPointerException
- if the Permission argument is null.
ServiceFailure
public void checkDeepPermission(java.security.Permission perm, java.lang.Object context) throws java.lang.NullPointerException, ServiceFailure, KAoSSecurityException
PolicyDisclosure
checkDeepPermission
in interface PolicyDisclosure
perm
- Permission to be checked by the Guard in order to allow/disallow
an action.context
- An Object describing the context of the action.
java.lang.NullPointerException
- if the Permission argument is null.
KAoSSecurityException
- containing the ids of
forbidding policies, if any.
ServiceFailure
public PolicyInformation removePolicyInformation(java.lang.String policyID, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public PolicyInformation removePolicyInformation(java.lang.String policyID, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void removeAllPolicies(java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void removeAllPolicies(java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshPolicyComplete(java.lang.String policyID, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshPolicyComplete(java.lang.String policyID, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshPolicyPartial(java.lang.String policyID, java.util.Vector properties, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshPolicyPartial(java.lang.String policyID, java.util.Vector properties, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshAllPoliciesComplete(java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshAllPoliciesComplete(java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshAllPoliciesPartial(java.util.Vector properties, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshAllPoliciesPartial(java.util.Vector properties, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs, java.util.Vector properties, java.lang.String policyDBManagerID) throws DirectoryFailure
DirectoryFailure
public void refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs, java.util.Vector properties, java.lang.String policyDBManagerID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void setGuardLoggingState(java.lang.Boolean logging, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public void setGuardLoggingState(java.lang.Boolean logging, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.lang.Boolean isGuardLoggingActive(java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.lang.Boolean isGuardLoggingActive(java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getAllLogs(java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getAllLogs(java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public void deleteAllLogs(java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public void deleteAllLogs(java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getLogsforActionType(java.lang.String actionType, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getLogsforActionType(java.lang.String actionType, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteLogsforActionType(java.lang.String actionType, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteLogsforActionType(java.lang.String actionType, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getLogsforActor(java.lang.String actorID, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getLogsforActor(java.lang.String actorID, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteLogsforActor(java.lang.String actorID, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteLogsforActor(java.lang.String actorID, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getSpecifiedLogs(java.lang.String actionType, java.lang.String actorID, java.lang.String startTime, java.lang.String endTime, java.lang.Boolean latest, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector getSpecifiedLogs(java.lang.String actionType, java.lang.String actorID, java.lang.String startTime, java.lang.String endTime, java.lang.Boolean latest, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteSpecifiedLogs(java.lang.String actionType, java.lang.String actorID, java.lang.String startTime, java.lang.String endTime, java.lang.Boolean latest, java.lang.String historyMonitorID) throws DirectoryFailure
DirectoryFailure
public java.util.Vector deleteSpecifiedLogs(java.lang.String actionType, java.lang.String actorID, java.lang.String startTime, java.lang.String endTime, java.lang.Boolean latest, java.lang.String historyMonitorID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
public java.util.Hashtable getRepositoryTableInformation(java.lang.String repType, java.lang.String guardRepMgrID) throws java.lang.Exception
java.lang.Exception
public java.util.Hashtable getRepositoryTableInformation(java.lang.String repType, java.lang.String guardRepMgrID, javax.swing.ProgressMonitor pm) throws java.lang.Exception
java.lang.Exception
public java.util.Vector changeComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.Boolean state, java.lang.String guardRepMgrID) throws java.lang.Exception
java.lang.Exception
public java.util.Vector changeComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.Boolean state, java.lang.String guardRepMgrID, javax.swing.ProgressMonitor pm) throws java.lang.Exception
java.lang.Exception
public java.lang.Boolean getComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.String guardRepMgrID) throws java.lang.Exception
java.lang.Exception
public java.lang.Boolean getComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.String guardRepMgrID, javax.swing.ProgressMonitor pm) throws java.lang.Exception
java.lang.Exception
public GuardState getGuardStateFor(java.lang.String guardID) throws DirectoryFailure
DirectoryFailure
public GuardState getGuardStateFor(java.lang.String guardID, javax.swing.ProgressMonitor pm) throws DirectoryFailure
DirectoryFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |