MetadataView
Date: 2013-06-18

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.contentmanagement.gcubedocumentlibrary.views
Class MetadataView

    java.lang.Object
      org.gcube.contentmanagement.gcubedocumentlibrary.views.BaseCollectionView<E,P>
          org.gcube.contentmanagement.gcubedocumentlibrary.views.SimpleView<GCubeMetadata,PropertyTypes.MetadataProperty>
              org.gcube.contentmanagement.gcubedocumentlibrary.views.MetadataView

All Implemented Interfaces:
  CollectionView<GCubeMetadata,PropertyTypes.MetadataProperty>

    public class MetadataView

extends SimpleView<GCubeMetadata,PropertyTypes.MetadataProperty>

A `SimpleView` over `GCubeMetadata`s.

Author:
  Fabio Simeoni (University of Strathclyde)

Field Summary
`static java.lang.String` | `PLUGIN`
`static javax.xml.namespace.QName` | `TYPE`

Constructor Summary
`MetadataView()`
`MetadataView(GCUBEScope s)`
`MetadataView(View v)`
`MetadataView(View v, GCUBEScope s)`
`MetadataView(View v, GCUBEScope s, GCUBESecurityManager m)`
`MetadataView(View v, GCUBESecurityManager m)`

Method Summary
`java.util.List<MetadataView>` | `findSimilar()` Returns proxies for all the views that share the same properties as the view associated with this proxy.
`Projection<GCubeMetadata,PropertyTypes.MetadataProperty>` | `projection()` Returns the `Projection` that defines the view.
`javax.xml.namespace.QName` | `type()` Returns the type of the view.

Methods inherited from class org.gcube.contentmanagement.gcubedocumentlibrary.views.SimpleView
`isEditable, isIndexable, isUserCollection, language, schemaName, schemaURI, setEditable, setIndexable, setLanguage, setProjection, setSchemaName, setSchemaURI, setUserCollection`

Methods inherited from class org.gcube.contentmanagement.gcubedocumentlibrary.views.BaseCollectionView
`addProperty, addProperty, cardinality, collectionId, delete, description, id, inner, isBound, lastUpdate, name, properties, publish, publishAndBroadcast, reader, scope, securityManager, setCollectionId, setDescription, setId, setName, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### TYPE

    public static final javax.xml.namespace.QName TYPE

### PLUGIN

    public static final java.lang.String PLUGIN

See Also:
  Constant Field Values

Constructor Detail

### MetadataView

    public MetadataView()

See Also:
  `BaseCollectionView.BaseCollectionView()`

### MetadataView

    public MetadataView(GCUBEScope s)

See Also:
  `BaseCollectionView.BaseCollectionView(GCUBEScope)`

### MetadataView

    public MetadataView(View v)

See Also:
  `BaseCollectionView.BaseCollectionView(View)`

### MetadataView

    public MetadataView(View v,
                        GCUBEScope s)

See Also:
  `BaseCollectionView.BaseCollectionView(View, GCUBEScope)`

### MetadataView

    public MetadataView(View v,
                        GCUBESecurityManager m)

See Also:
  `BaseCollectionView.BaseCollectionView(View, GCUBESecurityManager)`

### MetadataView

    public MetadataView(View v,
                        GCUBEScope s,
                        GCUBESecurityManager m)

See Also:
  `BaseCollectionView.BaseCollectionView(View, GCUBEScope, GCUBESecurityManager)`

Method Detail

### type

    public javax.xml.namespace.QName type()

  Returns the type of the view.

  Specified by:
    `type` in interface `CollectionView<GCubeMetadata,PropertyTypes.MetadataProperty>`
  Overrides:
    `type` in class `BaseCollectionView<GCubeMetadata,PropertyTypes.MetadataProperty>`
  Returns:
    the type.

### projection

    public Projection<GCubeMetadata,PropertyTypes.MetadataProperty> projection()

  Returns the `Projection` that defines the view.

  Returns:
    the projection.

### findSimilar

    public java.util.List<MetadataView> findSimilar()
                                             throws ISException,
                                                    java.lang.Exception

  Returns proxies for all the views that share the same properties as the view associated with this proxy.

  Throws:
    `java.lang.Exception` - if the operation could not be completed due to local errors.
    `ISException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD