| |
|
| java.lang.Object transactionsDiscRack.business.disc.DiscImpl
DiscImpl | public class DiscImpl implements Disc(Code) | | Represents a disc.
|
Constructor Summary | |
public | DiscImpl() The public constructor. | protected | DiscImpl(DiscDO theDisc) |
handle | protected String handle(Code) | | The attributes of the disc.
|
isLiked | protected boolean isLiked(Code) | | |
DiscImpl | public DiscImpl()(Code) | | The public constructor.
|
delete | public void delete(DBTransaction transaction) throws TransactionsDiscRackBusinessException, AssertionDataObjectException(Code) | | Deletes the disc from the database.
exception: DiscRackBusinessException - if an error occurs deleting data (usually due to anunderlying data layer error). |
getArtist | public String getArtist()(Code) | | Gets the artist for the disc
the artist. exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
getGenre | public String getGenre()(Code) | | Gets the genre for the disc
the genre. exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
getHandle | public String getHandle()(Code) | | Gets the object id for the disc
the object id. exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
getTitle | public String getTitle()(Code) | | Gets the title for the disc
the title. exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
isLiked | public boolean isLiked()(Code) | | Gets the preference for the disc
true if like the disc, false if not exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
save | public void save(DBTransaction transaction) throws TransactionsDiscRackBusinessException, AssertionDataObjectException(Code) | | Commits all changes to the database.
exception: DiscRackBusinessException - if an error occurs retrieving data (usually due to anunderlying data layer error). |
setArtist | public void setArtist(String artist)(Code) | | Sets the artist for the disc.
Parameters: artist - exception: DiscRackBusinessException - if an error occurs setting the data (usually due to anunderlying data layer error). |
setGenre | public void setGenre(String genre)(Code) | | Sets the genre for the disc.
Parameters: genre - exception: DiscRackBusinessException - if an error occurs setting the data (usually due to anunderlying data layer error). |
setLiked | public void setLiked(boolean isLiked)(Code) | | Sets the preference for the disc.
Parameters: isLiked - exception: DiscRackBusinessException - if an error occurs setting the data (usually due to anunderlying data layer error). |
setOwner | public void setOwner(String ownerHandle)(Code) | | Sets the owner for the disc.
Parameters: owner - exception: DiscRackBusinessException - if an error occurs setting the data (usually due to anunderlying data layer error). |
setTitle | public void setTitle(String title)(Code) | | Sets the title for the disc.
Parameters: title - exception: DiscRackBusinessException - if an error occurs setting the data (usually due to anunderlying data layer error). |
|
|
|