Package org.ametys.web.alias
Interface Alias
- All Known Implementing Classes:
 DefaultAlias
public interface Alias
This interface represents a alias
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionGet the creation dateGet the expiration dateGet the target URLgetType()Retrieves the target type.getUrl()Get the origin URLvoidRemove the expiration datevoidsetCreationDate(Date date) Set the creation datevoidsetExpirationDate(Date date) Set the expiration datevoidSet the target URLvoidsetType(Alias.TargetType type) Set the type.voidSet the origin URL 
- 
Method Details
- 
getUrl
Get the origin URL- Returns:
 - the origin URL
 - Throws:
 AmetysRepositoryException- if an error occurs.
 - 
setUrl
Set the origin URL- Parameters:
 url- the origin URL- Throws:
 AmetysRepositoryException- if an error occurs.
 - 
getTarget
Get the target URL- Returns:
 - the target URL
 - Throws:
 AmetysRepositoryException- if an error occurs.
 - 
setTarget
Set the target URL- Parameters:
 url- the target URL- Throws:
 AmetysRepositoryException- if an error occurs.
 - 
getExpirationDate
Get the expiration date- Returns:
 - the expiration date
 - Throws:
 AmetysRepositoryException- if an error occurs.
 - 
setExpirationDate
Set the expiration date- Parameters:
 date- the expiration date- Throws:
 AmetysRepositoryException- if an error occurs.
 - 
removeExpirationDate
Remove the expiration date- Throws:
 AmetysRepositoryException- if an error occurs.
 - 
getType
Retrieves the target type.- Returns:
 - the type.
 - Throws:
 AmetysRepositoryException- if an error occurs.- See Also:
 
 - 
setType
Set the type.- Parameters:
 type- the type.- Throws:
 AmetysRepositoryException- if an error occurs.- See Also:
 
 - 
getCreationDate
Get the creation date- Returns:
 - the creation date
 - Throws:
 AmetysRepositoryException- if an error occurs.
 - 
setCreationDate
Set the creation date- Parameters:
 date- the date to set- Throws:
 AmetysRepositoryException- if an error occurs.
 
 -