Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


oracle.webcenter.spaces.ws.client
Class GroupSpaceWSMetadata

java.lang.Object
  extended by oracle.webcenter.spaces.ws.client.GroupSpaceWSMetadata

All Implemented Interfaces:
java.io.Serializable, oracle.webcenter.spaces.metadata.GSMetadata

public final class GroupSpaceWSMetadata
extends java.lang.Object
implements oracle.webcenter.spaces.metadata.GSMetadata

This class is responsible for providing metadata for given WebCenter Group Space. This class is responsible for providing metadata related to any Group Space. It should be used with GroupSpaceWSClient class methods which return the instance of this class. It is recommended that users should get the instance of this class from the methods of GroupSpaceWSClient. It provides different properties/attributes of Group Spaces like the description of the group space, who created the group space, Icon URL of the group space, Keywords used to denote the group space, mailing list, Group Space Logo, the state of the group space, when the group space was last updated, who all are the members of the group space and any custom attributes defined with the group space. One can get the URL of the group space from class GroupSpaceWSClient

See Also:
Serialized Form

Constructor Summary
GroupSpaceWSMetadata(oracle.webcenter.spaces.internal.ws.client.proxy.types.GsMetadataImpl metadata)
          Constructor of this class..

 

Method Summary
 java.util.List<ServiceMetadata> getAllServiceMetadata()
          Returns the list of all service metadata.
 int getChildGSCount()
          THIS API returns the childGS count
 java.lang.String getCopyRightMessage()
           
 java.lang.String getCreatedBy()
          Returns the creator's name of the Group Space
 java.util.Calendar getCreatedDate()
           
 java.util.List<oracle.webcenter.spaces.metadata.GSCustomAttribute> getCustomAttributes()
          This API returns custom attributes for a current Group Space.
 java.lang.String getDescription()
          Returns the description of the Group Space
 java.lang.String getDisplayName()
          Returns the display name of the Group Space
 java.lang.String getGroupSpaceURI()
           
 java.lang.String getGuid()
          Retruns the GUID of the GS
 java.lang.String getIconURI()
          Returns the location of the group space Icon
 java.lang.String getKeywords()
          Returns the comma separated list of Keywords which define the Group Space
 java.util.Calendar getLastActivityTime()
          THIS API returns the last activity time
 javax.xml.datatype.XMLGregorianCalendar getLastUpdated()
          Returns the last Updated Date of current Group Space in the format of Gregorian Calender
 java.util.Calendar getLastUpdatedDate()
           
 java.lang.String getLogoURI()
          Returns the location of the Logo of the Group Space
 java.lang.String getMailingList()
          Returns the mailing list for the current group space
 int getMemberCount()
          THIS API returns the member count
 java.util.List<GroupSpaceWSMembers> getMembers()
           
 java.lang.String getName()
          Returns the name of the Group Space
 java.lang.String getParentGuid()
           
 java.lang.String getPrivacyURL()
           
 java.util.List<java.lang.String> getProvisionedServicesId()
           
 java.lang.String getSecurityParentGuid()
           
 java.lang.String getSelfRegPage()
           
 java.util.List<java.lang.String> getSelfSubscriptionEnabledRoles()
           
 oracle.webcenter.spaces.metadata.GSServiceConfigData getServiceConfigData(java.lang.String serviceId)
           
 boolean isClosed()
           
 boolean isDiscoverable()
          Returns if the group Is discoverable
 boolean isFooterHidden()
           
 boolean isOffline()
           
 boolean isPublic()
          Deprecated. 
 boolean isPubliclyViewable()
          Returns if the Group Space is Public
 boolean isSeeded()
          This method returns if the Group Space is public or now
 boolean isSelfSubEnabled()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GroupSpaceWSMetadata

public GroupSpaceWSMetadata(oracle.webcenter.spaces.internal.ws.client.proxy.types.GsMetadataImpl metadata)
Constructor of this class.. Throws IllegalArgumentException if parameter is ull or empty
Parameters:
metadata - SpaceType Metadata

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Returns the display name of the Group Space
Specified by:
getDisplayName in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Display Name of the Group Space

getName

public java.lang.String getName()
Returns the name of the Group Space
Specified by:
getName in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Name of the Group Space

getCreatedBy

public java.lang.String getCreatedBy()
Returns the creator's name of the Group Space
Specified by:
getCreatedBy in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
The name of the identity who created the group space

getDescription

public java.lang.String getDescription()
Returns the description of the Group Space
Specified by:
getDescription in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
The description of the group space

getIconURI

public java.lang.String getIconURI()
Returns the location of the group space Icon
Specified by:
getIconURI in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Icon location

getKeywords

public java.lang.String getKeywords()
Returns the comma separated list of Keywords which define the Group Space
Specified by:
getKeywords in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Comma separated list of string i.e. keywords

getLogoURI

public java.lang.String getLogoURI()
Returns the location of the Logo of the Group Space
Specified by:
getLogoURI in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Location of the Group Space Logo

getLastUpdated

public javax.xml.datatype.XMLGregorianCalendar getLastUpdated()
Returns the last Updated Date of current Group Space in the format of Gregorian Calender
Returns:
The Last updated date in Gregorial Calender format

getMailingList

public java.lang.String getMailingList()
Returns the mailing list for the current group space
Specified by:
getMailingList in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Returns the mailing list/distribution list for current Group Space

getMembers

public java.util.List<GroupSpaceWSMembers> getMembers()
Returns:
Returns List<GroupSpaceWSMembers>. Each GroupSpaceWSMembers contains 3 methods, which gives details about the member name,isGroup and their role.

getAllServiceMetadata

public java.util.List<ServiceMetadata> getAllServiceMetadata()
Returns the list of all service metadata. i.e. The service metadata list currently provisioned in Group Space.
Returns:
Returns List<ServiceMetadata>. Each ServiceMetadata contains the service id and the map.

getCustomAttributes

public java.util.List<oracle.webcenter.spaces.metadata.GSCustomAttribute> getCustomAttributes()
This API returns custom attributes for a current Group Space.

Returns custom attributes for given Space name. Each custom a support following attributes: name, description, type, value. CustomAttribute metadata is a bean and users can get the information about the attributes.

Look at the following example:
GroupSpaceWSClient wsClient = GroupSpaceWSClient().getInstance();
GroupSpaceWSMetadata metadata = wsClient.getGroupSpaceMetadata("FinanceProject");
List<CustomMetadata.Attribute> attributes = wsClient.getCustomAttributes();
for(CustomMetadata.Attribute attribute: attributes)
{
System.out.println("Name :" + attribute.getName());
System.out.println("Description :" + attribute.getDescription());
System.out.println("Type :" + attribute.getType());
System.out.println("value.toString() :" + attribute.getValue().toString());
}
This attribute object should be used only at the time of creating the a Group Space

Specified by:
getCustomAttributes in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
Returns the list of custom attribute Beans for current Group Space

isDiscoverable

public boolean isDiscoverable()
Returns if the group Is discoverable
Specified by:
isDiscoverable in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
true if discoverable

isPubliclyViewable

public boolean isPubliclyViewable()
Returns if the Group Space is Public
Returns:
true if public

getGuid

public java.lang.String getGuid()
Retruns the GUID of the GS
Specified by:
getGuid in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:

getProvisionedServicesId

public java.util.List<java.lang.String> getProvisionedServicesId()
Specified by:
getProvisionedServicesId in interface oracle.webcenter.spaces.metadata.GSMetadata

getServiceConfigData

public oracle.webcenter.spaces.metadata.GSServiceConfigData getServiceConfigData(java.lang.String serviceId)
Specified by:
getServiceConfigData in interface oracle.webcenter.spaces.metadata.GSMetadata

isOffline

public boolean isOffline()
Specified by:
isOffline in interface oracle.webcenter.spaces.metadata.GSMetadata

isClosed

public boolean isClosed()
Specified by:
isClosed in interface oracle.webcenter.spaces.metadata.GSMetadata

getLastUpdatedDate

public java.util.Calendar getLastUpdatedDate()
Specified by:
getLastUpdatedDate in interface oracle.webcenter.spaces.metadata.GSMetadata

getGroupSpaceURI

public java.lang.String getGroupSpaceURI()
Specified by:
getGroupSpaceURI in interface oracle.webcenter.spaces.metadata.GSMetadata

isSelfSubEnabled

public boolean isSelfSubEnabled()
Specified by:
isSelfSubEnabled in interface oracle.webcenter.spaces.metadata.GSMetadata

getCreatedDate

public java.util.Calendar getCreatedDate()
Specified by:
getCreatedDate in interface oracle.webcenter.spaces.metadata.GSMetadata

isPublic

@Deprecated
public boolean isPublic()
Deprecated. 
Specified by:
isPublic in interface oracle.webcenter.spaces.metadata.GSMetadata

isSeeded

public boolean isSeeded()
This method returns if the Group Space is public or now
Specified by:
isSeeded in interface oracle.webcenter.spaces.metadata.GSMetadata
Returns:
boolean

getChildGSCount

public int getChildGSCount()
THIS API returns the childGS count
Specified by:
getChildGSCount in interface oracle.webcenter.spaces.metadata.GSMetadata

getMemberCount

public int getMemberCount()
THIS API returns the member count
Specified by:
getMemberCount in interface oracle.webcenter.spaces.metadata.GSMetadata

getLastActivityTime

public java.util.Calendar getLastActivityTime()
THIS API returns the last activity time
Specified by:
getLastActivityTime in interface oracle.webcenter.spaces.metadata.GSMetadata

isFooterHidden

public boolean isFooterHidden()
Specified by:
isFooterHidden in interface oracle.webcenter.spaces.metadata.GSMetadata

getSelfRegPage

public java.lang.String getSelfRegPage()
Specified by:
getSelfRegPage in interface oracle.webcenter.spaces.metadata.GSMetadata

getSelfSubscriptionEnabledRoles

public java.util.List<java.lang.String> getSelfSubscriptionEnabledRoles()
Specified by:
getSelfSubscriptionEnabledRoles in interface oracle.webcenter.spaces.metadata.GSMetadata

getPrivacyURL

public java.lang.String getPrivacyURL()
Specified by:
getPrivacyURL in interface oracle.webcenter.spaces.metadata.GSMetadata

getCopyRightMessage

public java.lang.String getCopyRightMessage()
Specified by:
getCopyRightMessage in interface oracle.webcenter.spaces.metadata.GSMetadata

getParentGuid

public java.lang.String getParentGuid()
Specified by:
getParentGuid in interface oracle.webcenter.spaces.metadata.GSMetadata

getSecurityParentGuid

public java.lang.String getSecurityParentGuid()
Specified by:
getSecurityParentGuid in interface oracle.webcenter.spaces.metadata.GSMetadata

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


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