@Name(value="errorSeamComponent") @Scope(value=CONVERSATION) public class SeamErrorComponent extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
counter |
protected CoreSession |
documentManager |
Constructor and Description |
---|
SeamErrorComponent() |
Modifier and Type | Method and Description |
---|---|
void |
checkedErrorAfterCreation() |
void |
clearDistributedRollbackEnv() |
void |
clearDummyDoc() |
void |
clearDummyLogEntries() |
protected void |
clearDummyUser() |
protected DocumentModel |
createDummyDoc() |
protected LogEntry |
createDummyLogEntry() |
protected DocumentModel |
createDummyUser() |
protected void |
createNewDocument() |
String |
getCheckedError() |
String |
getCheckedErrorFactoryEvent() |
int |
getCounterValue() |
String |
getSecurityError() |
String |
getSecurityErrorFactoryEvent() |
String |
getUncheckedError() |
String |
getUncheckedErrorFactoryEvent() |
boolean |
isDummyAuditExists() |
boolean |
isDummyDocExists() |
boolean |
isDummyUserExists() |
String |
performCheckedError() |
String |
performConcurrentRequestTimeoutException() |
void |
performDistributedRollback() |
String |
performPureRollback() |
String |
performRecoverableClientException() |
String |
performSecurityError() |
String |
performUncheckedError() |
void |
uncheckedErrorAfterCreation() |
@In(create=true, required=false) protected transient CoreSession documentManager
protected int counter
public SeamErrorComponent()
protected void createNewDocument()
public void checkedErrorAfterCreation()
public void uncheckedErrorAfterCreation()
public String getCheckedError()
public String getUncheckedError()
public String getSecurityError() throws DocumentSecurityException
DocumentSecurityException
@Factory(value="checkedErrorFactoryEvent", scope=EVENT) public String getCheckedErrorFactoryEvent()
@Factory(value="uncheckedErrorFactoryEvent", scope=EVENT) public String getUncheckedErrorFactoryEvent()
@Factory(value="securityErrorFactoryEvent", scope=EVENT) public String getSecurityErrorFactoryEvent() throws DocumentSecurityException
DocumentSecurityException
public String performCheckedError()
public String performUncheckedError()
public String performSecurityError() throws DocumentSecurityException
DocumentSecurityException
public String performRecoverableClientException() throws RecoverableClientException
RecoverableClientException
public String performPureRollback()
public void performDistributedRollback()
public void clearDistributedRollbackEnv()
protected DocumentModel createDummyUser()
protected void clearDummyUser() throws DirectoryException
DirectoryException
@Factory(scope=EVENT) public boolean isDummyUserExists() throws DirectoryException
DirectoryException
protected LogEntry createDummyLogEntry()
public void clearDummyLogEntries()
@Factory(scope=EVENT) public boolean isDummyAuditExists()
protected DocumentModel createDummyDoc()
public void clearDummyDoc()
@Factory(scope=EVENT) public boolean isDummyDocExists()
public String performConcurrentRequestTimeoutException() throws Exception
Exception
public int getCounterValue()
Copyright © 2018 Nuxeo. All rights reserved.