|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
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. |
int |
getChildGSCount() THIS API returns the childGS count |
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 |
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() 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 |
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.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 |
isSeeded() This method returns if the Group Space is public or now |
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 MetadataMethod Detail |
---|
public java.lang.String getDisplayName()
getDisplayName
in interface GSMetadata
public java.lang.String getName()
getName
in interface GSMetadata
public java.lang.String getCreatedBy()
getCreatedBy
in interface GSMetadata
public java.lang.String getDescription()
getDescription
in interface GSMetadata
public java.lang.String getIconURI()
getIconURI
in interface GSMetadata
public java.lang.String getKeywords()
getKeywords
in interface GSMetadata
public java.lang.String getLogoURI()
getLogoURI
in interface GSMetadata
public javax.xml.datatype.XMLGregorianCalendar getLastUpdated()
public java.lang.String getMailingList()
getMailingList
in interface GSMetadata
public 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 GSMetadata
public boolean isDiscoverable()
isDiscoverable
in interface GSMetadata
public boolean isPubliclyViewable()
public java.lang.String getGuid()
getGuid
in interface GSMetadata
public java.util.List<java.lang.String> getProvisionedServicesId()
GSMetadata
getProvisionedServicesId
in interface GSMetadata
public GSServiceConfigData getServiceConfigData(java.lang.String serviceId)
GSMetadata
getServiceConfigData
in interface GSMetadata
public boolean isOffline()
GSMetadata
isOffline
in interface GSMetadata
public boolean isClosed()
GSMetadata
isClosed
in interface GSMetadata
public java.util.Calendar getLastUpdatedDate()
GSMetadata
getLastUpdatedDate
in interface GSMetadata
public java.lang.String getGroupSpaceURI()
GSMetadata
getGroupSpaceURI
in interface GSMetadata
public boolean isSelfSubEnabled()
GSMetadata
isSelfSubEnabled
in interface GSMetadata
public java.util.Calendar getCreatedDate()
GSMetadata
getCreatedDate
in interface GSMetadata
@Deprecated
public boolean isPublic()
GSMetadata
isPublic
in interface GSMetadata
public boolean isSeeded()
isSeeded
in interface GSMetadata
public int getChildGSCount()
getChildGSCount
in interface GSMetadata
public int getMemberCount()
getMemberCount
in interface GSMetadata
public java.util.Calendar getLastActivityTime()
getLastActivityTime
in interface GSMetadata
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |