Interface Invitation
- All Known Subinterfaces:
ModeratedInvitation,NominatedInvitation
public interface Invitation
The invitation request is a command object for who, needs to be added or removed
from which resource with which attributes.
Invitations are processed by the InvitationService
- Author:
- mrogers
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumWhat type of invitation are we?static enumWhat sort of Resource Web Project, Web Site, Node (Just Web site for now) -
Method Summary
Modifier and TypeMethodDescriptionWhich client to be sentWhat sort of invitation is this ?Who wants to be addedWhat is the unique reference for this invitation ?What is the resource name ?What sort of resource is it, for example a WEB_SITE?Which role to be added with
-
Method Details
-
getResourceType
Invitation.ResourceType getResourceType()What sort of resource is it, for example a WEB_SITE?- Returns:
- the resource type
-
getResourceName
String getResourceName()What is the resource name ?- Returns:
- the name of the resource
-
getInviteId
String getInviteId()What is the unique reference for this invitation ?- Returns:
- the unique reference for this invitation
-
getInvitationType
Invitation.InvitationType getInvitationType()What sort of invitation is this ? -
getInviteeUserName
String getInviteeUserName()Who wants to be added- Returns:
- inviteeUserName
-
getRoleName
String getRoleName()Which role to be added with- Returns:
- the roleName
-
getCreatedAt
Date getCreatedAt() -
getModifiedAt
Date getModifiedAt() -
getClientName
String getClientName()Which client to be sent- Returns:
- the clientName
-