@Name(value="userRegistrationActions") @Scope(value=CONVERSATION) public class UserRegistrationActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
comment |
protected ContentViewActions |
contentViewActions |
protected boolean |
copyOwner |
protected DocumentRegistrationInfo |
docinfo |
protected CoreSession |
documentManager |
protected DocumentsListsManager |
documentsListsManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
static String |
MULTIPLE_EMAILS_SEPARATOR |
protected String |
multipleEmails |
protected NavigationContext |
navigationContext |
static String |
REQUEST_DOCUMENT_LIST |
static String |
REQUESTS_DOCUMENT_LIST_CHANGED |
protected ResourcesAccessor |
resourcesAccessor |
protected UserRegistrationInfo |
userinfo |
protected UserManager |
userManager |
protected UserRegistrationService |
userRegistrationService |
static String |
WIDGET_COMPONENT_EMAIL_ID |
Constructor and Description |
---|
UserRegistrationActions() |
public static final String WIDGET_COMPONENT_EMAIL_ID
public static final String MULTIPLE_EMAILS_SEPARATOR
public static final String REQUEST_DOCUMENT_LIST
public static final String REQUESTS_DOCUMENT_LIST_CHANGED
protected UserRegistrationInfo userinfo
protected DocumentRegistrationInfo docinfo
protected String multipleEmails
protected boolean copyOwner
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true, required=false) protected transient org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true) protected transient ResourcesAccessor resourcesAccessor
@In(create=true) protected transient DocumentsListsManager documentsListsManager
@In(create=true) protected transient ContentViewActions contentViewActions
@In(create=true) protected transient UserRegistrationService userRegistrationService
@In(create=true) protected transient UserManager userManager
public UserRegistrationActions()
public UserRegistrationInfo getUserinfo()
public DocumentRegistrationInfo getDocinfo()
public String getComment()
public void setComment(String comment)
public boolean isCopyOwner()
public void setCopyOwner(boolean copyOwner)
public UserRegistrationActions getData()
public String getDocType()
public String getDocType(String name)
public String getValidationBaseUrl(String name)
public String getEnterPasswordUrl(String name)
public String getInvitationLayout(String name)
public String getListingLocalContentView(String name)
public String getMultipleEmails()
public void setMultipleEmails(String multipleEmails)
public String getValidationBaseUrl()
public String getEnterPasswordUrl()
public void acceptRegistrationRequest(DocumentModel request)
public void rejectRegistrationRequest(DocumentModel request)
public void submitUserRegistration(String configurationName)
public void submitMultipleUserRegistration(String configurationName) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
protected javax.mail.internet.InternetAddress[] splitAddresses(String emails) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public void validateMultipleUser(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
public boolean getCanValidate()
protected boolean isDocumentValidable(DocumentModel doc)
public boolean getCanDelete()
protected boolean isDocumentDeletable(DocumentModel doc)
public boolean getCanRevive()
protected boolean isDocumentRevivable(DocumentModel doc)
public void validateUserRegistration()
public void reviveUserRegistration()
public void deleteUserRegistration()
protected void doSubmitUserRegistration(String configurationName)
protected Map<String,Serializable> getAdditionalsParameters()
@Observer(value="documentChanged") public void resetPojos()
@Observer(value="requestDocumentsChanged") public void refreshContentViewCache()
public void validateUsernameEmail(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
Copyright © 2018 Nuxeo. All rights reserved.