org.scohen.juploadr.app
Class RescaledImageAttributes
java.lang.Object
org.scohen.juploadr.app.RescaledImageAttributes
- All Implemented Interfaces:
- UploadImage
- public class RescaledImageAttributes
- extends java.lang.Object
- implements UploadImage
- Author:
- steve
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RescaledImageAttributes
public RescaledImageAttributes(UploadImage source)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface UploadImage
- Returns:
- Returns the description.
getImagePath
public java.lang.String getImagePath()
- Specified by:
getImagePath in interface UploadImage
- Returns:
- Returns the imagePath.
getKey
public java.lang.String getKey()
- Specified by:
getKey in interface UploadImage
getState
public int getState()
- Specified by:
getState in interface UploadImage
- Returns:
- Returns the state.
getTags
public java.util.List getTags()
- Specified by:
getTags in interface UploadImage
- Returns:
- Returns the tags.
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface UploadImage
- Returns:
- Returns the title.
hasDescription
public boolean hasDescription()
- Specified by:
hasDescription in interface UploadImage
hashCode
public int hashCode()
hasTags
public boolean hasTags()
- Specified by:
hasTags in interface UploadImage
hasTitle
public boolean hasTitle()
- Specified by:
hasTitle in interface UploadImage
isFamilyViewable
public boolean isFamilyViewable()
- Specified by:
isFamilyViewable in interface UploadImage
- Returns:
- Returns the familyViewable.
isFriendViewable
public boolean isFriendViewable()
- Specified by:
isFriendViewable in interface UploadImage
- Returns:
- Returns the friendViewable.
isPubliclyVisible
public boolean isPubliclyVisible()
- Specified by:
isPubliclyVisible in interface UploadImage
- Returns:
- Returns the publiclyVisible.
setFamilyViewable
public void setFamilyViewable(boolean familyViewable)
- Specified by:
setFamilyViewable in interface UploadImage
- Parameters:
familyViewable - The familyViewable to set.
setFriendViewable
public void setFriendViewable(boolean friendViewable)
- Specified by:
setFriendViewable in interface UploadImage
- Parameters:
friendViewable - The friendViewable to set.
setImagePath
public void setImagePath(java.lang.String imagePath)
- Specified by:
setImagePath in interface UploadImage
- Parameters:
imagePath - The imagePath to set.
setPubliclyVisible
public void setPubliclyVisible(boolean publiclyVisible)
- Specified by:
setPubliclyVisible in interface UploadImage
- Parameters:
publiclyVisible - The publiclyVisible to set.
setState
public void setState(int state)
- Specified by:
setState in interface UploadImage
- Parameters:
state - The state to set.
setTags
public void setTags(java.util.List tags)
- Specified by:
setTags in interface UploadImage
- Parameters:
tags - The tags to set.
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface UploadImage
- Parameters:
title - The title to set.
isRescaled
public boolean isRescaled()
- Specified by:
isRescaled in interface UploadImage
rescale
public void rescale()
- rescales the image if necessary
getRank
public int getRank()
- Specified by:
getRank in interface UploadImage
getRotation
public int getRotation()
- Specified by:
getRotation in interface UploadImage
setRotation
public void setRotation(int rotation)
- Specified by:
setRotation in interface UploadImage
getPhotoId
public java.lang.String getPhotoId()
- Specified by:
getPhotoId in interface UploadImage