atg.portal.framework
Interface MembershipRequest


public interface MembershipRequest

An interface used to describe a membership request. The properties of this interface return information about a membership request


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String SUBSCRIBE
           
static java.lang.String UNSUBSCRIBE
           
 
Method Summary
 void approve()
          Approve the Membership request
 void deny()
          Deny the Membership request
 java.util.Date getCreationDate()
          Access the creation date
 java.lang.String getId()
          Access the id of the membership request
 java.lang.String getRequestType()
          Access the requestType of the membership request
 User getUser()
          Access the user of the membership request
 void remove()
          Remove the Membership request
 void setRequestType(java.lang.String pRequestType)
          Set the requestType of the membership request
 void setUser(User pUser)
          Set the user of the membership request
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

UNSUBSCRIBE

static final java.lang.String UNSUBSCRIBE
See Also:
Constant Field Values

SUBSCRIBE

static final java.lang.String SUBSCRIBE
See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()
Access the id of the membership request

Returns:
an id

getUser

User getUser()
Access the user of the membership request

Returns:
a user

setUser

void setUser(User pUser)
Set the user of the membership request

Parameters:
a - user

getRequestType

java.lang.String getRequestType()
Access the requestType of the membership request

Returns:
an requestType

setRequestType

void setRequestType(java.lang.String pRequestType)
Set the requestType of the membership request

Parameters:
a - requestType

getCreationDate

java.util.Date getCreationDate()
Access the creation date

Returns:
a date

approve

void approve()
Approve the Membership request


deny

void deny()
Deny the Membership request


remove

void remove()
Remove the Membership request