mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
* minor changes
This commit is contained in:
@@ -73,7 +73,7 @@ import org.alfresco.service.cmr.invitation.Invitation.ResourceType;
|
||||
|
||||
private final Date modifiedAt;
|
||||
|
||||
private final Date clientName;
|
||||
private final String clientName;
|
||||
|
||||
public InvitationImpl(Map<String, Serializable> props)
|
||||
{
|
||||
@@ -85,7 +85,7 @@ import org.alfresco.service.cmr.invitation.Invitation.ResourceType;
|
||||
this.resourceType = type==null ? ResourceType.WEB_SITE : ResourceType.valueOf(type);
|
||||
this.createdAt = (Date)props.get(CREATED_AT);
|
||||
this.modifiedAt = (Date)props.get(MODIFIED_AT);
|
||||
this.clientName = (Date)props.get(CLIENT_NAME);
|
||||
this.clientName = (String)props.get(CLIENT_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -127,7 +127,7 @@ import org.alfresco.service.cmr.invitation.Invitation.ResourceType;
|
||||
return inviteeUserName;
|
||||
}
|
||||
|
||||
public Date getClientName()
|
||||
public String getClientName()
|
||||
{
|
||||
return clientName;
|
||||
}
|
||||
|
@@ -97,4 +97,10 @@ public interface Invitation
|
||||
Date getCreatedAt();
|
||||
|
||||
Date getModifiedAt();
|
||||
|
||||
/**
|
||||
* Which client to be sent
|
||||
* @return the clientName
|
||||
*/
|
||||
String getClientName();
|
||||
}
|
||||
|
@@ -1040,6 +1040,7 @@ public abstract class AbstractInvitationServiceImplTest extends BaseAlfrescoSpri
|
||||
assertEquals("comments", comments, invitation.getInviteeComments());
|
||||
assertEquals("resource type name wrong", resourceType, invitation.getResourceType());
|
||||
assertEquals("resource name wrong", resourceName, invitation.getResourceName());
|
||||
assertEquals("client name wrong", "workspace", invitation.getClientName());
|
||||
|
||||
/**
|
||||
* Now we have an invitation get it and check the details have been
|
||||
|
Reference in New Issue
Block a user