org.soyatec.windowsazure.blob
Interface IBlobConstraints


public interface IBlobConstraints

The BlobConstraints class specifies constraints for blob that are used in the BlobContainer class.


Method Summary
 java.util.List<org.apache.http.message.BasicHeader> getConstraints()
          Gets all the blob constraints.
 IBlobConstraints isDestinationMatch(java.lang.String etag)
          Gets a new blob constraints to specifies the matching destination objects.
 IBlobConstraints isDestinationModifiedSince(java.sql.Timestamp time)
          Gets a new blob constraints to specifies the modification time for destination object.
 IBlobConstraints isDestinationNoneMatch(java.lang.String etag)
          Gets a new blob constraints to specifies the unmatching destination objects.
 IBlobConstraints isDestinationUnmodifiedSince(java.sql.Timestamp time)
          Gets a new blob constraints to specifies the unmodification time for destination object.
 IBlobConstraints isSourceMatch(java.lang.String etag)
          Gets a new blob constraints to specifies the matching resource objects.
 IBlobConstraints isSourceModifiedSince(java.sql.Timestamp time)
          Gets a new blob constraints to specifies the modification time for resource objects.
 IBlobConstraints isSourceNoneMatch(java.lang.String etag)
          Gets a new blob constraints to specifies the unmatching resource objects.
 IBlobConstraints isSourceUnmodifiedSince(java.sql.Timestamp time)
          Gets a new blob constraints to specifies the unmodification time for resource objects.
 void setConstraints(java.util.List<org.apache.http.message.BasicHeader> constraints)
          Sets the blob constraints.
 

Method Detail

getConstraints

java.util.List<org.apache.http.message.BasicHeader> getConstraints()
Gets all the blob constraints.

Returns:
Constraint list.

setConstraints

void setConstraints(java.util.List<org.apache.http.message.BasicHeader> constraints)
Sets the blob constraints.

Parameters:
constraints - Constraint list

isSourceModifiedSince

IBlobConstraints isSourceModifiedSince(java.sql.Timestamp time)
Gets a new blob constraints to specifies the modification time for resource objects.

Parameters:
time - The timestamp to specifies after what time the source is modified.
Returns:
BlobConstraints

isSourceUnmodifiedSince

IBlobConstraints isSourceUnmodifiedSince(java.sql.Timestamp time)
Gets a new blob constraints to specifies the unmodification time for resource objects.

Parameters:
time - The timestamp to specifies after what time the source is not modified.
Returns:
BlobConstraints

isSourceMatch

IBlobConstraints isSourceMatch(java.lang.String etag)
Gets a new blob constraints to specifies the matching resource objects.

Parameters:
etag - the matched etag.
Returns:
BlobConstraints

isSourceNoneMatch

IBlobConstraints isSourceNoneMatch(java.lang.String etag)
Gets a new blob constraints to specifies the unmatching resource objects.

Parameters:
etag - the unmatched etag.
Returns:
BlobConstraints

isDestinationModifiedSince

IBlobConstraints isDestinationModifiedSince(java.sql.Timestamp time)
Gets a new blob constraints to specifies the modification time for destination object.

Parameters:
time - The timestamp to specifies after what time the destination is modified.
Returns:
BlobConstraints

isDestinationUnmodifiedSince

IBlobConstraints isDestinationUnmodifiedSince(java.sql.Timestamp time)
Gets a new blob constraints to specifies the unmodification time for destination object.

Parameters:
time - The timestamp to specifies after what time the destination is not modified.
Returns:
BlobConstraints

isDestinationMatch

IBlobConstraints isDestinationMatch(java.lang.String etag)
Gets a new blob constraints to specifies the matching destination objects.

Parameters:
etag - the matched etag.
Returns:
BlobConstraints

isDestinationNoneMatch

IBlobConstraints isDestinationNoneMatch(java.lang.String etag)
Gets a new blob constraints to specifies the unmatching destination objects.

Parameters:
etag - the matched etag.
Returns:
BlobConstraints