public interface Alias
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Alias.TargetType
Type of a target. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Date | 
getCreationDate()
Get the creation date 
 | 
Date | 
getExpirationDate()
Get the expiration date 
 | 
String | 
getTarget()
Get the target URL 
 | 
Alias.TargetType | 
getType()
Retrieves the target type. 
 | 
String | 
getUrl()
Get the origin URL 
 | 
void | 
removeExpirationDate()
Remove the expiration date 
 | 
void | 
setCreationDate(Date date)
Set the creation date 
 | 
void | 
setExpirationDate(Date date)
Set the expiration date 
 | 
void | 
setTarget(String url)
Set the target URL 
 | 
void | 
setType(Alias.TargetType type)
Set the type. 
 | 
void | 
setUrl(String url)
Set the origin URL 
 | 
String getUrl() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setUrl(String url) throws AmetysRepositoryException
url - the origin URLAmetysRepositoryException - if an error occurs.String getTarget() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setTarget(String url) throws AmetysRepositoryException
url - the target URLAmetysRepositoryException - if an error occurs.Date getExpirationDate() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setExpirationDate(Date date) throws AmetysRepositoryException
date - the expiration dateAmetysRepositoryException - if an error occurs.void removeExpirationDate() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Alias.TargetType getType() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Alias.TargetTypevoid setType(Alias.TargetType type) throws AmetysRepositoryException
type - the type.AmetysRepositoryException - if an error occurs.Alias.TargetTypeDate getCreationDate() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setCreationDate(Date date) throws AmetysRepositoryException
date - the date to setAmetysRepositoryException - if an error occurs.