Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.webcenter.doclib.view
Interface DocumentsServiceBean


public interface DocumentsServiceBean

Managed bean used to provide information from the documents service. This bean is EL accessible as #{documentsService}.

Since:
11.1.1.4.0

Method Summary
 java.util.List<RepositoryInfo> getConnectionsList()
          Gets a list of available content repository connections
 GroupSpaceDocumentsInfo getCurrentGroupSpace()
          Provides information on the current group space documents.
Available in WebCenter Spaces only.
EL: #{documentsService.currentGroupSpace}
 PersonalSpaceDocumentsInfo getCurrentUser()
          Provides information on the current user's documents.
Available in WebCenter Spaces only.
EL: #{documentsService.currentUser}
 java.lang.String getDefaultConnectionName()
          Gets the default content repository connection name.
 java.util.Map<java.lang.String,GroupSpaceDocumentsInfo> getGroupSpaceByGUID()
          Provides a way to lookup group space documents information by group space GUID.
Available in WebCenter Spaces only.
EL: #{documentsService.groupSpaceByGUID['s5dd6d6b3_7f5f_4f1c_8ee6_ce305469f1b3']}
 java.util.Map<java.lang.String,GroupSpaceDocumentsInfo> getGroupSpaceByName()
          Provides a way to lookup group space documents information by group space name.
Available in WebCenter Spaces only.
EL: #{documentsService.groupSpaceByName['myGS']}
 java.util.Map<java.lang.String,PersonalSpaceDocumentsInfo> getUserByName()
          Provides a way to lookup user documents information by user name GUID.
Available in WebCenter Spaces only.
EL: #{documentsService.userByName['weblogic']}
 boolean isConfigured()
          Checks whether the Documents Service is configured
EL: #{documentsService.configured}

 

Method Detail

getDefaultConnectionName

java.lang.String getDefaultConnectionName()
Gets the default content repository connection name.
EL: #{documentsService.defaultConnectionName}
Returns:
The default connection name, or null if no default connection is defined.

getConnectionsList

java.util.List<RepositoryInfo> getConnectionsList()
Gets a list of available content repository connections
Returns:
The list of available content repository connections

isConfigured

boolean isConfigured()
Checks whether the Documents Service is configured
EL: #{documentsService.configured}
Returns:
true if the Documents Service is configured, otherwise false.

getCurrentGroupSpace

GroupSpaceDocumentsInfo getCurrentGroupSpace()
Provides information on the current group space documents.
Available in WebCenter Spaces only.
EL: #{documentsService.currentGroupSpace}
Returns:
a bean providing access to documents related information for the group space

getGroupSpaceByName

java.util.Map<java.lang.String,GroupSpaceDocumentsInfo> getGroupSpaceByName()
Provides a way to lookup group space documents information by group space name.
Available in WebCenter Spaces only.
EL: #{documentsService.groupSpaceByName['myGS']}
Returns:
a bean providing access to documents related information for the group space

getGroupSpaceByGUID

java.util.Map<java.lang.String,GroupSpaceDocumentsInfo> getGroupSpaceByGUID()
Provides a way to lookup group space documents information by group space GUID.
Available in WebCenter Spaces only.
EL: #{documentsService.groupSpaceByGUID['s5dd6d6b3_7f5f_4f1c_8ee6_ce305469f1b3']}
Returns:
a bean providing access to documents related information for the group space

getCurrentUser

PersonalSpaceDocumentsInfo getCurrentUser()
Provides information on the current user's documents.
Available in WebCenter Spaces only.
EL: #{documentsService.currentUser}
Returns:
a bean providing access to documents related information for the user

getUserByName

java.util.Map<java.lang.String,PersonalSpaceDocumentsInfo> getUserByName()
Provides a way to lookup user documents information by user name GUID.
Available in WebCenter Spaces only.
EL: #{documentsService.userByName['weblogic']}
Returns:
a bean providing access to documents related information for the user

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.