|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.iam.grid.client.staterepos.DataConversationImpl
RemoteResourceProxy
@Deprecated public class DataConversationImpl
The default implementation of DataConversation.
| Field Summary |
|---|
| Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.data.DataStagerResource |
|---|
DATA_RESOURCE_TYPE |
| Constructor Summary | |
|---|---|
DataConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addAccessControlRule(MatchRule rule)
Deprecated. |
void |
addOwnerRule(MatchRule rule)
Deprecated. Adds a rule to the ACL for the 'owner' role. |
void |
addPolicyRule(PolicyRule rule)
Deprecated. Add an access control rule to this resource's dynamic access control policy. |
DataStagerStatus |
checkData()
Deprecated. Reports on the status of the data stager. |
boolean |
checkReadAccess(SubjectDescription user)
Deprecated. Checks if the quoted delegate may read from this data stager. |
boolean |
checkWriteAccess(SubjectDescription user)
Deprecated. Checks if the quoted delegate may write to this data stager |
int |
compareTo(StorableInStateRepository other)
Deprecated. |
void |
copyFrom(DataConversation source)
Deprecated. Copy from another data stager to this one. |
void |
copyFrom(org.apache.axis.message.addressing.EndpointReferenceType source)
Deprecated. Copy data from another data stager. |
void |
copyFromURL(String source)
Deprecated. Copy data from a normal web resource identified by a URL. |
void |
copyTo(DataConversation target)
Deprecated. Copy to another data stager from this one. |
void |
copyTo(org.apache.axis.message.addressing.EndpointReferenceType target)
Deprecated. Copy data to another data stager. |
void |
deleteContents()
Deprecated. Delete data in the staging area. |
void |
destroy()
Deprecated. |
void |
disableR(MatchRule rule)
Deprecated. Disable read for the staging area and a delegate. |
void |
disableW(MatchRule rule)
Deprecated. Disable write for the staging area and a delegate. |
void |
enableR(MatchRule rule)
Deprecated. Enable read for the staging area and a delegate. |
void |
enableW(MatchRule rule)
Deprecated. Enable write for the staging area and a delegate. |
void |
finish()
Deprecated. Indicate that this conversation is no longer required. |
void |
finishData()
Deprecated. Finishes the staging area. |
MatchRule[] |
getAccessControlRules()
Deprecated. |
String[] |
getAvailableSignals()
Deprecated. List the signals which are available given the resource's current state. |
StorableInStateRepository[] |
getChildConversations()
Deprecated. Returns an array of all conversations having this one as a parent. |
String |
getDescription()
Deprecated. Returns a textual description of the object. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEndpointRef()
Deprecated. Return an EndpointReferenceType for this conversation. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEPR()
Deprecated. Get the EPR for this resource. |
Class |
getInterface()
Deprecated. Returns the type of this object. |
MatchRule[] |
getManagerRules()
Deprecated. List the current manager rules. |
MatchRule[] |
getOwnerRules()
Deprecated. List the current owner rules. |
URL |
getParentURL()
Deprecated. Returns the URL of this object's parent. |
PolicyRule[] |
getPolicyRules()
Deprecated. Get the access control rules in this resource's dynamic access control policy. |
MatchRule[] |
getReaderRules()
Deprecated. List the current reader rules. |
StateRepository |
getRepository()
Deprecated. Get the StateRepository holding this object. |
RemoteService |
getService()
Deprecated. Return the conversation's RemoteService. |
URL |
getURL()
Deprecated. Returns the globally unique identifier. |
String[] |
getValidRoles()
Deprecated. List the roles the caller is permitted to see. |
MatchRule[] |
getWriterRules()
Deprecated. List the current writer rules. |
boolean |
isFinished()
Deprecated. Returns true if the finish method has been called. |
void |
outOfDate()
Deprecated. Used by the StateRepository if the server returns new resource with our ID. |
javax.activation.DataHandler |
read()
Deprecated. Read data from the stager. |
void |
read(File file)
Deprecated. Download from the data conversation. |
void |
removeAccessControlRule(MatchRule rule)
Deprecated. |
void |
removeOwnerRule(MatchRule rule)
Deprecated. Removes a rule from the ACL for the 'owner' role. |
void |
removePolicyRule(PolicyRule rule)
Deprecated. Remove an access control rule from this resource's dynamic access control policy. |
void |
save(javax.activation.DataHandler input)
Deprecated. Store data in the stager. |
void |
setDescription(String description)
Deprecated. Change the textual description, as returned by getDescription. |
void |
setLabel(String label)
Deprecated. Change the resource's label. |
String |
signal(String signalName)
Deprecated. Signal an event to the resource's PBAC process. |
void |
writeEnable()
Deprecated. Write enable the staging area. |
void |
writeProtect()
Deprecated. Write protect the staging area. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataConversationImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
public Class getInterface()
StorableInStateRepository
getInterface in interface StorableInStateRepositorypublic void outOfDate()
Conversation
outOfDate in interface Conversationpublic StorableInStateRepository[] getChildConversations()
Conversation
getChildConversations in interface Conversationpublic void finish()
Conversation
Note that this does not close the conversation with the
remote supplier. You should normally call a different method,
such as WSResourceLifetime.destroy().
finish in interface Conversationpublic boolean isFinished()
Conversation
isFinished in interface Conversationpublic URL getURL()
StorableInStateRepository
getURL in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
StorableInStateRepository
getEndpointRef in interface StorableInStateRepositorypublic URL getParentURL()
StorableInStateRepository
getParentURL in interface StorableInStateRepositorypublic String getDescription()
StorableInStateRepository
getDescription in interface StorableInStateRepositorypublic void setDescription(String description)
StorableInStateRepository
setDescription in interface StorableInStateRepositorypublic StateRepository getRepository()
StorableInStateRepository
getRepository in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEPR()
ResourceMetadata
getEPR in interface ResourceMetadatathe label set with {@link setLabel},
a unique type URI,
the state of the resource,
the resource which manages this one (e.g. an SLA manages a job),
the resource which contains this one (e.g. a job service is the parent of a job)
public void save(javax.activation.DataHandler input)
throws RemoteException
DataStagerResource
save in interface DataStagerResourceinput - - data handler for the SOAP attachment
RemoteException
public void copyFrom(DataConversation source)
throws RemoteException
DataConversationDataStagerResource.copyTo(org.apache.axis.message.addressing.EndpointReferenceType) which takes
a DataConversation.
It automatically includes the certificate of the source in the EPR,
allowing transfers between services which don't know each other.
copyFrom in interface DataConversationRemoteException
public void copyFrom(org.apache.axis.message.addressing.EndpointReferenceType source)
throws RemoteException
DataStagerResource
copyFrom in interface DataStagerResourcesource - the data stager from which the data will be fetched
RemoteException
public void copyFromURL(String source)
throws RemoteException
DataStagerResourceDataStagerResource.copyFrom(org.apache.axis.message.addressing.EndpointReferenceType) instead.
copyFromURL in interface DataStagerResourcesource - the source from which the data will be fetched
RemoteException
public void read(File file)
throws RemoteException
DataConversationDataStagerResource.read() which writes
the result to a file.
read in interface DataConversationRemoteException
public javax.activation.DataHandler read()
throws RemoteException
DataStagerResource
read in interface DataStagerResourceRemoteException
public void copyTo(DataConversation target)
throws RemoteException
DataConversationDataStagerResource.copyTo(org.apache.axis.message.addressing.EndpointReferenceType) which takes
a DataConversation.
It automatically includes the certificate of the source in the EPR,
allowing transfers between services which don't know each other.
copyTo in interface DataConversationRemoteException
public void copyTo(org.apache.axis.message.addressing.EndpointReferenceType target)
throws RemoteException
DataStagerResource
copyTo in interface DataStagerResourcetarget - the data stager to which this stager's data will be copied
RemoteException
public DataStagerStatus checkData()
throws RemoteException
DataStagerResource
checkData in interface DataStagerResourceRemoteException
public void writeProtect()
throws RemoteException
DataStagerResource
writeProtect in interface DataStagerResourceRemoteException
public void writeEnable()
throws RemoteException
DataStagerResource
writeEnable in interface DataStagerResourceRemoteExceptionDataStagerResource.writeProtect()
public void finishData()
throws RemoteException
DataStagerResource
finishData in interface DataStagerResourceRemoteException
public void addOwnerRule(MatchRule rule)
throws RemoteException
DataStagerResource
addOwnerRule in interface DataStagerResourcerule - the rule to add
RemoteException
public void removeOwnerRule(MatchRule rule)
throws RemoteException
DataStagerResource
removeOwnerRule in interface DataStagerResourcerule - the rule to add
RemoteException
public void enableR(MatchRule rule)
throws RemoteException
DataStagerResource
enableR in interface DataStagerResourcerule - - delegate user
RemoteException
public void disableR(MatchRule rule)
throws RemoteException
DataStagerResource
disableR in interface DataStagerResourcerule - - delegate user
RemoteException
public void enableW(MatchRule rule)
throws RemoteException
DataStagerResource
enableW in interface DataStagerResourcerule - - delegate user
RemoteException
public void disableW(MatchRule rule)
throws RemoteException
DataStagerResource
disableW in interface DataStagerResourcerule - - delegate user
RemoteException
public MatchRule[] getReaderRules()
throws RemoteException
DataStagerResource
getReaderRules in interface DataStagerResourceRemoteException
public MatchRule[] getWriterRules()
throws RemoteException
DataStagerResource
getWriterRules in interface DataStagerResourceRemoteException
public MatchRule[] getOwnerRules()
throws RemoteException
DataStagerResource
getOwnerRules in interface DataStagerResourceRemoteException
public MatchRule[] getManagerRules()
throws RemoteException
DataStagerResource
getManagerRules in interface DataStagerResourceRemoteException
public void addAccessControlRule(MatchRule rule)
throws RemoteException
RemoteException
public void removeAccessControlRule(MatchRule rule)
throws RemoteException
RemoteException
public MatchRule[] getAccessControlRules()
throws RemoteException
RemoteException
public String[] getValidRoles()
throws RemoteException
PolicyManagementPolicyManagement.getPolicyRules().
getValidRoles in interface PolicyManagementRemoteExceptionPDP.getValidProcessRoles(java.lang.String)
public void deleteContents()
throws RemoteException
DataStagerResource
deleteContents in interface DataStagerResourceRemoteException
public boolean checkReadAccess(SubjectDescription user)
throws RemoteException
DataStagerResource
checkReadAccess in interface DataStagerResourceuser - - delegate user
RemoteException
public boolean checkWriteAccess(SubjectDescription user)
throws RemoteException
DataStagerResource
checkWriteAccess in interface DataStagerResourceuser - - delegate user
RemoteExceptionpublic RemoteService getService()
Conversation
getService in interface Conversationpublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>
public void destroy()
throws RemoteException
destroy in interface WSResourceLifetimeRemoteException
public void addPolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
addPolicyRule in interface PolicyManagementRemoteExceptionPDP.addAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public void removePolicyRule(PolicyRule rule)
throws RemoteException
PolicyManagement
removePolicyRule in interface PolicyManagementRemoteExceptionPDP.removeAccessControlRule(java.lang.String, uk.ac.soton.itinnovation.grid.types.MatchRule)
public PolicyRule[] getPolicyRules()
throws RemoteException
PolicyManagementPolicyManagement.getValidRoles().
getPolicyRules in interface PolicyManagementRemoteExceptionPDP.getAccessControlRules(java.lang.String, java.lang.String)
public void setLabel(String label)
throws RemoteException
ResourceMetadata
setLabel in interface ResourceMetadatalabel - the new label
RemoteException
public String signal(String signalName)
throws RemoteException
Signallable
signal in interface SignallablesignalName - the event causing the transition
RemoteException
public String[] getAvailableSignals()
throws RemoteException
Signallable
getAvailableSignals in interface SignallableRemoteExceptionSignallable.signal(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||