Java Code Examples for org.apache.chemistry.opencmis.commons.PropertyIds#SOURCE_ID

The following examples show how to use org.apache.chemistry.opencmis.commons.PropertyIds#SOURCE_ID . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CMISConnector.java    From alfresco-repository with GNU Lesser General Public License v3.0 5 votes vote down vote up
public String getSourceIdProperty(Properties properties)
{
    String id = getIdProperty(properties, PropertyIds.SOURCE_ID);
    if ((id == null) || (id.trim().length() == 0))
    {
        throw new CmisInvalidArgumentException("Property " + PropertyIds.SOURCE_ID + " must be set!");
    }

    return id;
}
 
Example 2
Source File: SourceIdProperty.java    From alfresco-repository with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Construct
 * 
 * @param serviceRegistry ServiceRegistry
 * @param connector CMISConnector
 */
public SourceIdProperty(ServiceRegistry serviceRegistry, CMISConnector connector)
{
    super(serviceRegistry, connector, PropertyIds.SOURCE_ID);
}