mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Minor JavaDoc trimming
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -83,10 +83,8 @@ import org.xml.sax.SAXParseException;
|
||||
*/
|
||||
public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implements AuditModelRegistry
|
||||
{
|
||||
|
||||
/** The name of the global enablement property. */
|
||||
private static final String PROPERTY_AUDIT_ENABLED = "audit.enabled";
|
||||
|
||||
private static final String AUDIT_SCHEMA_LOCATION = "classpath:alfresco/audit/alfresco-audit-3.2.xsd";
|
||||
|
||||
private static final Log logger = LogFactory.getLog(AuditModelRegistryImpl.class);
|
||||
@@ -99,7 +97,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
private final ObjectFactory objectFactory;
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean#afterPropertiesSet()
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception
|
||||
@@ -113,7 +111,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean#getState(boolean)
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
protected synchronized AuditModelRegistryState getState(boolean start)
|
||||
@@ -122,7 +120,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.audit.model.AuditModelRegistry#getAuditApplicationByKey(java.lang.String)
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public AuditApplication getAuditApplicationByKey(String key)
|
||||
{
|
||||
@@ -130,7 +128,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.audit.model.AuditModelRegistry#getAuditApplicationByName(java.lang.String)
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public AuditApplication getAuditApplicationByName(String applicationName)
|
||||
{
|
||||
@@ -138,7 +136,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.audit.model.AuditModelRegistry#getAuditPathMapper()
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public PathMapper getAuditPathMapper()
|
||||
{
|
||||
@@ -146,7 +144,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.audit.model.AuditModelRegistry#loadAuditModels()
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void loadAuditModels()
|
||||
{
|
||||
@@ -173,7 +171,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
*/
|
||||
public class AuditModelRegistryState implements PropertyBackedBeanState
|
||||
{
|
||||
|
||||
/** The audit models. */
|
||||
private final Map<URL, Audit> auditModels;
|
||||
|
||||
@@ -346,8 +343,10 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
{
|
||||
public Void doWork() throws Exception
|
||||
{
|
||||
transactionService.getRetryingTransactionHelper().doInTransaction(loadModelsCallback,
|
||||
transactionService.isReadOnly(), true);
|
||||
transactionService.getRetryingTransactionHelper().doInTransaction(
|
||||
loadModelsCallback,
|
||||
transactionService.isReadOnly(),
|
||||
true);
|
||||
return null;
|
||||
}
|
||||
}, AuthenticationUtil.getSystemUserName());
|
||||
@@ -356,8 +355,8 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
auditPathMapper.lock();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#stop()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void stop()
|
||||
{
|
||||
@@ -605,7 +604,7 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean#createInitialState()
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
protected PropertyBackedBeanState createInitialState() throws IOException
|
||||
@@ -624,9 +623,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Sets the search path for config files.
|
||||
*
|
||||
* @param searchPath
|
||||
* the search path
|
||||
*/
|
||||
public void setSearchPath(String[] searchPath)
|
||||
{
|
||||
@@ -635,9 +631,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Service to ensure DAO calls are transactionally wrapped.
|
||||
*
|
||||
* @param transactionService
|
||||
* the transaction service
|
||||
*/
|
||||
public void setTransactionService(TransactionService transactionService)
|
||||
{
|
||||
@@ -646,9 +639,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Set the DAO used to persisted the registered audit models.
|
||||
*
|
||||
* @param auditDAO
|
||||
* the audit dao
|
||||
*/
|
||||
public void setAuditDAO(AuditDAO auditDAO)
|
||||
{
|
||||
@@ -657,9 +647,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Set the registry of {@link DataExtractor data extractors}.
|
||||
*
|
||||
* @param dataExtractors
|
||||
* the data extractors
|
||||
*/
|
||||
public void setDataExtractors(NamedObjectRegistry<DataExtractor> dataExtractors)
|
||||
{
|
||||
@@ -668,9 +655,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Set the registry of {@link DataGenerator data generators}.
|
||||
*
|
||||
* @param dataGenerators
|
||||
* the data generators
|
||||
*/
|
||||
public void setDataGenerators(NamedObjectRegistry<DataGenerator> dataGenerators)
|
||||
{
|
||||
@@ -680,11 +664,9 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
/**
|
||||
* Unmarshalls the Audit model from the URL.
|
||||
*
|
||||
* @param configUrl
|
||||
* the config url
|
||||
* @return the audit model
|
||||
* @throws AlfrescoRuntimeException
|
||||
* if an IOException occurs
|
||||
* @param configUrl the config url
|
||||
* @return the audit model
|
||||
* @throws AlfrescoRuntimeException if an IOException occurs
|
||||
*/
|
||||
public static Audit unmarshallModel(URL configUrl)
|
||||
{
|
||||
@@ -702,12 +684,6 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
||||
|
||||
/**
|
||||
* Unmarshalls the Audit model from a stream.
|
||||
*
|
||||
* @param is
|
||||
* the is
|
||||
* @param source
|
||||
* the source
|
||||
* @return the audit model
|
||||
*/
|
||||
private static Audit unmarshallModel(InputStream is, final String source)
|
||||
{
|
||||
|
@@ -53,7 +53,7 @@ import org.springframework.util.PropertyPlaceholderHelper;
|
||||
* @author dward
|
||||
*/
|
||||
public abstract class AbstractPropertyBackedBean implements PropertyBackedBean, ApplicationContextAware,
|
||||
ApplicationListener, InitializingBean, DisposableBean, BeanNameAware
|
||||
ApplicationListener<ApplicationEvent>, InitializingBean, DisposableBean, BeanNameAware
|
||||
{
|
||||
|
||||
/** The default final part of an ID. */
|
||||
@@ -215,9 +215,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
return this.state;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void afterPropertiesSet() throws Exception
|
||||
{
|
||||
@@ -250,9 +249,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBean#revert()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized void revert()
|
||||
{
|
||||
@@ -290,9 +288,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBean#getId()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public List<String> getId()
|
||||
{
|
||||
@@ -319,9 +316,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
return this.instancePath;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.beans.factory.DisposableBean#destroy()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void destroy()
|
||||
{
|
||||
@@ -346,28 +342,24 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBean#isUpdateable(java.lang.String)
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean isUpdateable(String name)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBean#getDescription(java.lang.String)
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public String getDescription(String name)
|
||||
{
|
||||
return isUpdateable(name) ? "Editable Property " + name : "Read-only Property " + name;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see
|
||||
* org.springframework.context.ApplicationListener#onApplicationEvent(org.springframework.context.ApplicationEvent)
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void onApplicationEvent(ApplicationEvent event)
|
||||
{
|
||||
@@ -395,9 +387,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#getProperty(java.lang.String)
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized String getProperty(String name)
|
||||
{
|
||||
@@ -405,9 +396,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
return this.state.getProperty(name);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#getPropertyNames()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized Set<String> getPropertyNames()
|
||||
{
|
||||
@@ -415,10 +405,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
return this.state.getPropertyNames();
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#setProperty(java.lang.String,
|
||||
* java.lang.String)
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized void setProperty(String name, String value)
|
||||
{
|
||||
@@ -426,9 +414,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
this.state.setProperty(name, value);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#start()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized void start()
|
||||
{
|
||||
@@ -455,9 +442,8 @@ public abstract class AbstractPropertyBackedBean implements PropertyBackedBean,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.repo.management.subsystems.PropertyBackedBeanState#stop()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void stop()
|
||||
{
|
||||
|
Reference in New Issue
Block a user