mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
MERGE DEV/3.2_INVITATION to HEAD
MOB-124 First cut of invitation service First cut group site membership git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
75
source/java/org/alfresco/repo/invitation/InvitationImpl.java
Normal file
75
source/java/org/alfresco/repo/invitation/InvitationImpl.java
Normal file
@@ -0,0 +1,75 @@
|
||||
package org.alfresco.repo.invitation;
|
||||
|
||||
import org.alfresco.service.cmr.invitation.Invitation;
|
||||
import org.alfresco.service.cmr.invitation.Invitation.ResourceType;
|
||||
|
||||
/* package scope */ abstract class InvitationImpl
|
||||
{
|
||||
/**
|
||||
* Who is this invitation for
|
||||
*/
|
||||
private String inviteeUserName;
|
||||
|
||||
/**
|
||||
* Unique reference for this invitation
|
||||
*/
|
||||
private String inviteId;
|
||||
|
||||
/**
|
||||
* Which resource is this invitation for ?
|
||||
*/
|
||||
private String resourceName;
|
||||
|
||||
/**
|
||||
* What sort of invitation is this invitation for e.g. WEB_SITE or WEB_PROJECT
|
||||
*/
|
||||
private Invitation.ResourceType resourceType;
|
||||
|
||||
|
||||
/**
|
||||
* Create a new InvitationImpl
|
||||
*/
|
||||
public InvitationImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* What sort of resource is it
|
||||
* @return the resource type
|
||||
*/
|
||||
public ResourceType getResourceType()
|
||||
{
|
||||
return resourceType;
|
||||
}
|
||||
|
||||
public void setResourceType(ResourceType resourceType)
|
||||
{
|
||||
this.resourceType = resourceType;
|
||||
}
|
||||
|
||||
public void setInviteeUserName(String inviteeUserName) {
|
||||
this.inviteeUserName = inviteeUserName;
|
||||
}
|
||||
|
||||
public String getInviteeUserName() {
|
||||
return inviteeUserName;
|
||||
}
|
||||
|
||||
public void setInviteId(String inviteId) {
|
||||
this.inviteId = inviteId;
|
||||
}
|
||||
|
||||
public String getInviteId() {
|
||||
return inviteId;
|
||||
}
|
||||
|
||||
public void setResourceName(String resourceName) {
|
||||
this.resourceName = resourceName;
|
||||
}
|
||||
|
||||
public String getResourceName() {
|
||||
return resourceName;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user