|
Project Aristotle - ArisID Attribute Services | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openliberty.arisid.CarmlDoc
public class CarmlDoc
A Java representation of a CARML declaration. Use this object to gain access to application schema definitions (DataDefs) and defined Interactions. This object contains all interactions for the current application. A CarmlDoc may reference other CarmlDoc objects in the case where external data definitions are referenced. All schema will be treated as if it were part of the local Carml declaration. However to test if a particular data object is externally defined, use the isXXXXExternal() methods. This class is normally automatically instantiated by the ArisIdService or by another CarmlDoc object in the case of externally referenced declarations.
Field Summary | |
---|---|
static java.lang.String |
APPNAME_ATTR
|
static java.lang.String[] |
CARML_SCHEMA
|
static java.lang.String |
CARML_SCHEMA_PROP
|
static java.lang.String |
DEFAULT_DOMERRORHANDLER
|
static java.lang.String |
DEFAULT_DOMIMPLEMENTATIONSOURCE
This default DOMImplementationSource is used if DomImplementationSourceList is not set in Java system property org.w3c.dom.DOMImplementationSourceList |
static java.lang.String |
DESCR_ATTR
|
static java.lang.String |
IRDATA_ELEMENT
|
static java.lang.String |
namespace
|
static java.lang.String |
PROPERTY_DOM_ERROR_HANDLER
|
static java.lang.String |
URI_ATTR
|
static java.lang.String |
XML_SCHEMA
|
Method Summary | |
---|---|
org.w3c.dom.Document |
copyToDocument(java.lang.String appName,
java.lang.String description)
Creates a new copy Document object with the specified new name and
description. |
void |
copyToFile(java.lang.String filename,
java.lang.String appName,
java.lang.String description)
Create a copy of the CARML declaration to a new file |
IAddInteraction |
createAddInteraction(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Deprecated. Use createAddInteraction(String, String, Collection, Collection, IPolicy) instead |
IAddInteraction |
createAddInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Method to define an interaction for the purpose of performing adds. |
IAddInteraction |
createAddInteractionByRef(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Deprecated. Use createAddInteractionByRef(String,String,String,Collection,Collection,IPolicy) instead |
IAddInteraction |
createAddInteractionByRef(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Method to define an interaction for the purpose of performing adds. |
IDeleteInteraction |
createDeleteInteraction(java.lang.String name,
java.lang.String description,
IPolicy txnPolicy)
Deprecated. Use createDeleteInteraction(String,String,String,IPolicy) instead |
IDeleteInteraction |
createDeleteInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
IPolicy txnPolicy)
Create an interaction for the purpose of performing deletions of subjects. |
IFindInteraction |
createFindInteraction(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predicateDefs,
java.util.Collection<RoleDef> roleDefs,
Filter filter,
IPolicy txnPolicy)
Deprecated. Use createFindInteraction(String,String,String,Collection,Collection,Collection,Filter,IPolicy) instead |
IFindInteraction |
createFindInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predicateDefs,
java.util.Collection<RoleDef> roleDefs,
Filter filter,
IPolicy txnPolicy)
Method to define an interaction for the purpose of performing locating a single subject based on a filter. |
IModifyInteraction |
createModifyInteraction(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Deprecated. Use createModifyInteractionByRef(String, String, Collection, Collection, IPolicy) instead |
IModifyInteraction |
createModifyInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Creates a modify interaction for the purpose of modifying subjects. |
IModifyInteraction |
createModifyInteractionByRef(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Deprecated. Use createModifyInteractionByRef(String,String,String,Collection,Collection,IPolicy) instead |
IModifyInteraction |
createModifyInteractionByRef(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Creates a modify interaction for the purpose of modifying subjects. |
IReadInteraction |
createReadInteraction(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Deprecated. Use createReadInteraction(String,String,String,Collection,Collection,Collection,IPolicy) instead |
IReadInteraction |
createReadInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy)
Method to define an interaction for the purpose of performing reads. |
IReadInteraction |
createReadInteractionByRef(java.lang.String name,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<PredicateRef> predicateRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Deprecated. Use createReadInteractionByRef(String,String,String,Collection,Collection,Collection,IPolicy) instead |
IReadInteraction |
createReadInteractionByRef(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<PredicateRef> predicateRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy)
Method to define an interaction for the purpose of performing reads. |
ISearchInteraction |
createSearchInteraction(java.lang.String name,
java.lang.String description,
Filter filter,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy,
int maxSubjects,
int pageSize)
Deprecated. Use createSearchInteraction(String,String,String,Filter,Collection,Collection,Collection,IPolicy,int,int) instead |
ISearchInteraction |
createSearchInteraction(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
Filter filter,
java.util.Collection<AttributeDef> attrDefs,
java.util.Collection<PredicateDef> predDefs,
java.util.Collection<RoleDef> roleDefs,
IPolicy txnPolicy,
int maxSubjects,
int pageSize)
Creates an Interaction declaration used for the purpose of searching attribute authorities for one or more subjects that match a certain criteria. |
ISearchInteraction |
createSearchInteractionByRef(java.lang.String name,
java.lang.String description,
Filter filter,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<PredicateRef> predRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy,
int maxSubjects,
int pageSize)
Deprecated. Use createSearchInteractionByRef(String, String, Filter, Collection, Collection, Collection, IPolicy, int, int) instead |
ISearchInteraction |
createSearchInteractionByRef(java.lang.String name,
java.lang.String entityName,
java.lang.String description,
Filter filter,
java.util.Collection<AttributeRef> attrRefs,
java.util.Collection<PredicateRef> predRefs,
java.util.Collection<RoleRef> roleRefs,
IPolicy txnPolicy,
int maxSubjects,
int pageSize)
Creates an Interaction declaration used for the purpose of searching attribute authorities for one or more subjects that match a certain criteria. |
java.lang.String |
getApplicationNameId()
Returns a unique application name for the application. |
java.net.URI |
getAppURI()
Deprecated. Use getCarmlURI() instead |
ArisIdService |
getAttributeService()
|
java.net.URI |
getCarmlURI()
A unique Carml URI identifier for the application. |
java.lang.String |
getDescription()
|
java.util.Collection<java.lang.String> |
getEntityNames()
|
IInteraction |
getInteraction(java.lang.String name)
|
java.util.Collection<IInteraction> |
getInteractions()
Returns all defined Interactions |
java.util.Collection<IInteraction> |
getInteractionsByEntity(java.lang.String entityName)
Returns Interactions associated with a particular EntityName or null; |
SchemaManager |
getSchemaManager()
|
void |
setApplicationNameId(java.lang.String name)
Sets the Application Name Identifier. |
void |
setAppURI(java.net.URI appUri)
Deprecated. Use setCarmlURI(URI) instead |
void |
setCarmlURI(java.net.URI carmlUri)
Sets the unique URI for the CARML document. |
void |
setDescription(java.lang.String description)
Sets the description for the CARML declaration document. |
org.w3c.dom.Document |
toCarmlDocument()
|
java.lang.String |
toCarmlString()
|
void |
toFile(java.lang.String filename)
Writes the current CARML declaration to a file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String namespace
public static final java.lang.String[] CARML_SCHEMA
public static final java.lang.String CARML_SCHEMA_PROP
public static final java.lang.String XML_SCHEMA
public static final java.lang.String DEFAULT_DOMIMPLEMENTATIONSOURCE
public static final java.lang.String DEFAULT_DOMERRORHANDLER
public static final java.lang.String PROPERTY_DOM_ERROR_HANDLER
public static final java.lang.String IRDATA_ELEMENT
public static final java.lang.String APPNAME_ATTR
public static final java.lang.String DESCR_ATTR
public static final java.lang.String URI_ATTR
Method Detail |
---|
public java.lang.String getApplicationNameId()
public void setApplicationNameId(java.lang.String name) throws InitializedException
name
- Set the application name identifier to String value.
InitializedException
- thrown if attribute service is initialized.public java.lang.String getDescription()
public void setDescription(java.lang.String description) throws InitializedException
description
- Set the description value of the CARML declaration.
InitializedException
- thrown if attribute service is initialized.public java.net.URI getAppURI()
getCarmlURI()
instead
public java.net.URI getCarmlURI()
public void setAppURI(java.net.URI appUri) throws InitializedException
setCarmlURI(URI)
instead
appUri
- A URI for the document. May be the location of the document or
just a unique identifier in the case of an application
deployed in multiple sites.
InitializedException
- thrown if attribute service is initialized.public void setCarmlURI(java.net.URI carmlUri) throws InitializedException
carmlUri
- A URI for the document. May be the location of the document or
just a unique identifier in the case of an application
deployed in multiple sites.
InitializedException
- thrown if attribute service is initialized.public IInteraction getInteraction(java.lang.String name)
name
- Name of the interaction object to retrieve.
IInteraction
object that provides access to an
Interaction definition and the operation itself.public ArisIdService getAttributeService()
public SchemaManager getSchemaManager()
public java.lang.String toCarmlString() throws IGFException
IGFException
public org.w3c.dom.Document toCarmlDocument()
Document
.public org.w3c.dom.Document copyToDocument(java.lang.String appName, java.lang.String description)
Document
object with the specified new name and
description.
appName
- The Application Name Identifierdescription
- A description for the new document
public void copyToFile(java.lang.String filename, java.lang.String appName, java.lang.String description) throws IGFException
filename
- Output filename (for the local system).appName
- A new name identifier for the copy.description
- A new description for the copy.
IGFException
public void toFile(java.lang.String filename) throws IGFException
filename
- Output filename (for the local system).
IGFException
public IAddInteraction createAddInteractionByRef(java.lang.String name, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createAddInteractionByRef(String,String,String,Collection,Collection,IPolicy)
instead
name
- The name of the interactiondescription
- A description of what the application means by the addattrRefs
- The attributes that are to be added in an add operation.roleRefs
- The roles that may be asserted for the profile to be added.txnPolicy
- The policy that is associated with this interaction
IAddInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IAddInteraction createAddInteractionByRef(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- The name of the interactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A description of what the application means by the addattrRefs
- The attributes that are to be added in an add operation.roleRefs
- The roles that may be asserted for the profile to be added.txnPolicy
- The policy that is associated with this interaction
IAddInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IAddInteraction createAddInteraction(java.lang.String name, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createAddInteraction(String, String, Collection, Collection, IPolicy)
instead
name
- The name of the interactiondescription
- A description of what the application means by the addattrDefs
- The attributes that are to be added in an add operation.roleDefs
- The roles that may be asserted for the profile to be added.txnPolicy
- The policy that is associated with this interaction
IAddInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IAddInteraction createAddInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- The name of the interactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A description of what the application means by the addattrDefs
- The attributes that are to be added in an add operation.roleDefs
- The roles that may be asserted for the profile to be added.txnPolicy
- The policy that is associated with this interaction
IAddInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IFindInteraction createFindInteraction(java.lang.String name, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predicateDefs, java.util.Collection<RoleDef> roleDefs, Filter filter, IPolicy txnPolicy) throws InitializedException, UndefinedException
createFindInteraction(String,String,String,Collection,Collection,Collection,Filter,IPolicy)
instead
name
- The name of the interactiondescription
- A description of why the application is performing the
authenticate.attrDefs
- A Collection of AttributeDef
defining the attributes
that are to be returned.predicateDefs
- A Collection of PredicateDef
objects defining the
predicates that are to be returned.roleDefs
- A Collection of RoleDef
objects defining roles that
are to be returned.filter
- A filter specific enough to match one recordtxnPolicy
- The policy that is associated with this interaction
IFindInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IFindInteraction createFindInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predicateDefs, java.util.Collection<RoleDef> roleDefs, Filter filter, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- The name of the interactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A description of why the application is performing the
authenticate.attrDefs
- A Collection of AttributeDef
defining the attributes
that are to be returned.predicateDefs
- A Collection of PredicateDef
objects defining the
predicates that are to be returned.roleDefs
- A Collection of RoleDef
objects defining roles that
are to be returned.filter
- A filter specific enough to match one recordtxnPolicy
- The policy that is associated with this interaction
IFindInteraction
to perform the add transactions.
InitializedException
UndefinedException
public IReadInteraction createReadInteractionByRef(java.lang.String name, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<PredicateRef> predicateRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createReadInteractionByRef(String,String,String,Collection,Collection,Collection,IPolicy)
instead
name
- The name of the interactiondescription
- A friendly description of why the application is performing
the read.attrRefs
- The attributes that are to be added in an read operation.predicateRefs
- The predicates that are to be tested in the read operation.roleRefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- The policy that is associated with this interaction
IReadInteraction
to perform reads as declared.
InitializedException
UndefinedException
public IReadInteraction createReadInteractionByRef(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<PredicateRef> predicateRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- The name of the interactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly description of why the application is performing
the read.attrRefs
- The attributes that are to be added in an read operation.predicateRefs
- The predicates that are to be tested in the read operation.roleRefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- The policy that is associated with this interaction
IReadInteraction
to perform reads as declared.
InitializedException
UndefinedException
public IReadInteraction createReadInteraction(java.lang.String name, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createReadInteraction(String,String,String,Collection,Collection,Collection,IPolicy)
instead
name
- The name of the interactiondescription
- A friendly description of why the application is performing
the read.attrDefs
- The attributes that are to be added in an read operation.predDefs
- The predicates that are to be tested in the read operation.roleDefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- The policy that is associated with this interaction
IReadInteraction
to perform reads as declared.
InitializedException
UndefinedException
public IReadInteraction createReadInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- The name of the interactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly description of why the application is performing
the read.attrDefs
- The attributes that are to be added in an read operation.predDefs
- The predicates that are to be tested in the read operation.roleDefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- The policy that is associated with this interaction
IReadInteraction
to perform reads as declared.
InitializedException
UndefinedException
public ISearchInteraction createSearchInteraction(java.lang.String name, java.lang.String description, Filter filter, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy, int maxSubjects, int pageSize) throws InitializedException, UndefinedException
createSearchInteraction(String,String,String,Filter,Collection,Collection,Collection,IPolicy,int,int)
instead
name
- A name identifier for the transactiondescription
- A friendly description of the transaction and its intended
function or purpose.filter
- A filters that will be used to match subjects in the attribute
authority(ies).attrDefs
- The attributes that are to be returned in the search
operation.predDefs
- The predicates that are to be returned in the search
operation.roleDefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- Any associated transaction policy.maxSubjects
- The maximum number of subjects to return on a search.pageSize
- The preferred paging size for performance optimization.
ISearchInteraction
to perform searches as declared.
InitializedException
UndefinedException
public ISearchInteraction createSearchInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, Filter filter, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<PredicateDef> predDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy, int maxSubjects, int pageSize) throws InitializedException, UndefinedException
name
- A name identifier for the transactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly description of the transaction and its intended
function or purpose.filter
- A filters that will be used to match subjects in the attribute
authority(ies).attrDefs
- The attributes that are to be returned in the search
operation.predDefs
- The predicates that are to be returned in the search
operation.roleDefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- Any associated transaction policy.maxSubjects
- The maximum number of subjects to return on a search.pageSize
- The preferred paging size for performance optimization.
ISearchInteraction
to perform searches as declared.
InitializedException
UndefinedException
public ISearchInteraction createSearchInteractionByRef(java.lang.String name, java.lang.String description, Filter filter, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<PredicateRef> predRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy, int maxSubjects, int pageSize) throws InitializedException, UndefinedException
createSearchInteractionByRef(String, String, Filter, Collection, Collection, Collection, IPolicy, int, int)
instead
name
- A name identifier for the transactiondescription
- A friendly description of the transaction and its intended
function or purpose.filter
- A filters that will be used to match subjects in the attribute
authority(ies).attrRefs
- The attributes that are to be returned in the search
operation.predRefs
- The predicates that are to be returned in the search
operation.roleRefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- Any associated transaction policymaxSubjects
- The maximum number of subjects to return on a search.pageSize
- The preferred paging size for performance optimization.
ISearchInteraction
to perform searches as declared.
InitializedException
UndefinedException
public ISearchInteraction createSearchInteractionByRef(java.lang.String name, java.lang.String entityName, java.lang.String description, Filter filter, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<PredicateRef> predRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy, int maxSubjects, int pageSize) throws InitializedException, UndefinedException
name
- A name identifier for the transactionentityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly description of the transaction and its intended
function or purpose.filter
- A filters that will be used to match subjects in the attribute
authority(ies).attrRefs
- The attributes that are to be returned in the search
operation.predRefs
- The predicates that are to be returned in the search
operation.roleRefs
- The roles that the interaction is to report on or test for
presence.txnPolicy
- Any associated transaction policymaxSubjects
- The maximum number of subjects to return on a search.pageSize
- The preferred paging size for performance optimization.
ISearchInteraction
to perform searches as declared.
InitializedException
UndefinedException
public IModifyInteraction createModifyInteractionByRef(java.lang.String name, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createModifyInteractionByRef(String,String,String,Collection,Collection,IPolicy)
instead
name
- A name identifier for the transaction.description
- A friendly name describing the transaction's purpose.attrRefs
- The attributes that are modified defined using
AttributeRef
objects.roleRefs
- The roles that may be modified defined using RoleRef
objects.txnPolicy
- Any associated policy relating to the Interaction.
IModifyInteraction
to perform modifies as declared.
InitializedException
UndefinedException
public IModifyInteraction createModifyInteractionByRef(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeRef> attrRefs, java.util.Collection<RoleRef> roleRefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- A name identifier for the transaction.entityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly name describing the transaction's purpose.attrRefs
- The attributes that are modified defined using
AttributeRef
objects.roleRefs
- The roles that may be modified defined using RoleRef
objects.txnPolicy
- Any associated policy relating to the Interaction.
IModifyInteraction
to perform modifies as declared.
InitializedException
UndefinedException
public IModifyInteraction createModifyInteraction(java.lang.String name, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
createModifyInteractionByRef(String, String, Collection, Collection, IPolicy)
instead
name
- A name identifier for the transaction.description
- A friendly name describing the transaction's purpose.attrDefs
- The attributes that are modified.roleDefs
- The roles that may be modified.txnPolicy
- Any associated policy relating to the Interaction.
IModifyInteraction
to perform modifies as declared.
InitializedException
UndefinedException
public IModifyInteraction createModifyInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, java.util.Collection<AttributeDef> attrDefs, java.util.Collection<RoleDef> roleDefs, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- A name identifier for the transaction.entityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly name describing the transaction's purpose.attrDefs
- The attributes that are modified.roleDefs
- The roles that may be modified.txnPolicy
- Any associated policy relating to the Interaction.
IModifyInteraction
to perform modifies as declared.
InitializedException
UndefinedException
public IDeleteInteraction createDeleteInteraction(java.lang.String name, java.lang.String description, IPolicy txnPolicy) throws InitializedException, UndefinedException
createDeleteInteraction(String,String,String,IPolicy)
instead
name
- A name identifier for the transaction.description
- A friendly description describing the intent of the deletion.txnPolicy
- Any associated policy relating to the delete operation.
IDeleteInteraction
to perform deletes as declared.
InitializedException
UndefinedException
public IDeleteInteraction createDeleteInteraction(java.lang.String name, java.lang.String entityName, java.lang.String description, IPolicy txnPolicy) throws InitializedException, UndefinedException
name
- A name identifier for the transaction.entityName
- A space (or tab or newline) separated list of entityNames with
which the Interaction is associated withdescription
- A friendly description describing the intent of the deletion.txnPolicy
- Any associated policy relating to the delete operation.
IDeleteInteraction
to perform deletes as declared.
InitializedException
UndefinedException
public java.util.Collection<IInteraction> getInteractions()
public java.util.Collection<IInteraction> getInteractionsByEntity(java.lang.String entityName)
entityName
- A single name of an entity to return Interactions for.
EntityName may be null or "DEFAULT" in the case of a default
object definition.
public java.util.Collection<java.lang.String> getEntityNames()
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |