Tabnine Logo
StorageService.getObjectAclImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
getObjectAclImpl
method
in
org.jets3t.service.StorageService

Best Java code snippets using org.jets3t.service.StorageService.getObjectAclImpl (Showing top 2 results out of 315)

origin: net.java.dev.jets3t/jets3t

/**
 * Retrieves the access control settings of an object.
 *
 * This method can be performed by anonymous services, but can only succeed if the
 * object's existing ACL already allows write access by the anonymous user.
 * In general, you can only access the ACL of an object if the ACL already in place
 * for that object allows you to do so.
 *
 * @param bucketName
 * the name of the bucket whose ACL settings will be retrieved (if objectKey is null) or the
 * name of the bucket containing the object whose ACL settings will be retrieved (if objectKey is non-null).
 * @param objectKey
 * if non-null, the key of the object whose ACL settings will be retrieved. Ignored if null.
 * @return
 * the ACL settings of the bucket or object.
 * @throws ServiceException
 */
public AccessControlList getObjectAcl(String bucketName, String objectKey)
  throws ServiceException
{
  return getObjectAclImpl(bucketName, objectKey, null);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Retrieves the access control settings of an object.
 *
 * This method can be performed by anonymous services, but can only succeed if the
 * object's existing ACL already allows write access by the anonymous user.
 * In general, you can only access the ACL of an object if the ACL already in place
 * for that object allows you to do so.
 *
 * @param bucketName
 * the name of the bucket whose ACL settings will be retrieved (if objectKey is null) or the
 * name of the bucket containing the object whose ACL settings will be retrieved (if objectKey is non-null).
 * @param objectKey
 * if non-null, the key of the object whose ACL settings will be retrieved. Ignored if null.
 * @return
 * the ACL settings of the bucket or object.
 * @throws ServiceException
 */
public AccessControlList getObjectAcl(String bucketName, String objectKey)
  throws ServiceException
{
  return getObjectAclImpl(bucketName, objectKey, null);
}
org.jets3t.serviceStorageServicegetObjectAclImpl

Popular methods of StorageService

  • getObject
    Returns an object representing the details and data of an item that meets any given preconditions.Im
  • getObjectDetails
    Returns an object representing the details of an item that meets any given preconditions. The object
  • putObject
    Puts an object inside an existing bucket, creating a new object or overwriting an existing one with
  • assertAuthenticatedConnection
    Throws an exception if this service is anonymous (that is, it was created without an ProviderCredent
  • assertValidBucket
    Throws an exception if a bucket is null or contains a null/empty name.
  • assertValidObject
    Throws an exception if an object is null or contains a null/empty key.
  • copyObject
    Copy an object. You can copy an object within a single bucket or between buckets, and can optionally
  • copyObjectImpl
    Copy an object within your account. Copies within a single bucket or between buckets, and optionally
  • createBucket
    Create a bucket with the Access Control List settings of the bucket object (if any).Caution: Perform
  • createBucketImpl
  • deleteBucketImpl
  • deleteObject
    Deletes an object from a bucket. This method can be performed by anonymous services. Anonymous servi
  • deleteBucketImpl,
  • deleteObject,
  • deleteObjectImpl,
  • getAccountOwnerImpl,
  • getBucket,
  • getBucketAclImpl,
  • getHttpsOnly,
  • getJetS3tProperties,
  • getObjectAcl

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now