|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.webcenter.spaces.ws.client.GroupSpaceWSMetadata
public final class GroupSpaceWSMetadata
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
| 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. |
java.lang.String |
getCreatedBy()Returns the creator's name of the Group Space |
java.util.Calendar |
getCreatedDate()This method returns the created date |
java.util.List<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()This method returns pretty url of the Group space like spaces/<GSName> |
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 |
javax.xml.datatype.XMLGregorianCalendar |
getLastUpdated()Returns the last Updated Date of current Group Space in the format of Gregorian Calender |
java.util.Calendar |
getLastUpdatedDate()This method returns the last updated date |
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 |
java.util.List<GroupSpaceWSMembers> |
getMembers() |
java.lang.String |
getName()Returns the name of the Group Space |
java.util.List<java.lang.String> |
getProvisionedServicesId()This method returns the list of provisioned services Id |
GSServiceConfigData |
getServiceConfigData(java.lang.String serviceId)This method returns the GSServiceMetadata and GSServiceMetadata.getServiceAttibutes() returns the service attributes |
boolean |
isClosed()This method returns if the Group Space is closed or open |
boolean |
isDiscoverable()Returns if the group Is discoverable |
boolean |
isOffline()This method returns boolean if the Group space is online or offline |
boolean |
isPublic()Deprecated. |
boolean |
isPubliclyViewable()Returns if the Group Space is Public |
boolean |
isSelfSubEnabled()This method returns boolean if the Group space is enabled for self subscription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupSpaceWSMetadata(oracle.webcenter.spaces.internal.ws.client.proxy.types.GsMetadataImpl metadata)
IllegalArgumentException if parameter is ull or empty
metadata - SpaceType Metadata| Method Detail |
|---|
public java.lang.String getDisplayName()
getDisplayName in interface GSMetadatapublic java.lang.String getName()
getName in interface GSMetadatapublic java.lang.String getCreatedBy()
getCreatedBy in interface GSMetadatapublic java.lang.String getDescription()
getDescription in interface GSMetadatapublic java.lang.String getIconURI()
getIconURI in interface GSMetadatapublic java.lang.String getKeywords()
getKeywords in interface GSMetadatapublic java.lang.String getLogoURI()
getLogoURI in interface GSMetadatapublic javax.xml.datatype.XMLGregorianCalendar getLastUpdated()
public java.lang.String getMailingList()
getMailingList in interface GSMetadatapublic java.util.List<GroupSpaceWSMembers> getMembers()
public java.util.List<ServiceMetadata> getAllServiceMetadata()
public java.util.List<GSCustomAttribute> getCustomAttributes()
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(); This attribute object should be used only at the time of creating the a Group Space
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());
}
getCustomAttributes in interface GSMetadatapublic boolean isDiscoverable()
isDiscoverable in interface GSMetadatapublic boolean isPubliclyViewable()
public java.lang.String getGuid()
getGuid in interface GSMetadatapublic java.util.List<java.lang.String> getProvisionedServicesId()
GSMetadatagetProvisionedServicesId in interface GSMetadatapublic GSServiceConfigData getServiceConfigData(java.lang.String serviceId)
GSMetadatagetServiceConfigData in interface GSMetadatapublic boolean isOffline()
GSMetadataisOffline in interface GSMetadatapublic boolean isClosed()
GSMetadataisClosed in interface GSMetadatapublic java.util.Calendar getLastUpdatedDate()
GSMetadatagetLastUpdatedDate in interface GSMetadatapublic java.lang.String getGroupSpaceURI()
GSMetadatagetGroupSpaceURI in interface GSMetadatapublic boolean isSelfSubEnabled()
GSMetadataisSelfSubEnabled in interface GSMetadatapublic java.util.Calendar getCreatedDate()
GSMetadatagetCreatedDate in interface GSMetadata
@Deprecated
public boolean isPublic()
GSMetadataisPublic in interface GSMetadata
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||