Class NewURIMakerVitro
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.dao.NewURIMakerVitro
-
- All Implemented Interfaces:
NewURIMaker
public class NewURIMakerVitro extends Object implements NewURIMaker
-
-
Constructor Summary
Constructors Constructor Description NewURIMakerVitro(WebappDaoFactory wdf)
-
-
-
Constructor Detail
-
NewURIMakerVitro
public NewURIMakerVitro(WebappDaoFactory wdf)
-
-
Method Detail
-
getUnusedNewURI
public String getUnusedNewURI(String prefixURI) throws InsertException
- Specified by:
getUnusedNewURIin interfaceNewURIMaker- Parameters:
prefixURI- - may be null, the use the default namespace. If it is not null, then it is used as prefix of the new URI, a random integer may be added.- Returns:
- a URI that is not currently in use by the system.
- Throws:
InsertException
-
-