|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.CommunityInformation
com.ibm.ram.client.RAMCommunity
public class RAMCommunity
Represents a Rational Asset Manager community
| Method Summary | |
|---|---|
RAMAction |
getAction()
Set the action to be performed on the session object. |
RAMUser[] |
getAdministrators()
Return the administrators of this community |
java.lang.String |
getDescription()
|
RAMHomepageViewlet |
getHomepageViewlet(java.lang.String id)
Returns a modifiable viewlet from the community home page. |
int |
getId()
|
java.lang.String |
getName()
|
RAMSession |
getSession()
Return the session this type was fetched from. |
boolean |
isDirty()
Returns true if the Object has been modified from the copy on the server |
void |
refresh()
Refresh this communiy with the information on the server. |
void |
setAction(RAMAction action)
Set the action to be performed when passed to RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.UPDATE
RAMAction.DELETE |
void |
setAdministrators(RAMUser[] administrators)
Set the list of administrator for this community. |
void |
setDescription(java.lang.String description)
|
void |
setId(int id)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getId()
throws RAMRuntimeException
getId in class CommunityInformationRAMRuntimeExceptionpublic void setId(int id)
setId in class CommunityInformationid - The database id of the community.
public java.lang.String getName()
throws RAMRuntimeException
getName in class CommunityInformationRAMRuntimeExceptionpublic void setName(java.lang.String name)
setName in class CommunityInformationname - The name of the community.
public java.lang.String getDescription()
throws RAMRuntimeException
getDescription in class CommunityInformationRAMRuntimeExceptionpublic RAMHomepageViewlet getHomepageViewlet(java.lang.String id)
id - public void setDescription(java.lang.String description)
setDescription in class CommunityInformationdescription - The description for the community.public RAMUser[] getAdministrators()
public void setAdministrators(RAMUser[] administrators)
administrators -
public void refresh()
throws RAMRuntimeException
RAMRuntimeExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic RAMSession getSession()
public boolean isDirty()
public RAMAction getAction()
public void setAction(RAMAction action)
RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.UPDATE
RAMAction.DELETE
action -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||