|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.gcubedocumentlibrary.views.Views
public class Views
A set of facilities to discover views of document descriptions in remote collections.
| Constructor Summary | |
|---|---|
Views()
|
|
| Method Summary | ||
|---|---|---|
static java.util.List<? extends CollectionView<?,?>> |
convert(java.util.List<RPDocument> results,
GCUBEScope s,
GCUBESecurityManager m)
Internal method for conversion. |
|
static java.util.List<? extends CollectionView<?,?>> |
find(java.lang.String collectionId)
Returns CollectionViews for a given collection in the current scope. |
|
static java.util.List<? extends CollectionView<?,?>> |
find(java.lang.String collectionId,
GCUBEScope s)
Returns CollectionViews for a given collection in a given GCUBEScope. |
|
static java.util.List<? extends CollectionView<?,?>> |
find(java.lang.String collectionId,
GCUBEScope s,
GCUBESecurityManager m)
Returns CollectionViews for a given collection in a given GCUBEScope and with a given SecurityManager. |
|
static java.util.List<? extends CollectionView<?,?>> |
find(java.lang.String collectionId,
GCUBESecurityManager m)
Returns CollectionViews for a given collection in the current scope and with a given SecurityManager. |
|
static
|
findLike(V view)
|
|
static java.util.List<? extends CollectionView<?,?>> |
listViews()
Returns all available views in the current scope. |
|
static java.util.List<? extends CollectionView<?,?>> |
listViews(GCUBEScope scope)
Returns all available views in a given scope. |
|
static java.util.List<? extends CollectionView<?,?>> |
listViews(GCUBEScope scope,
GCUBESecurityManager securityManager)
Returns all available views for the scope. |
|
static java.util.List<? extends CollectionView<?,?>> |
listViews(GCUBESecurityManager securityManager)
Returns all available views in the current scope. |
|
static void |
registerType(javax.xml.namespace.QName n,
java.lang.Class<? extends CollectionView<?,?>> c)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Views()
| Method Detail |
|---|
public static void registerType(javax.xml.namespace.QName n,
java.lang.Class<? extends CollectionView<?,?>> c)
public static <E extends GCubeElement,P extends Property,V extends CollectionView<E,P>> java.util.List<V> findLike(V view)
throws DiscoveryException,
GCUBEException,
java.lang.Exception
DiscoveryException
GCUBEException
java.lang.Exception
public static java.util.List<? extends CollectionView<?,?>> find(java.lang.String collectionId)
throws ISException,
java.lang.Exception
CollectionViews for a given collection in the current scope.
collectionId - the collection identifier.
Iterator over the document views.
ISException - if the operation could not complete due to resource discovery errors.
java.lang.Exception - the operation could not complete due to local errors.
public static java.util.List<? extends CollectionView<?,?>> find(java.lang.String collectionId,
GCUBEScope s)
throws ISException,
java.lang.Exception
CollectionViews for a given collection in a given GCUBEScope.
collectionId - the collection identifier.s - the scope.
Iterator over the document views.
ISException - if the operation could not complete due to resource discovery errors.
java.lang.Exception - the operation could not complete due to local errors.
public static java.util.List<? extends CollectionView<?,?>> find(java.lang.String collectionId,
GCUBESecurityManager m)
throws ISException,
java.lang.Exception
CollectionViews for a given collection in the current scope and with a given SecurityManager.
collectionId - the collection identifier.m - the security manager.
Iterator over the document views.
ISException - if the operation could not complete due to resource discovery errors.
java.lang.Exception - the operation could not complete due to local errors.
public static java.util.List<? extends CollectionView<?,?>> find(java.lang.String collectionId,
GCUBEScope s,
GCUBESecurityManager m)
throws ISException,
java.lang.Exception
CollectionViews for a given collection in a given GCUBEScope and with a given SecurityManager.
collectionId - the collection identifier.s - the scope.m - the security manager.
Iterator over the document views.
ISException - if the operation could not complete due to resource discovery errors.
java.lang.Exception - the operation could not complete due to local errors.
public static java.util.List<? extends CollectionView<?,?>> listViews()
throws java.lang.Exception
scope - the working scope.
java.lang.Exception - if an error occurs during the retrieving.
public static java.util.List<? extends CollectionView<?,?>> listViews(GCUBEScope scope)
throws java.lang.Exception
scope - the scope.
java.lang.Exception - if an error occurs during the retrieving.
public static java.util.List<? extends CollectionView<?,?>> listViews(GCUBESecurityManager securityManager)
throws java.lang.Exception
scope - the working scope.securityManager - the security manager.
java.lang.Exception - if an error occurs during the retrieving.
public static java.util.List<? extends CollectionView<?,?>> listViews(GCUBEScope scope,
GCUBESecurityManager securityManager)
throws java.lang.Exception
scope - the working scope.securityManager - the security manager.
java.lang.Exception - if an error occurs during the retrieving.
public static java.util.List<? extends CollectionView<?,?>> convert(java.util.List<RPDocument> results,
GCUBEScope s,
GCUBESecurityManager m)
throws javax.xml.bind.JAXBException
results - the IS result set.s - the working scope.m - the security manager.
javax.xml.bind.JAXBException - if an error occurs during the conversion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||