mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
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
51 lines
847 B
Java
51 lines
847 B
Java
package org.alfresco.service.cmr.invitation;
|
|
|
|
/**
|
|
* Search criteria for invitation service
|
|
*
|
|
*/
|
|
public interface InvitationSearchCriteria
|
|
{
|
|
/**
|
|
* What type of invitations to search for ?
|
|
*
|
|
*/
|
|
public enum InvitationType
|
|
{
|
|
ALL,
|
|
MODERATED,
|
|
NOMINATED
|
|
}
|
|
|
|
|
|
/**
|
|
* Search by inviter (who started the invitation)
|
|
* @return
|
|
*/
|
|
String getInviter();
|
|
|
|
/**
|
|
* Search by invitee (who is being invited, alfresco userid)
|
|
* @return
|
|
*/
|
|
String getInvitee();
|
|
|
|
/**
|
|
* Search by resource name
|
|
* @return the resource name
|
|
*/
|
|
String getResourceName();
|
|
|
|
/**
|
|
* Search by resource type
|
|
* @return the resource type
|
|
*/
|
|
Invitation.ResourceType getResourceType();
|
|
|
|
/**
|
|
* Do you want to search for moderated, nominated or all invitations ?
|
|
* @return the type to search for.
|
|
*/
|
|
InvitationType getInvitationType();
|
|
}
|